diff options
author | hq <hq@FreeBSD.org> | 2004-10-24 09:08:00 +0800 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2004-10-24 09:08:00 +0800 |
commit | 235a3e6979b1288579bfacefa36767e7787f01ab (patch) | |
tree | 7f46972f4487ab5e0e90bf461df9c443f4c1f495 /net | |
parent | 828f762c147de06058ec1a7d1cc43885dbda3e0b (diff) | |
download | freebsd-ports-gnome-235a3e6979b1288579bfacefa36767e7787f01ab.tar.gz freebsd-ports-gnome-235a3e6979b1288579bfacefa36767e7787f01ab.tar.zst freebsd-ports-gnome-235a3e6979b1288579bfacefa36767e7787f01ab.zip |
Azureus is a java bittorrent client. Azureus offers multiple
torrent downloads, queuing/priority systems (on torrents and
files), start/stop seeding options and instant access to
numerous pieces of information about your torrents. Azureus
now features an embedded tracker easily setup and ready to use.
WWW: http://azureus.sourceforge.com/
PR: 72682
Submitted by: Jeremy Faulkner <gldisater@gldis.ca>
Reviewed by: glewis
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/azureus/Makefile | 45 | ||||
-rw-r--r-- | net/azureus/distinfo | 2 | ||||
-rw-r--r-- | net/azureus/files/azureus | 23 | ||||
-rw-r--r-- | net/azureus/pkg-descr | 7 |
5 files changed, 78 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 00ba93bd582b..6b5f861f8ba0 100644 --- a/net/Makefile +++ b/net/Makefile @@ -32,6 +32,7 @@ SUBDIR += asterisk SUBDIR += atmsupport SUBDIR += ayttm + SUBDIR += azureus SUBDIR += b2bua SUBDIR += balance SUBDIR += bbsnet diff --git a/net/azureus/Makefile b/net/azureus/Makefile new file mode 100644 index 000000000000..9492eb7bca7c --- /dev/null +++ b/net/azureus/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: Azureus +# Date created: October 6, 2004 +# Whom: Jeremy Faulkner <gldisater@gldis.ca> +# +# $FreeBSD$ +# + +PORTNAME= azureus +PORTVERSION= 2.1.0.4 +CATEGORIES= net java +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= Azureus${PORTVERSION}.jar +EXTRACT_SUFX= +EXTRACT_ONLY= + +MAINTAINER= gldisater@gldis.ca +COMMENT= A BitTorrent client written in Java + +RUN_DEPENDS= ${LOCALBASE}/eclipse:${PORTSDIR}/java/eclipse + +NO_BUILD= yes +ONLY_FOR_ARCHS= i386 + +USE_JAVA= yes +JAVA_VERSION= 1.4+ +JAVA_OS= native +JAVA_RUN= yes + +DATADIR= ${JAVASHAREDIR}/${PORTNAME} +JARFILE= Azureus2.jar + +PLIST_FILES= %%DATADIR%%/${JARFILE} bin/${PORTNAME} + +do-configure: + ${SED} -e "s+%%PREFIX%%+${PREFIX}+" -e "s+%%LOCALBASE%%+${LOCALBASE}+" \ + -e "s+%%JAVA%%+${JAVA}+" -e "s+%%DATADIR%%+${DATADIR}+" \ + ${FILESDIR}/${PORTNAME} > ${WRKDIR}/${PORTNAME} + +do-install: + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${DATADIR}/${JARFILE} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/net/azureus/distinfo b/net/azureus/distinfo new file mode 100644 index 000000000000..7cfef639b716 --- /dev/null +++ b/net/azureus/distinfo @@ -0,0 +1,2 @@ +MD5 (Azureus2.1.0.4.jar) = e2f810ab20cbc8dc9df0bbce8ea1edc8 +SIZE (Azureus2.1.0.4.jar) = 3422118 diff --git a/net/azureus/files/azureus b/net/azureus/files/azureus new file mode 100644 index 000000000000..6fe4c562acc1 --- /dev/null +++ b/net/azureus/files/azureus @@ -0,0 +1,23 @@ +#!/bin/sh +# +# $FreeBSD$ + +ECLIPSE_BASE=%%LOCALBASE%%/eclipse +ECLIPSE_SWT=`find "${ECLIPSE_BASE}" -name '*swt.*' -type d | grep -e "plugins/org.eclipse.swt" | head -n 1` +ECLIPSE_WS=`echo "${ECLIPSE_SWT}" | sed -e "s+^${ECLIPSE_BASE}/plugins/org.eclipse.swt.++" -e "s+_.*$++"` +ECLIPSE_SWT_JAR=${ECLIPSE_SWT}/ws/${ECLIPSE_WS} +LIB_PATH=${ECLIPSE_SWT}/os/freebsd/x86/ + +CLASS_PATH=:%%DATADIR%%/Azureus2.jar:${ECLIPSE_SWT_JAR}/swt-mozilla.jar:${ECLIPSE_SWT_JAR}/swt-pi.jar:${ECLIPSE_SWT_JAR}/swt.jar + +if [ "${DEBUG}" ] +then + echo "ECLIPSE_BASE = ${ECLIPSE_BASE}" + echo "ECLIPSE_WS = ${ECLIPSE_WS}" + echo "ECLIPSE_SWT = ${ECLIPSE_SWT}" + echo "ECLIPSE_SWT_JAR = ${ECLIPSE_SWT_JAR}" + echo "CLASS_PATH = ${CLASS_PATH}" + echo "LIB_PATH = ${LIB_PATH}" +fi + +"%%JAVA%%" -cp "${CLASS_PATH}" "-Djava.library.path=${LIB_PATH}" org.gudy.azureus2.ui.swt.Main diff --git a/net/azureus/pkg-descr b/net/azureus/pkg-descr new file mode 100644 index 000000000000..95b6892069c1 --- /dev/null +++ b/net/azureus/pkg-descr @@ -0,0 +1,7 @@ +Azureus is a java bittorrent client. Azureus offers multiple +torrent downloads, queuing/priority systems (on torrents and +files), start/stop seeding options and instant access to +numerous pieces of information about your torrents. Azureus +now features an embedded tracker easily setup and ready to use. + +WWW: http://azureus.sourceforge.com/ |