aboutsummaryrefslogtreecommitdiffstats
path: root/net/furi
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-04-01 13:41:12 +0800
committerlioux <lioux@FreeBSD.org>2001-04-01 13:41:12 +0800
commitec1dcbcccdc45f4ed79a3ea84534cf0fbc2cc611 (patch)
tree9df1b769ef52783b79ba13b69233771967a000b0 /net/furi
parent27f020fa9bb85193893422d152223934824aea4f (diff)
downloadfreebsd-ports-gnome-ec1dcbcccdc45f4ed79a3ea84534cf0fbc2cc611.tar.gz
freebsd-ports-gnome-ec1dcbcccdc45f4ed79a3ea84534cf0fbc2cc611.tar.zst
freebsd-ports-gnome-ec1dcbcccdc45f4ed79a3ea84534cf0fbc2cc611.zip
New port:
FURI is a java Gnutella distributed, peer-to-peer file sharing system
Diffstat (limited to 'net/furi')
-rw-r--r--net/furi/Makefile41
-rw-r--r--net/furi/distinfo1
-rw-r--r--net/furi/files/furi.sh12
-rw-r--r--net/furi/pkg-comment1
-rw-r--r--net/furi/pkg-descr5
-rw-r--r--net/furi/pkg-plist5
6 files changed, 65 insertions, 0 deletions
diff --git a/net/furi/Makefile b/net/furi/Makefile
new file mode 100644
index 000000000000..e55f4b400091
--- /dev/null
+++ b/net/furi/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: FURI Gnutella client
+# Date created: 31 Mar 2001
+# Whom: Mario Sergio Fujikawa Ferreira <liouxFreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= furi
+PORTVERSION= 0.68
+CATEGORIES= net java
+MASTER_SITES= http://www.jps.net/williamw/furi/
+DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
+
+MAINTAINER= lioux@FreeBSD.org
+
+RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
+ ${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
+ ${LOCALBASE}/share/java/classes/jfc-1.1.1/swing.jar:${PORTSDIR}/java/jfc
+
+USE_ZIP= yes
+USE_XLIB= yes
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+JAVAVM= ${LOCALBASE}/bin/javavm
+INSTSBDR= ${PREFIX}/share/java/classes/furi
+INSTALL_DIR= ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555
+
+post-extract:
+ @${SED} -e "s!/usr/local!${LOCALBASE}!" ${FILESDIR}/furi.sh > ${WRKSRC}/furi.sh
+
+post-patch:
+ @${PERL} -pi -ne "s! !!" ${WRKSRC}/Readme.txt
+
+do-install:
+ @${INSTALL_DIR} ${INSTSBDR} ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/furi.jar ${INSTSBDR}
+ @${INSTALL_DATA} ${WRKSRC}/Readme.txt ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_SCRIPT} ${WRKSRC}/furi.sh ${PREFIX}/bin/furi
+
+.include <bsd.port.mk>
diff --git a/net/furi/distinfo b/net/furi/distinfo
new file mode 100644
index 000000000000..325044926ba5
--- /dev/null
+++ b/net/furi/distinfo
@@ -0,0 +1 @@
+MD5 (furi068.zip) = 8945527d39f710352a1541a196cff833
diff --git a/net/furi/files/furi.sh b/net/furi/files/furi.sh
new file mode 100644
index 000000000000..ca2af550131d
--- /dev/null
+++ b/net/furi/files/furi.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+export CLASSPATH
+
+if [ -z "${CLASSPATH}" ]
+then
+ CLASSPATH=/usr/local/share/java/classes/jfc-1.1.1/swingall.jar:/usr/local/share/java/classes/furi/furi.jar:/usr/local/jre1.1.8/lib:/usr/local/jdk1.1.8/lib/classes.zip
+else
+ CLASSPATH=${CLASSPATH}:/usr/local/share/java/classes/jfc-1.1.1/swingall.jar:/usr/local/share/java/classes/furi/furi.jar:/usr/local/jre1.1.8/lib:/usr/local/jdk1.1.8/lib/classes.zip
+fi
+
+exec /usr/local/bin/javavm furi.f
diff --git a/net/furi/pkg-comment b/net/furi/pkg-comment
new file mode 100644
index 000000000000..bdbe0c010fad
--- /dev/null
+++ b/net/furi/pkg-comment
@@ -0,0 +1 @@
+FURI is a java Gnutella distributed, peer-to-peer file sharing system
diff --git a/net/furi/pkg-descr b/net/furi/pkg-descr
new file mode 100644
index 000000000000..acb8741182f5
--- /dev/null
+++ b/net/furi/pkg-descr
@@ -0,0 +1,5 @@
+FURI is a Gnutella protocol-compatible Java program that can
+participate in the Gnutella network. It is a full version program
+that can perform most of the tasks of a Gnutella servant.
+
+WWW: http://www.jps.net/williamw/furi/
diff --git a/net/furi/pkg-plist b/net/furi/pkg-plist
new file mode 100644
index 000000000000..589d9fed853a
--- /dev/null
+++ b/net/furi/pkg-plist
@@ -0,0 +1,5 @@
+share/doc/furi/Readme.txt
+share/java/classes/furi/furi.jar
+bin/furi
+@dirrm share/java/classes/furi
+@dirrm share/doc/furi