blob: 564ef16ab1a7641eee98931a0df4390e7afdadd8 (
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
34
35
|
# $NetBSD: Makefile,v 1.21 2022/01/08 15:41:31 leot Exp $
#
DISTNAME= entr-5.1
CATEGORIES= sysutils
MASTER_SITES= https://eradman.com/entrproject/code/
MAINTAINER= leot@NetBSD.org
HOMEPAGE= https://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"
|