forked from Lainports/freebsd-ports
Fix build on arm/arm64: Don't use char to store the return value of getopt_long, use int instead. ChangeLog: https://github.com/faelys/filewatcherd/releases/tag/1.0 See also: https://github.com/faelys/filewatcherd/issues/5 PR: 268793 MFH: 2023Q1 (build fixes)
30 lines
794 B
Makefile
30 lines
794 B
Makefile
PORTNAME= filewatcherd
|
|
DISTVERSION= 1.0
|
|
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 \
|
|
man/man5/watchtab.5.gz \
|
|
man/man8/filewatcherd.8.gz \
|
|
sbin/filewatcherd
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/filewatcherd ${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/filewatcherd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
|
|
${INSTALL_MAN} ${WRKSRC}/watchtab.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
|
|
${INSTALL_DATA} ${FILESDIR}/watchtab.sample ${STAGEDIR}${PREFIX}/etc
|
|
|
|
.include <bsd.port.mk>
|