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
This commit is contained in:
parent
26128eef61
commit
7927bcb5d4
5 changed files with 54 additions and 0 deletions
6
net/xnap/DESCR
Normal file
6
net/xnap/DESCR
Normal file
|
@ -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.
|
24
net/xnap/Makefile
Normal file
24
net/xnap/Makefile
Normal file
|
@ -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"
|
6
net/xnap/PLIST
Normal file
6
net/xnap/PLIST
Normal file
|
@ -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
|
5
net/xnap/distinfo
Normal file
5
net/xnap/distinfo
Normal file
|
@ -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
|
13
net/xnap/patches/patch-aa
Normal file
13
net/xnap/patches/patch-aa
Normal file
|
@ -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
|
Loading…
Reference in a new issue