blob: 366ae2d4534937680f4a6a440481eb4cf3cf208d (
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.22 2022/07/23 15:42:14 leot Exp $
#
DISTNAME= entr-5.2
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"
|