aboutsummaryrefslogtreecommitdiff
path: root/sysutils/djmount/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-11-01 22:53:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-11-01 22:53:45 +0000
commit07f64d0350ac315bbab7f6ef7361b614c89e1471 (patch)
tree0484329730b36c229562edc3f166c881584b6250 /sysutils/djmount/Makefile
parent0fdde351725ece5ab5324bb96af83f91c5946fb9 (diff)
Notes
Diffstat (limited to 'sysutils/djmount/Makefile')
-rw-r--r--sysutils/djmount/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/sysutils/djmount/Makefile b/sysutils/djmount/Makefile
new file mode 100644
index 000000000000..5bd801c3afd4
--- /dev/null
+++ b/sysutils/djmount/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: djmount
+# Date created: 15 October 2008
+# Whom: Eric L. Chen <d9364104@mail.nchu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= djmount
+PORTVERSION= 0.71
+CATEGORIES= sysutils
+MASTER_SITES= SF
+
+MAINTAINER= d9364104@mail.nchu.edu.tw
+COMMENT= Mount UPnP A/V Media
+
+LIB_DEPENDS= fuse.2:${PORTSDIR}/sysutils/fusefs-libs \
+ upnp.3:${PORTSDIR}/devel/upnp
+BUILD_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
+RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
+
+PLIST_FILES= bin/${PORTNAME}
+GNU_CONFIGURE= yes
+USE_GNOME= pkgconfig
+CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
+ --with-fuse-prefix=${LOCALBASE} \
+ --with-external-libupnp --with-libupnp-prefix=${LOCALBASE}
+
+PORTDOCS= AUTHORS ChangeLog NEWS README TODO
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600000
+IGNORE= depends on kernel module that requires FreeBSD 6 or later
+.endif
+
+post-install:
+.ifndef NOPORTDOCS
+ @${INSTALL} -d ${DOCSDIR}/
+ @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+.endif
+
+.include <bsd.port.post.mk>