aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dwatch-gource/Makefile
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2018-06-02 05:25:06 +0800
committerdteske <dteske@FreeBSD.org>2018-06-02 05:25:06 +0800
commit5fff73e56242df923eddde29987aa5798d45599a (patch)
tree0617e1714d89d6aff5df767172a6f44c7e9ece81 /sysutils/dwatch-gource/Makefile
parent628dc1a64ab9e26b57cfaf45cd18b9030f40da64 (diff)
downloadfreebsd-ports-gnome-5fff73e56242df923eddde29987aa5798d45599a.tar.gz
freebsd-ports-gnome-5fff73e56242df923eddde29987aa5798d45599a.tar.zst
freebsd-ports-gnome-5fff73e56242df923eddde29987aa5798d45599a.zip
sysutils/dwatch-*: IGNORE if missing FreeBSD dwatch(1)
sysutils/dwatch-{gource,pwsnoop} require dwatch(1) in FreeBSD base. Reviewed by: mat (mentor) Approved by: mat (mentor) Sponsored by: Smule, Inc. Differential Revision: https://reviews.freebsd.org/D15621
Diffstat (limited to 'sysutils/dwatch-gource/Makefile')
-rw-r--r--sysutils/dwatch-gource/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysutils/dwatch-gource/Makefile b/sysutils/dwatch-gource/Makefile
index 87cef0018b2b..e67e8d0e1f37 100644
--- a/sysutils/dwatch-gource/Makefile
+++ b/sysutils/dwatch-gource/Makefile
@@ -19,6 +19,12 @@ PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 1101516 || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200065)
+IGNORE= requires dwatch available in recent FreeBSD 11 or 12
+.endif
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gwatch ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/dwatch