[Midnightbsd-cvs] mports: mports/net-p2p: add frostwire.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jan 4 17:53:45 EST 2009


Log Message:
-----------
add frostwire.  This port is almost identical to limewire

Modified Files:
--------------
    mports/net-p2p:
        Makefile (r1.7 -> r1.8)

Added Files:
-----------
    mports/net-p2p/frostwire:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/net-p2p/frostwire/files:
        frostwire.sh.in (r1.1)

-------------- next part --------------
--- /dev/null
+++ 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/
--- /dev/null
+++ net-p2p/frostwire/pkg-plist
@@ -0,0 +1,53 @@
+bin/frostwire
+%%PORTDOCS%%%%DOCSDIR%%/changelog
+%%DATADIR%%/EULA.txt
+%%DATADIR%%/FrostWire.icns
+%%DATADIR%%/FrostWire.jar
+%%DATADIR%%/ProgressTabs.jar
+%%DATADIR%%/aopalliance.jar
+%%DATADIR%%/clink.jar
+%%DATADIR%%/commons-codec-1.3.jar
+%%DATADIR%%/commons-logging.jar
+%%DATADIR%%/daap.jar
+%%DATADIR%%/forms.jar
+%%DATADIR%%/foxtrot.jar
+%%DATADIR%%/fw-irc.jar
+%%DATADIR%%/gettext-commons.jar
+%%DATADIR%%/guice-1.0.jar
+%%DATADIR%%/hashes
+%%DATADIR%%/httpclient-4.0-alpha3.jar
+%%DATADIR%%/httpcore-4.0-beta2.jar
+%%DATADIR%%/httpcore-nio-4.0-beta2.jar
+%%DATADIR%%/httpcore-niossl-4.0-alpha7.jar
+%%DATADIR%%/icu4j.jar
+%%DATADIR%%/jaudiotagger.jar
+%%DATADIR%%/jcraft.jar
+%%DATADIR%%/jdic.jar
+%%DATADIR%%/jdic_stub.jar
+%%DATADIR%%/jflac.jar
+%%DATADIR%%/jl.jar
+%%DATADIR%%/jogg.jar
+%%DATADIR%%/jorbis.jar
+%%DATADIR%%/jmdns.jar
+%%DATADIR%%/log4j.jar
+%%DATADIR%%/log4j.properties
+%%DATADIR%%/looks.jar
+%%DATADIR%%/lw-all.jar
+%%DATADIR%%/messages.jar
+%%DATADIR%%/mp3spi.jar
+%%DATADIR%%/onion-common.jar
+%%DATADIR%%/onion-fec.jar
+%%DATADIR%%/vorbisspi.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
+ at dirrm %%DATADIR%%/root/magnet10
+ at dirrm %%DATADIR%%/root
+ at dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- /dev/null
+++ net-p2p/frostwire/Makefile
@@ -0,0 +1,39 @@
+# $MidnightBSD: mports/net-p2p/frostwire/Makefile,v 1.1 2009/01/04 22:53:42 laffer1 Exp $
+
+PORTNAME=	frostwire
+PORTVERSION=	4.17.0
+CATEGORIES=	net-p2p java
+MASTER_SITES=	http://main2.frostwire.com/frostwire/${PORTVERSION}/ \
+		http://main3.frostwire.com/frostwire/${PORTVERSION}/
+DISTNAME=	${PORTNAME}-${PORTVERSION}.noarch
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	A Java based Gnutella and Bittorrent client
+LICENSE=	gpl2
+
+RUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper
+
+USE_JAVA=	yes
+JAVA_VERSION=	1.5+
+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>
--- /dev/null
+++ net-p2p/frostwire/distinfo
@@ -0,0 +1,3 @@
+MD5 (frostwire-4.17.0.noarch.tar.gz) = 7aa83a23729a4938a512d07654cccf26
+SHA256 (frostwire-4.17.0.noarch.tar.gz) = b3818c46a6fd03c29a8464ab007f2d4914c4a77ca11b7641cd50b4eb03c33404
+SIZE (frostwire-4.17.0.noarch.tar.gz) = 13645321
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/net-p2p/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -L net-p2p/Makefile -L net-p2p/Makefile -u -r1.7 -r1.8
--- net-p2p/Makefile
+++ net-p2p/Makefile
@@ -4,6 +4,7 @@
     COMMENT = peer-to-peer network applications
 
     SUBDIR += ctorrent
+    SUBDIR += frostwire
     SUBDIR += gift
     SUBDIR += gift-fasttrack
     SUBDIR += gift-gnutella
--- /dev/null
+++ net-p2p/frostwire/files/frostwire.sh.in
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export J2SE_PREEMPTCLOSE=1
+export JAVA_VERSION="1.5+"
+
+cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -jar FrostWire.jar "$@"


More information about the Midnightbsd-cvs mailing list