aboutsummaryrefslogtreecommitdiff
path: root/net/minidlna/Makefile
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2013-05-04 17:51:27 +0000
committerChris Rees <crees@FreeBSD.org>2013-05-04 17:51:27 +0000
commita12910c787da30ea08a770387278a96c73c5cce9 (patch)
treeab005cd4ce8770dbcd4e197cbed096de9440403e /net/minidlna/Makefile
parentc8aa128bfced056c6c6ce5c2f47db173c6ce6d6b (diff)
downloadports-a12910c787da30ea08a770387278a96c73c5cce9.tar.gz
ports-a12910c787da30ea08a770387278a96c73c5cce9.zip
Notes
Diffstat (limited to 'net/minidlna/Makefile')
-rw-r--r--net/minidlna/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/minidlna/Makefile b/net/minidlna/Makefile
index dad4620af816..4b58c294c0de 100644
--- a/net/minidlna/Makefile
+++ b/net/minidlna/Makefile
@@ -3,6 +3,7 @@
PORTNAME= minidlna
PORTVERSION= 1.0.25
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net multimedia www
MASTER_SITES= SF
@@ -33,6 +34,16 @@ SUB_LIST+= USER=${USERS}
USERS= dlna
GROUPS= dlna
+.include <bsd.port.options.mk>
+
+do-configure:
+.if ${PORT_OPTIONS:MNLS}
+ ${CP} ${FILESDIR}/config.h.in ${WRKSRC}/config.h
+.else
+ ${SED} 's,^#define HAVE_ICONV_H,/* & */,' ${FILESDIR}/config.h.in > \
+ ${WRKSRC}/config.h
+.endif
+
post-install:
${FMT} ${PKGMESSAGE}