pkgsrc/sysutils/entr/Makefile
leot 41e92439f0 entr: Update to 4.6
pkgsrc changes:
 - Remove patch-entr.c that was shared and applied upstream

Changes:
4.6
---
 - Always call waitpid(2) to avoid dead processes
 - Duplicate STDIN file descriptor before closing; for the '-r' option
2020-10-09 15:21:24 +00:00

35 lines
862 B
Makefile

# $NetBSD: Makefile,v 1.17 2020/10/09 15:21:24 leot Exp $
#
DISTNAME= entr-4.6
CATEGORIES= sysutils
MASTER_SITES= http://eradman.com/entrproject/code/
MAINTAINER= leot@NetBSD.org
HOMEPAGE= http://eradman.com/entrproject/
COMMENT= Run arbitrary commands when files change
LICENSE= isc AND 2-clause-bsd
MAKE_ENV+= MANPREFIX="${PREFIX}/${PKGMANDIR}"
.include "../../mk/bsd.prefs.mk"
# Needs kqueue(2) or inotify(7)
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "Bitrig" || ${OPSYS} == "DragonFly"
MAKE_FILE= Makefile.bsd
.elif ${OPSYS} == "Darwin"
MAKE_FILE= Makefile.macos
.elif ${OPSYS} == "Linux"
MAKE_FILE= Makefile.linux
.else
NOT_FOR_PLATFORM= ${MACHINE_PLATFORM}
.endif
TEST_TARGET= test
USE_TOOLS+= bash:test
CHECK_PORTABILITY_SKIP+= system_test.sh
.if ${PKGSRC_RUN_TEST:tl} == yes
REPLACE_BASH+= system_test.sh
.endif
.include "../../mk/bsd.pkg.mk"