diff options
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/xnap/Makefile | 47 | ||||
-rw-r--r-- | audio/xnap/distinfo | 1 | ||||
-rw-r--r-- | audio/xnap/files/wrapper.sh | 8 | ||||
-rw-r--r-- | audio/xnap/pkg-comment | 1 | ||||
-rw-r--r-- | audio/xnap/pkg-descr | 7 | ||||
-rw-r--r-- | audio/xnap/pkg-plist | 13 | ||||
-rw-r--r-- | net-p2p/xnap/Makefile | 47 | ||||
-rw-r--r-- | net-p2p/xnap/distinfo | 1 | ||||
-rw-r--r-- | net-p2p/xnap/files/wrapper.sh | 8 | ||||
-rw-r--r-- | net-p2p/xnap/pkg-comment | 1 | ||||
-rw-r--r-- | net-p2p/xnap/pkg-descr | 7 | ||||
-rw-r--r-- | net-p2p/xnap/pkg-plist | 13 | ||||
-rw-r--r-- | net/xnap/Makefile | 47 | ||||
-rw-r--r-- | net/xnap/distinfo | 1 | ||||
-rw-r--r-- | net/xnap/files/wrapper.sh | 8 | ||||
-rw-r--r-- | net/xnap/pkg-comment | 1 | ||||
-rw-r--r-- | net/xnap/pkg-descr | 7 | ||||
-rw-r--r-- | net/xnap/pkg-plist | 13 |
19 files changed, 232 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 65234b71ce34..397b81fb8e3f 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -248,6 +248,7 @@ SUBDIR += xmp SUBDIR += xmpeg3 SUBDIR += xmradio + SUBDIR += xnap SUBDIR += xsidplay SUBDIR += xtuner SUBDIR += xwave diff --git a/audio/xnap/Makefile b/audio/xnap/Makefile new file mode 100644 index 000000000000..25c8ccb81439 --- /dev/null +++ b/audio/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> diff --git a/audio/xnap/distinfo b/audio/xnap/distinfo new file mode 100644 index 000000000000..31ab6ed96435 --- /dev/null +++ b/audio/xnap/distinfo @@ -0,0 +1 @@ +MD5 (xnap-1.1-pre2.tgz) = 777e09bf0233e4302834f98baa93fa4a diff --git a/audio/xnap/files/wrapper.sh b/audio/xnap/files/wrapper.sh new file mode 100644 index 000000000000..1b1ff7dc8859 --- /dev/null +++ b/audio/xnap/files/wrapper.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +PREFIX="%%PREFIX%%" +JAVAVM="%%JAVAVM%%" +JAR_DIR="%%JAR_DIR%%" +JAR_FILE=xnap.jar + +${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} diff --git a/audio/xnap/pkg-comment b/audio/xnap/pkg-comment new file mode 100644 index 000000000000..b80c671be45a --- /dev/null +++ b/audio/xnap/pkg-comment @@ -0,0 +1 @@ +A pure java napster client; also, supports OpenNap & giFT (FastTrack) diff --git a/audio/xnap/pkg-descr b/audio/xnap/pkg-descr new file mode 100644 index 000000000000..c4baade29777 --- /dev/null +++ b/audio/xnap/pkg-descr @@ -0,0 +1,7 @@ +XNap is a pure java napster client. The XNap project is about +enhancing JNapster to include other file sharing protocols. Currently +Napster is supported for use with OpenNap servers. FastTrack +(Morpheus, Kaaza) support is available through giFT. +Gnutella support will be coming soon. + +WWW: http://xnap.sourceforge.net/ diff --git a/audio/xnap/pkg-plist b/audio/xnap/pkg-plist new file mode 100644 index 000000000000..721bfe29ac2e --- /dev/null +++ b/audio/xnap/pkg-plist @@ -0,0 +1,13 @@ +bin/xnap +%%PORTDOCS%%share/doc/XNap/AUTHORS +%%PORTDOCS%%share/doc/XNap/CHANGES +%%PORTDOCS%%share/doc/XNap/COMMANDS +%%PORTDOCS%%share/doc/XNap/COPYING +%%PORTDOCS%%share/doc/XNap/COPYING.LIB +%%PORTDOCS%%share/doc/XNap/README +%%PORTDOCS%%share/doc/XNap/TODO +%%JAR_DIR%%/xnap.jar +@dirrm %%JAR_DIR%% +%%PORTDOCS%%@dirrm share/doc/XNap +@unexec rmdir %D/share/java/jar 2>/dev/null || true +@unexec rmdir %D/share/java 2>/dev/null || true diff --git a/net-p2p/xnap/Makefile b/net-p2p/xnap/Makefile new file mode 100644 index 000000000000..25c8ccb81439 --- /dev/null +++ b/net-p2p/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> diff --git a/net-p2p/xnap/distinfo b/net-p2p/xnap/distinfo new file mode 100644 index 000000000000..31ab6ed96435 --- /dev/null +++ b/net-p2p/xnap/distinfo @@ -0,0 +1 @@ +MD5 (xnap-1.1-pre2.tgz) = 777e09bf0233e4302834f98baa93fa4a diff --git a/net-p2p/xnap/files/wrapper.sh b/net-p2p/xnap/files/wrapper.sh new file mode 100644 index 000000000000..1b1ff7dc8859 --- /dev/null +++ b/net-p2p/xnap/files/wrapper.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +PREFIX="%%PREFIX%%" +JAVAVM="%%JAVAVM%%" +JAR_DIR="%%JAR_DIR%%" +JAR_FILE=xnap.jar + +${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} diff --git a/net-p2p/xnap/pkg-comment b/net-p2p/xnap/pkg-comment new file mode 100644 index 000000000000..b80c671be45a --- /dev/null +++ b/net-p2p/xnap/pkg-comment @@ -0,0 +1 @@ +A pure java napster client; also, supports OpenNap & giFT (FastTrack) diff --git a/net-p2p/xnap/pkg-descr b/net-p2p/xnap/pkg-descr new file mode 100644 index 000000000000..c4baade29777 --- /dev/null +++ b/net-p2p/xnap/pkg-descr @@ -0,0 +1,7 @@ +XNap is a pure java napster client. The XNap project is about +enhancing JNapster to include other file sharing protocols. Currently +Napster is supported for use with OpenNap servers. FastTrack +(Morpheus, Kaaza) support is available through giFT. +Gnutella support will be coming soon. + +WWW: http://xnap.sourceforge.net/ diff --git a/net-p2p/xnap/pkg-plist b/net-p2p/xnap/pkg-plist new file mode 100644 index 000000000000..721bfe29ac2e --- /dev/null +++ b/net-p2p/xnap/pkg-plist @@ -0,0 +1,13 @@ +bin/xnap +%%PORTDOCS%%share/doc/XNap/AUTHORS +%%PORTDOCS%%share/doc/XNap/CHANGES +%%PORTDOCS%%share/doc/XNap/COMMANDS +%%PORTDOCS%%share/doc/XNap/COPYING +%%PORTDOCS%%share/doc/XNap/COPYING.LIB +%%PORTDOCS%%share/doc/XNap/README +%%PORTDOCS%%share/doc/XNap/TODO +%%JAR_DIR%%/xnap.jar +@dirrm %%JAR_DIR%% +%%PORTDOCS%%@dirrm share/doc/XNap +@unexec rmdir %D/share/java/jar 2>/dev/null || true +@unexec rmdir %D/share/java 2>/dev/null || true 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> diff --git a/net/xnap/distinfo b/net/xnap/distinfo new file mode 100644 index 000000000000..31ab6ed96435 --- /dev/null +++ b/net/xnap/distinfo @@ -0,0 +1 @@ +MD5 (xnap-1.1-pre2.tgz) = 777e09bf0233e4302834f98baa93fa4a diff --git a/net/xnap/files/wrapper.sh b/net/xnap/files/wrapper.sh new file mode 100644 index 000000000000..1b1ff7dc8859 --- /dev/null +++ b/net/xnap/files/wrapper.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +PREFIX="%%PREFIX%%" +JAVAVM="%%JAVAVM%%" +JAR_DIR="%%JAR_DIR%%" +JAR_FILE=xnap.jar + +${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} diff --git a/net/xnap/pkg-comment b/net/xnap/pkg-comment new file mode 100644 index 000000000000..b80c671be45a --- /dev/null +++ b/net/xnap/pkg-comment @@ -0,0 +1 @@ +A pure java napster client; also, supports OpenNap & giFT (FastTrack) diff --git a/net/xnap/pkg-descr b/net/xnap/pkg-descr new file mode 100644 index 000000000000..c4baade29777 --- /dev/null +++ b/net/xnap/pkg-descr @@ -0,0 +1,7 @@ +XNap is a pure java napster client. The XNap project is about +enhancing JNapster to include other file sharing protocols. Currently +Napster is supported for use with OpenNap servers. FastTrack +(Morpheus, Kaaza) support is available through giFT. +Gnutella support will be coming soon. + +WWW: http://xnap.sourceforge.net/ diff --git a/net/xnap/pkg-plist b/net/xnap/pkg-plist new file mode 100644 index 000000000000..721bfe29ac2e --- /dev/null +++ b/net/xnap/pkg-plist @@ -0,0 +1,13 @@ +bin/xnap +%%PORTDOCS%%share/doc/XNap/AUTHORS +%%PORTDOCS%%share/doc/XNap/CHANGES +%%PORTDOCS%%share/doc/XNap/COMMANDS +%%PORTDOCS%%share/doc/XNap/COPYING +%%PORTDOCS%%share/doc/XNap/COPYING.LIB +%%PORTDOCS%%share/doc/XNap/README +%%PORTDOCS%%share/doc/XNap/TODO +%%JAR_DIR%%/xnap.jar +@dirrm %%JAR_DIR%% +%%PORTDOCS%%@dirrm share/doc/XNap +@unexec rmdir %D/share/java/jar 2>/dev/null || true +@unexec rmdir %D/share/java 2>/dev/null || true |