aboutsummaryrefslogtreecommitdiffstats
path: root/net/minidlna/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/minidlna/Makefile')
-rw-r--r--net/minidlna/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/net/minidlna/Makefile b/net/minidlna/Makefile
index fa8779c719c9..d23d0a1cb1df 100644
--- a/net/minidlna/Makefile
+++ b/net/minidlna/Makefile
@@ -3,7 +3,7 @@
PORTNAME= minidlna
PORTVERSION= 1.1.1
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= net multimedia www
MASTER_SITES= SF
@@ -37,11 +37,19 @@ SUB_LIST+= USER=${USERS}
USERS= dlna
GROUPS= dlna
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= KQUEUE NLS
+OPTIONS_DEFAULT=KQUEUE
OPTIONS_SUB= yes
+KQUEUE_DESC= Experimental patch for automatic rescan using kqueue(2)
NLS_USES= gettext
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MKQUEUE}
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-kqueue
+.endif
+
post-install:
${INSTALL_MAN} ${WRKSRC}/*.5 ${STAGEDIR}${MANPREFIX}/man/man5/
${INSTALL_MAN} ${WRKSRC}/*.8 ${STAGEDIR}${MANPREFIX}/man/man8/