aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/vuze/files
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-01-13 22:16:14 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-01-13 22:16:14 +0000
commitde36573403f0d40c011db5b55baf0865ce612fd0 (patch)
tree01f909ac0356cd75d5d882b23ee024d78cc8cb72 /net-p2p/vuze/files
parentbf60ca613f45212ec128ef809354e26e916558d7 (diff)
downloadports-de36573403f0d40c011db5b55baf0865ce612fd0.tar.gz
ports-de36573403f0d40c011db5b55baf0865ce612fd0.zip
Notes
Diffstat (limited to 'net-p2p/vuze/files')
-rw-r--r--net-p2p/vuze/files/azureus2
-rw-r--r--net-p2p/vuze/files/build.xml46
2 files changed, 47 insertions, 1 deletions
diff --git a/net-p2p/vuze/files/azureus b/net-p2p/vuze/files/azureus
index 5871a852c4f8..b58835467a73 100644
--- a/net-p2p/vuze/files/azureus
+++ b/net-p2p/vuze/files/azureus
@@ -15,7 +15,7 @@ ECLIPSE_WS=`echo "${ECLIPSE_SWT}" | sed -e "s+^${ECLIPSE_BASE}/plugins/org.eclip
ECLIPSE_SWT_JAR=${ECLIPSE_SWT}/ws/${ECLIPSE_WS}
LIB_PATH=${ECLIPSE_SWT}/os/freebsd/x86/
-CLASS_PATH=:%%JAVAJARDIR%%/Azureus2.jar:${ECLIPSE_SWT_JAR}/swt-mozilla.jar:${ECLIPSE_SWT_JAR}/swt-pi.jar:${ECLIPSE_SWT_JAR}/swt.jar
+CLASS_PATH=:%%JAVAJARDIR%%/%%JARFILE%%:${ECLIPSE_SWT_JAR}/swt-pi.jar:${ECLIPSE_SWT_JAR}/swt.jar
if [ "${DEBUG}" ]
then
diff --git a/net-p2p/vuze/files/build.xml b/net-p2p/vuze/files/build.xml
new file mode 100644
index 000000000000..fc1523321b80
--- /dev/null
+++ b/net-p2p/vuze/files/build.xml
@@ -0,0 +1,46 @@
+<!-- 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}">
+ <include name="**/*.java"/>
+ <exclude name="**/Win32*.java"/>
+ <exclude name="**/swt/osx/**"/>
+ <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" />
+ </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>