aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-04-26 00:04:16 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-04-26 00:04:16 +0000
commit853debe37e30b6099f0ee8bdf663c075d85ca76c (patch)
treed1c36daba0f45d774a2136984cfc9519b8a008ed
parentc9540b2bc037175bb9e48cf79f3855d59f250244 (diff)
downloadports-853debe37e30b6099f0ee8bdf663c075d85ca76c.tar.gz
ports-853debe37e30b6099f0ee8bdf663c075d85ca76c.zip
Notes
-rw-r--r--net-p2p/Makefile1
-rw-r--r--net-p2p/frostwire/Makefile42
-rw-r--r--net-p2p/frostwire/distinfo3
-rw-r--r--net-p2p/frostwire/files/frostwire.sh.in8
-rw-r--r--net-p2p/frostwire/pkg-descr20
-rw-r--r--net-p2p/frostwire/pkg-plist43
6 files changed, 117 insertions, 0 deletions
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index 749b41a0ccc7..440a96ad81c2 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -29,6 +29,7 @@
SUBDIR += fidelio
SUBDIR += freenet
SUBDIR += frost
+ SUBDIR += frostwire
SUBDIR += gift
SUBDIR += giftcurs
SUBDIR += giftoxic
diff --git a/net-p2p/frostwire/Makefile b/net-p2p/frostwire/Makefile
new file mode 100644
index 000000000000..fadff99de514
--- /dev/null
+++ b/net-p2p/frostwire/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: frostwire
+# Date created: 2007-04-20
+# Whom: alepulver
+#
+# $FreeBSD$
+#
+
+PORTNAME= frostwire
+PORTVERSION= 4.13.1.7
+CATEGORIES= net-p2p java
+MASTER_SITES= http://station1.peercommons.com/frostwire/4.13.1/
+DISTNAME= ${PORTNAME}-${PORTVERSION}.noarch
+
+MAINTAINER= alepulver@FreeBSD.org
+COMMENT= A Java based Gnutella and Bittorrent client
+
+RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
+
+USE_JAVA= yes
+JAVA_VERSION= 1.3+
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${DISTNAME:S/.7/.6/}
+
+DATADIR= ${JAVASHAREDIR}/${PORTNAME}
+
+SUB_FILES= ${PORTNAME}.sh
+
+post-extract:
+ @cd ${WRKSRC} && ${RM} -f *.so *.sh COPYING && \
+ ${MV} changelog frostwire.desktop ..
+ @${FIND} ${WRKSRC} -type d -name .svn -print0 | ${XARGS} -0 ${RM} -rf
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
+ ${MKDIR} ${DATADIR}
+ ${CP} -R ${WRKSRC}/* ${DATADIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/changelog ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-p2p/frostwire/distinfo b/net-p2p/frostwire/distinfo
new file mode 100644
index 000000000000..0699efe0c268
--- /dev/null
+++ b/net-p2p/frostwire/distinfo
@@ -0,0 +1,3 @@
+MD5 (frostwire-4.13.1.7.noarch.tar.gz) = a644503f4d056d7f196fd13c64689e3b
+SHA256 (frostwire-4.13.1.7.noarch.tar.gz) = 057c167e0f87d1f6ed6d2f4b8dd55e7e727c6240b61233a1110e1af19d1cd2f0
+SIZE (frostwire-4.13.1.7.noarch.tar.gz) = 7128560
diff --git a/net-p2p/frostwire/files/frostwire.sh.in b/net-p2p/frostwire/files/frostwire.sh.in
new file mode 100644
index 000000000000..3aff2282e2b6
--- /dev/null
+++ b/net-p2p/frostwire/files/frostwire.sh.in
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+export J2SE_PREEMPTCLOSE=1
+export JAVA_VERSION="1.3+"
+
+cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -jar FrostWire.jar "$@"
diff --git a/net-p2p/frostwire/pkg-descr b/net-p2p/frostwire/pkg-descr
new file mode 100644
index 000000000000..1b423b7ba92d
--- /dev/null
+++ b/net-p2p/frostwire/pkg-descr
@@ -0,0 +1,20 @@
+FrostWire is an open-source peer-to-peer (P2P) file-sharing program. It uses
+the Gnutella network and is heavily based on the better-known LimeWire
+program. It also recently included BitTorrent support.
+
+Features:
+
+* Completely free & open-source.
+* Firewall-to-firewall transfers.
+* Built-in community chat.
+* No bundled software of any kind!
+* Connects to more sources.
+* Creative commons license support.
+* Max. speed network connections.
+* Junk result filters.
+* Turbo-Charged download speeds.
+* iTunes integration.
+* BitTorrent support.
+* Proxy Support.
+
+WWW: http://www.frostwire.com/
diff --git a/net-p2p/frostwire/pkg-plist b/net-p2p/frostwire/pkg-plist
new file mode 100644
index 000000000000..38ecccc2bd4e
--- /dev/null
+++ b/net-p2p/frostwire/pkg-plist
@@ -0,0 +1,43 @@
+bin/frostwire
+%%PORTDOCS%%%%DOCSDIR%%/changelog
+%%DATADIR%%/FrostWire.icns
+%%DATADIR%%/FrostWire.jar
+%%DATADIR%%/MessagesBundle.properties
+%%DATADIR%%/MessagesBundles.jar
+%%DATADIR%%/ProgressTabs.jar
+%%DATADIR%%/clink.jar
+%%DATADIR%%/commons-httpclient.jar
+%%DATADIR%%/commons-logging.jar
+%%DATADIR%%/commons-net.jar
+%%DATADIR%%/commons-pool.jar
+%%DATADIR%%/daap.jar
+%%DATADIR%%/hashes
+%%DATADIR%%/i18n.jar
+%%DATADIR%%/icu4j.jar
+%%DATADIR%%/id3v2.jar
+%%DATADIR%%/irc.jar
+%%DATADIR%%/jcraft.jar
+%%DATADIR%%/jdic.jar
+%%DATADIR%%/jdic_stub.jar
+%%DATADIR%%/jl011.jar
+%%DATADIR%%/jmdns.jar
+%%DATADIR%%/log4j.jar
+%%DATADIR%%/log4j.properties
+%%DATADIR%%/looks.jar
+%%DATADIR%%/mp3sp14.jar
+%%DATADIR%%/root/magnet10/badge.img
+%%DATADIR%%/root/magnet10/canHandle.img
+%%DATADIR%%/root/magnet10/limewire.gif
+%%DATADIR%%/root/magnet10/options.js
+%%DATADIR%%/root/magnet10/silentdetect.js
+%%DATADIR%%/spacer.gif
+%%DATADIR%%/themes.jar
+%%DATADIR%%/tritonus.jar
+%%DATADIR%%/update.ver
+%%DATADIR%%/vorbis.jar
+%%DATADIR%%/xml-apis.jar
+%%DATADIR%%/xml.war
+@dirrm %%DATADIR%%/root/magnet10
+@dirrm %%DATADIR%%/root
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%