summaryrefslogtreecommitdiff
path: root/sysutils/filewatcherd/Makefile
blob: 52946a97bf242f33741f390220f9e8fe6606701a (plain) (blame)
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
PORTNAME=	filewatcherd
DISTVERSION=	1.0
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	sysutils

MAINTAINER=	natbsd@instinctive.eu
COMMENT=	Daemon that watches files and runs commands when they change
WWW=		https://github.com/faelys/filewatcherd/

LICENSE=	ISCL
LICENSE_FILE=	${WRKSRC}/LICENSE

USE_GITHUB=	yes
GH_ACCOUNT=	faelys

USE_RC_SUBR=	filewatcherd

SUB_FILES=	pkg-message
PLIST_FILES=	etc/watchtab.sample \
		share/man/man5/watchtab.5.gz \
		share/man/man8/filewatcherd.8.gz \
		sbin/filewatcherd

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/filewatcherd ${STAGEDIR}${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/filewatcherd.8 ${STAGEDIR}${PREFIX}/share/man/man8
	${INSTALL_MAN} ${WRKSRC}/watchtab.5 ${STAGEDIR}${PREFIX}/share/man/man5
	${INSTALL_DATA} ${FILESDIR}/watchtab.sample ${STAGEDIR}${PREFIX}/etc

.include <bsd.port.mk>