summaryrefslogtreecommitdiff
path: root/sysutils/snooze/Makefile
blob: 863e3025c234decb3cd1b892d7a5d563f6866160 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

PORTNAME=	snooze
DISTVERSIONPREFIX=	v
DISTVERSION=	0.5
CATEGORIES=	sysutils

MAINTAINER=	krion@FreeBSD.org
COMMENT=	Run a command at a particular time

LICENSE=	CC0-1.0

USE_GITHUB=	yes
GH_ACCOUNT=	leahneukirchen

MAKE_ARGS=	CFLAGS="${CFLAGS}" \
		MANDIR="${PREFIX}/man" \
		PREFIX="${PREFIX}"

PLIST_FILES=	bin/snooze \
		man/man1/snooze.1.gz
PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/snooze

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/README.md \
		${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>