7b0f4c726c
Changes: == 3.7: February 27, 2017 - Terminate subprocess in restart mode if a file under watch disappears - Allow NOTE_ATTRIB to set '/_' only if file mode changes - New '-s' option executes commands using $SHELL -c - Print usage and exit if input is from a terminal instead of a pipe
32 lines
755 B
Makefile
32 lines
755 B
Makefile
# $NetBSD: Makefile,v 1.7 2017/02/28 22:50:07 leot Exp $
|
|
#
|
|
|
|
DISTNAME= entr-3.7
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://entrproject.org/code/
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
HOMEPAGE= http://entrproject.org/
|
|
COMMENT= Run arbitrary commands when files change
|
|
LICENSE= isc AND 2-clause-bsd
|
|
|
|
WRKSRC= ${WRKDIR}/eradman-entr-c5b62bde107d
|
|
|
|
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
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|