aboutsummaryrefslogtreecommitdiffstats
path: root/net/xnap/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-11-20 08:07:05 +0800
committerlioux <lioux@FreeBSD.org>2001-11-20 08:07:05 +0800
commitc48cd2282b66045d04b6b5c18d3881306b1cc4b9 (patch)
treeaa6a3fdd5253205d599aee40ae74a635a9231d34 /net/xnap/Makefile
parent45a26d44b002c39a91a02fe190b181cc2dbe1f1c (diff)
downloadfreebsd-ports-gnome-c48cd2282b66045d04b6b5c18d3881306b1cc4b9.tar.gz
freebsd-ports-gnome-c48cd2282b66045d04b6b5c18d3881306b1cc4b9.tar.zst
freebsd-ports-gnome-c48cd2282b66045d04b6b5c18d3881306b1cc4b9.zip
o New port XNap version 1.1.pre2: A pure java napster client; also,
supports OpenNap & giFT (FastTrack) o giFT support is currently off while its protocol is synced to the latest FastTrack protocol
Diffstat (limited to 'net/xnap/Makefile')
-rw-r--r--net/xnap/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/net/xnap/Makefile b/net/xnap/Makefile
new file mode 100644
index 000000000000..25c8ccb81439
--- /dev/null
+++ b/net/xnap/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: XNap
+# Date created: Mon Nov 19 22:02:27 BRST 2001
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XNap
+PORTVERSION= 1.1.p2
+CATEGORIES= audio java net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME:L}
+DISTNAME= ${PORTNAME:L}-${PORTVERSION:S/.p/-pre/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= lioux@FreeBSD.org
+
+RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
+ ${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
+ ${LOCALBASE}/jdk1.3.1/bin/java:${PORTSDIR}/java/jdk13
+
+NO_BUILD= yes
+PLIST_SUB= JAR_DIR=${JAR_DIR}
+
+JAVAVM= ${LOCALBASE}/bin/javavm
+JAR_DIR= share/java/jar/${PORTNAME}
+
+DOC_FILES= AUTHORS CHANGES COMMANDS COPYING COPYING.LIB README \
+ TODO
+
+post-patch:
+ @${SED} -e "s|%%JAR_DIR%%|${JAR_DIR}|;s|%%JAVAVM%%|${JAVAVM}|; \
+ s|%%PREFIX%%|${PREFIX}|" \
+ ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
+
+do-install:
+ @${MKDIR} ${PREFIX}/${JAR_DIR}
+ @${INSTALL_DATA} ${WRKSRC}/xnap.jar ${PREFIX}/${JAR_DIR}
+ @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${PORTNAME:L}
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>