From 7927bcb5d44300363c9e43f8d1b7b4119a8e7200 Mon Sep 17 00:00:00 2001 From: hubertf Date: Sun, 28 Apr 2002 22:15:14 +0000 Subject: Add xnap-2.0: Java filesharing client with support for OpenNap XNap is a Java file sharing client. It is powerful, easy to use, and efficient. Features include fetching a server list from Napigator, connecting to multiple OpenNap servers, doing multiple concurrent searches, and automatic downloading. You can view your MP3 files and play them conveniently from within XNap. It also provides a commandline interface for use on a terminal. Contributed by ben@wongs.net in PR 16528 --- net/xnap/DESCR | 6 ++++++ net/xnap/Makefile | 24 ++++++++++++++++++++++++ net/xnap/PLIST | 6 ++++++ net/xnap/distinfo | 5 +++++ net/xnap/patches/patch-aa | 13 +++++++++++++ 5 files changed, 54 insertions(+) create mode 100644 net/xnap/DESCR create mode 100644 net/xnap/Makefile create mode 100644 net/xnap/PLIST create mode 100644 net/xnap/distinfo create mode 100644 net/xnap/patches/patch-aa diff --git a/net/xnap/DESCR b/net/xnap/DESCR new file mode 100644 index 00000000000..67136c7f0de --- /dev/null +++ b/net/xnap/DESCR @@ -0,0 +1,6 @@ +XNap is a Java file sharing client. It is powerful, easy to use, and +efficient. Features include fetching a server list from Napigator, +connecting to multiple OpenNap servers, doing multiple concurrent +searches, and automatic downloading. You can view your MP3 files and +play them conveniently from within XNap. It also provides a +commandline interface for use on a terminal. diff --git a/net/xnap/Makefile b/net/xnap/Makefile new file mode 100644 index 00000000000..702eebaf0d6 --- /dev/null +++ b/net/xnap/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/04/28 22:15:14 hubertf Exp $ +# + +DISTNAME= xnap-2.0 +CATEGORIES= net +MASTER_SITES= http://telia.dl.sourceforge.net/xnap/ + +MAINTAINER= Benjamin.Wong@cc.gatech.edu +HOMEPAGE= http://xnap.sourceforge.net/ +COMMENT= Java filesharing client with support for OpenNap + +DEPENDS= sun-jdk-[0-9]*:../../lang/sun-jdk13 + +NO_BUILD= yes + +do-install: + ${CP} ${WRKSRC}/xnap.sh ${PREFIX}/bin/xnap + ${INSTALL_PROGRAM_DIR} ${PREFIX}/share/xnap + ${CP} ${WRKSRC}/xnap.jar ${PREFIX}/share/xnap/xnap.jar + ${INSTALL_PROGRAM_DIR} ${PREFIX}/share/doc/xnap + ${CP} ${WRKSRC}/README ${PREFIX}/share/doc/xnap + ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/xnap ${PREFIX}/share/doc/xnap + +.include "../../mk/bsd.pkg.mk" diff --git a/net/xnap/PLIST b/net/xnap/PLIST new file mode 100644 index 00000000000..16720f145e8 --- /dev/null +++ b/net/xnap/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/28 22:15:14 hubertf Exp $ +bin/xnap +share/doc/xnap/README +share/xnap/xnap.jar +@dirrm share/doc/xnap +@dirrm share/xnap diff --git a/net/xnap/distinfo b/net/xnap/distinfo new file mode 100644 index 00000000000..46125474622 --- /dev/null +++ b/net/xnap/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/04/28 22:15:14 hubertf Exp $ + +SHA1 (xnap-2.0.tar.gz) = e4b5a8eeb28d0f777029c57de4f9372601d734f6 +Size (xnap-2.0.tar.gz) = 773640 bytes +SHA1 (patch-aa) = 8b9edd3868ea5c1a888726b65c44af0bcf3f42c9 diff --git a/net/xnap/patches/patch-aa b/net/xnap/patches/patch-aa new file mode 100644 index 00000000000..3a043cded19 --- /dev/null +++ b/net/xnap/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/04/28 22:15:14 hubertf Exp $ + +--- xnap.sh.orig Sun Dec 23 07:36:23 2001 ++++ xnap.sh +@@ -10,6 +10,8 @@ + APPHOME="/usr/local/share/xnap/" + elif [ "`dirname $0`" = "/usr/bin" ]; then + APPHOME="/usr/share/java" ++elif [ "`dirname $0`" = "/usr/pkg/bin" ]; then ++ APPHOME="/usr/pkg/share/xnap/" + else + echo "xnap.jar could not be found" + exit 1 -- cgit v1.2.3