summaryrefslogtreecommitdiff
path: root/net/xnap
diff options
context:
space:
mode:
authorhubertf <hubertf>2002-04-28 22:15:14 +0000
committerhubertf <hubertf>2002-04-28 22:15:14 +0000
commitbfee3d2d54b857aa3fd3ca684caa603001ad08c2 (patch)
tree379af14ab8f803eb1182cf434e5080895de7942f /net/xnap
parent9df4453f5288b9b82c090e18fde79133b50a5405 (diff)
downloadpkgsrc-bfee3d2d54b857aa3fd3ca684caa603001ad08c2.tar.gz
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
Diffstat (limited to 'net/xnap')
-rw-r--r--net/xnap/DESCR6
-rw-r--r--net/xnap/Makefile24
-rw-r--r--net/xnap/PLIST6
-rw-r--r--net/xnap/distinfo5
-rw-r--r--net/xnap/patches/patch-aa13
5 files changed, 54 insertions, 0 deletions
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