summaryrefslogtreecommitdiff
path: root/devel/ivykis
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ivykis')
-rw-r--r--devel/ivykis/Makefile10
-rw-r--r--devel/ivykis/pkg-plist4
2 files changed, 12 insertions, 2 deletions
diff --git a/devel/ivykis/Makefile b/devel/ivykis/Makefile
index b59277f22da8..30b04b9b9f5a 100644
--- a/devel/ivykis/Makefile
+++ b/devel/ivykis/Makefile
@@ -1,6 +1,7 @@
PORTNAME= ivykis
DISTVERSIONPREFIX= v
DISTVERSION= 0.43.2
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= cy@FreeBSD.org
@@ -21,7 +22,14 @@ GH_ACCOUNT= buytenh
INSTALL_TARGET= install-strip
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 1500050
+PLIST_SUB+= INOTIFY=""
+.else
+PLIST_SUB+= INOTIFY="@comment "
post-patch:
${REINPLACE_CMD} -e '/iv_inotify/d' ${WRKSRC}/libivykis.posix.ver
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/ivykis/pkg-plist b/devel/ivykis/pkg-plist
index 445a030b7671..8e2303c9cd92 100644
--- a/devel/ivykis/pkg-plist
+++ b/devel/ivykis/pkg-plist
@@ -1,8 +1,9 @@
include/iv.h
include/iv_avl.h
-include/iv_event.h
include/iv_event_raw.h
+include/iv_event.h
include/iv_fd_pump.h
+%%INOTIFY%%include/iv_inotify.h
include/iv_list.h
include/iv_popen.h
include/iv_signal.h
@@ -50,6 +51,7 @@ share/man/man3/iv_fd_unregister.3.gz
share/man/man3/iv_init.3.gz
share/man/man3/iv_inited.3.gz
share/man/man3/iv_invalidate_now.3.gz
+%%INOTIFY%%share/man/man3/iv_inotify.3.gz
share/man/man3/iv_main.3.gz
share/man/man3/iv_popen.3.gz
share/man/man3/iv_popen_request_close.3.gz