summaryrefslogtreecommitdiff
path: root/net-p2p/vuze
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/vuze')
-rw-r--r--net-p2p/vuze/Makefile106
-rw-r--r--net-p2p/vuze/distinfo3
-rw-r--r--net-p2p/vuze/files/azureus.in42
-rw-r--r--net-p2p/vuze/files/build.xml50
-rw-r--r--net-p2p/vuze/files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java11
-rw-r--r--net-p2p/vuze/files/patch-TransferTypes17
-rw-r--r--net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java20
-rw-r--r--net-p2p/vuze/files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java10
-rw-r--r--net-p2p/vuze/pkg-descr7
-rw-r--r--net-p2p/vuze/pkg-message14
10 files changed, 0 insertions, 280 deletions
diff --git a/net-p2p/vuze/Makefile b/net-p2p/vuze/Makefile
deleted file mode 100644
index ba0e699367ef..000000000000
--- a/net-p2p/vuze/Makefile
+++ /dev/null
@@ -1,106 +0,0 @@
-# New ports collection makefile for: Azureus
-# Date created: October 6, 2004
-# Whom: Jeremy Faulkner <gldisater@gldis.ca>
-#
-# $FreeBSD$
-#
-
-PORTNAME= azureus
-PORTVERSION= 3.0.3.4
-CATEGORIES= net-p2p java
-MASTER_SITES= SF
-DISTNAME= Azureus_${PORTVERSION}_source
-
-MAINTAINER= rnoland@2hip.net
-COMMENT= A BitTorrent client written in Java
-
-BUILD_DEPENDS= ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j \
- ${JAVALIBDIR}/commons-cli.jar:${PORTSDIR}/java/jakarta-commons-cli \
- ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit
-
-USE_JAVA= yes
-JAVA_VERSION= 1.4+
-JAVA_OS= native
-USE_ANT= yes
-
-USE_ZIP= yes
-
-NO_WRKSUBDIR= yes
-
-JARFILE= ${PORTNAME}.jar
-
-OPTIONS= SWTDEVEL "Use SWT Development port" on \
- EXTRAHACK "Apply extra performance hack" off
-
-# build classpath from BUILD_DEPENDS
-MAKE_ENV= LANG=C
-CLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar}
-
-PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} \
- bin/${PORTNAME} \
- share/icons/hicolor/16x16/apps/${PORTNAME}.png \
- share/icons/hicolor/32x32/apps/${PORTNAME}.png \
- share/icons/hicolor/64x64/apps/${PORTNAME}.png \
- share/icons/hicolor/128x128/apps/${PORTNAME}.png
-
-SUB_FILES= ${PORTNAME}
-SUB_LIST= LIBDIR="${LOCALBASE}/lib" JARFILE="${JARFILE}" \
- SWTJAR="${JAVALIBDIR}/${SWT}.jar" JAVA="${LOCALBASE}/bin/java"
-
-DESKTOP_ENTRIES= "Azureus" \
- "A full feature BitTorrent client" \
- "${PORTNAME}.png" \
- "${PORTNAME}" \
- "" \
- true
-
-INSTALLS_ICONS= yes
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_SWTDEVEL)
-SWT= swt-devel
-BUILD_DEPENDS+= ${JAVALIBDIR}/swt-devel.jar:${PORTSDIR}/x11-toolkits/swt-devel
-RUN_DEPENDS+= ${JAVALIBDIR}/swt-devel.jar:${PORTSDIR}/x11-toolkits/swt-devel
-.else
-SWT= swt
-BUILD_DEPENDS+= ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt
-RUN_DEPENDS+= ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt
-.endif
-
-# Ok, I'm not quite sure why this works, or if it is in any way a proper fix.
-# Use at your own risk, I've just had it around and decided to share.
-.if defined(WITH_EXTRAHACK)
-EXTRA_PATCHES+= \
- ${PATCHDIR}/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java
-.endif
-
-CLASSPATH=.
-.for jar in ${CLASSPATH_JARS}
-CLASSPATH:=${CLASSPATH}:${jar}
-.endfor
-
-post-patch:
- @${SED} -E -e 's|%%CLASSPATH%%|${CLASSPATH}|' \
- ${FILESDIR}/build.xml > ${WRKSRC}/build.xml
-# bash -> sh
- @${REINPLACE_CMD} -E -e 's|/bin/bash|${SH}|' \
- ${WRKSRC}/com/aelitis/azureus/core/update/impl/AzureusRestarterImpl.java
-
-do-install:
- ${MKDIR} ${JAVAJARDIR}
- ${INSTALL_DATA} ${WRKSRC}/dist/lib/${JARFILE} ${JAVAJARDIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
- ${INSTALL_DATA} ${WRKDIR}/org/gudy/azureus2/ui/icons/a16.png \
- ${PREFIX}/share/icons/hicolor/16x16/apps/${PORTNAME}.png
- ${INSTALL_DATA} ${WRKDIR}/org/gudy/azureus2/ui/icons/a32.png \
- ${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png
- ${INSTALL_DATA} ${WRKDIR}/org/gudy/azureus2/ui/icons/a64.png \
- ${PREFIX}/share/icons/hicolor/64x64/apps/${PORTNAME}.png
- ${INSTALL_DATA} ${WRKDIR}/org/gudy/azureus2/ui/icons/a128.png \
- ${PREFIX}/share/icons/hicolor/128x128/apps/${PORTNAME}.png
-
-post-install:
- @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
-
-.include <bsd.port.post.mk>
diff --git a/net-p2p/vuze/distinfo b/net-p2p/vuze/distinfo
deleted file mode 100644
index 628484d7b53a..000000000000
--- a/net-p2p/vuze/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (Azureus_3.0.3.4_source.zip) = 1dd3f6cbf77ce90c1eb2f80d01c7e912
-SHA256 (Azureus_3.0.3.4_source.zip) = e413ce9908ba940345b26024e2daedb2dbf3274aeba3996b7ed7a9b287072f8d
-SIZE (Azureus_3.0.3.4_source.zip) = 6988737
diff --git a/net-p2p/vuze/files/azureus.in b/net-p2p/vuze/files/azureus.in
deleted file mode 100644
index 963255083bc6..000000000000
--- a/net-p2p/vuze/files/azureus.in
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: /tmp/pcvs/ports/net-p2p/vuze/files/Attic/azureus.in,v 1.2 2007-10-03 03:55:33 edwin Exp $
-
-# java
-export JAVA_VERSION="%%JAVA_VERSION%%"
-export JAVA_OS="%%JAVA_OS%%"
-
-ECLIPSE_BASE=%%LOCALBASE%%/eclipse
-ECLIPSE_SWT_JAR=%%SWTJAR%%
-LIB_PATH=%%LIBDIR%%
-
-CLASS_PATH=:%%JAVAJARDIR%%/%%JARFILE%%:${ECLIPSE_SWT_JAR}
-
-BROWSERS="xulrunner firefox seamonkey mozilla"
-
-if [ ! "${MOZILLA_FIVE_HOME}" ]; then
- for browser in ${BROWSERS}; do
- if [ -d "%%LOCALBASE%%/lib/${browser}" ]; then
- MOZILLA_FIVE_HOME="%%LOCALBASE%%/lib/${browser}"
- break;
- fi
- done
-fi
-
-if [ "${MOZILLA_FIVE_HOME}" ];then
- LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${MOZILLA_FIVE_HOME}"
- export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
- echo "MOZILLA_FIVE_HOME=${MOZILLA_FIVE_HOME}"
-fi
-
-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
-
-exec "%%JAVA%%" -cp "${CLASS_PATH}" "-Djava.library.path=${LIB_PATH}" "-Dos.name=linux" "-Dazureus.config.path=${HOME}/.Azureus" "-Duser.dir=${HOME}/.Azureus" org.gudy.azureus2.ui.swt.Main "${@}"
diff --git a/net-p2p/vuze/files/build.xml b/net-p2p/vuze/files/build.xml
deleted file mode 100644
index 4555797a810c..000000000000
--- a/net-p2p/vuze/files/build.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<!-- Under a BSDL license. Copyright by Mario S F Ferreira <lioux@FreeBSD.org> 2005- -->
-<!-- Under a BSDL license. Copyright by jrandom 2005- -->
-<!-- $FreeBSD$ -->
-<project basedir="." default="dist" name="azureus">
- <description>
- Builds Azureus
- </description>
- <!-- set global properties for this build -->
- <property name="src" location="src"/>
- <property name="build" location="build"/>
- <property name="dist" location="dist"/>
-
- <target name="init">
- <!-- Create the time stamp -->
- <tstamp/>
- <!-- Create the build directory structure used by compile -->
- <mkdir dir="${build}"/>
- </target>
-
- <target name="compile" depends="init" description="compile the source " >
- <!-- Compile the java code from ${src} into ${build} -->
- <javac srcdir="." destdir="${build}" fork="yes" memoryMaximumSize="512m">
- <include name="**/*.java"/>
- <exclude name="**/Win32*.java"/>
- <exclude name="**/swt/osx/**"/>
- <exclude name="**/macosx/**"/>
- <classpath path="%%CLASSPATH%%"/>
- </javac>
- </target>
-
- <target name="dist" depends="compile" description="generate the distribution" >
- <!-- Create the distribution directory -->
- <mkdir dir="${dist}/lib"/>
-
- <copy todir="${build}">
- <fileset dir="." includes="**/*.gif **/*.jpg, **/*.png **/*.properties" />
- <fileset dir="." includes="**/*.dat **/*.stf **/*.xsd" />
- <fileset dir="." includes="**/*.css **/*.html **/*.js **/*.php **/*.tmpl **/*.txt" />
- <fileset dir="." includes="**/*.ico **/*.wav" />
- </copy>
- <!-- Put everything in ${build} into the azureus.jar file -->
- <jar jarfile="${dist}/lib/azureus.jar" basedir="${build}"/>
- </target>
-
- <target name="clean" description="clean up" >
- <!-- Delete the ${build} and ${dist} directory trees -->
- <delete dir="${build}"/>
- <delete dir="${dist}"/>
- </target>
-</project>
diff --git a/net-p2p/vuze/files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java b/net-p2p/vuze/files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java
deleted file mode 100644
index 9e42aaf42620..000000000000
--- a/net-p2p/vuze/files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java
+++ /dev/null
@@ -1,11 +0,0 @@
---- com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterStream.java.orig Sat Feb 3 18:34:39 2007
-+++ com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterStream.java Sat Feb 3 18:37:03 2007
-@@ -55,7 +55,7 @@
- public boolean
- hasBufferedRead()
- {
-- return false;
-+ return true;
- }
-
- public TransportHelper
diff --git a/net-p2p/vuze/files/patch-TransferTypes b/net-p2p/vuze/files/patch-TransferTypes
deleted file mode 100644
index 2c13840c877e..000000000000
--- a/net-p2p/vuze/files/patch-TransferTypes
+++ /dev/null
@@ -1,17 +0,0 @@
---- org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Fri Dec 12 09:56:48 2003
-+++ org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Sat Jun 11 16:06:40 2005
-@@ -41,5 +41,5 @@
- TransferData[] data = event.dataTypes;
- for (int i = 0; i < data.length; i++) {
-- int id = data[i].type;
-+ long id = data[i].type;
- String name = getNameFromId(id);
- System.out.println("Data type is " + id + " " + name);
-@@ -97,5 +97,5 @@
- return ids;
- }
-- static String getNameFromId(int id) {
-+ static String getNameFromId(long id) {
-- switch (id) {
-+ switch ((int)id) {
- case 1 :
diff --git a/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java b/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java
deleted file mode 100644
index c5cab31b137e..000000000000
--- a/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java
+++ /dev/null
@@ -1,20 +0,0 @@
---- org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java.orig Sun Sep 24 16:18:49 2006
-+++ org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java Sun Sep 24 16:19:07 2006
-@@ -19,7 +19,7 @@
- */
- package org.gudy.azureus2.platform.macosx.access.jnilib;
-
--import org.eclipse.swt.internal.carbon.AEDesc;
-+// import org.eclipse.swt.internal.carbon.AEDesc;
-
- import org.gudy.azureus2.core3.util.Debug;
-
-@@ -42,7 +42,7 @@
- }
- }
-
-- public static final native int AEGetParamDesc(int theAppleEvent, int theAEKeyword, int desiredType, AEDesc result);
-+// public static final native int AEGetParamDesc(int theAppleEvent, int theAEKeyword, int desiredType, AEDesc result);
-
- public static final native String getVersion();
-
diff --git a/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java b/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java
deleted file mode 100644
index 006de6438076..000000000000
--- a/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java
+++ /dev/null
@@ -1,10 +0,0 @@
---- org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java.orig 2007-10-13 16:57:39.000000000 -0400
-+++ org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java 2007-10-13 16:58:03.000000000 -0400
-@@ -136,6 +136,7 @@
- return false;
- }
- });
-+ possibleDirs.add(new File("/usr/local/lib"));
- possibleDirs.add(new File("/usr/local"));
- possibleDirs.add(new File("/opt"));
-
diff --git a/net-p2p/vuze/pkg-descr b/net-p2p/vuze/pkg-descr
deleted file mode 100644
index b63cc7c3410c..000000000000
--- a/net-p2p/vuze/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-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.net/
diff --git a/net-p2p/vuze/pkg-message b/net-p2p/vuze/pkg-message
deleted file mode 100644
index ff1fda328e1e..000000000000
--- a/net-p2p/vuze/pkg-message
+++ /dev/null
@@ -1,14 +0,0 @@
-====================================
-============ ATTENTION =============
-====================================
-
-If you have problems running
-Azureus, make sure you have the
-latest version of all your installed
-packages.
-
-For instance, make sure the swt
-package is of version 3.3 or
-later.
-
-====================================