1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

o Pacify portlint(1) by cleaning up BUILD_DEPENDS

o This port now both builds and runs on amd64 arch as reported by
  others (I do not own hardware to verify that)

PR:		92210
Submitted by:	mi
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2006-02-19 08:44:52 +00:00
parent b21e279cb0
commit 906ac7fec5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156372
12 changed files with 75 additions and 21 deletions

View File

@ -19,13 +19,13 @@ COMMENT= A BitTorrent client written in Java
BUILD_DEPENDS= \
${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j \
${JAVALIBDIR}/commons-cli.jar:${PORTSDIR}/java/jakarta-commons-cli \
${LOCALBASE}/share/java/classes/junit.jar:${PORTSDIR}/java/junit \
${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \
${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 \
${JAVALIBDIR}/seda.jar:${PORTSDIR}/net/seda
RUN_DEPENDS= \
${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31
ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS= i386 amd64
USE_JAVA= yes
JAVA_BUILD= jdk
@ -35,13 +35,14 @@ JAVA_OS= native
USE_ANT= yes
USE_JIKES= no
USE_REINPLACE= yes
USE_ZIP= yes
USE_DOS2UNIX= org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java
NO_WRKSUBDIR= yes
JARFILE= ${PORTNAME}.jar
# build classpath from BUILD_DEPENDS
MAKE_ENV= LANG=C
CLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar}
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} bin/${PORTNAME}

View File

@ -1,3 +1,3 @@
MD5 (Azureus_2.3.0.6_source.zip) = d02357ee2917482fee1174a0dc549c5e
SHA256 (Azureus_2.3.0.6_source.zip) = 7244b8b379f6254d0adf3f43da240b415f982c496d63529a86eaf8e231ef120a
SIZE (Azureus_2.3.0.6_source.zip) = 4773566
MD5 (Azureus_2.4.0.0_source.zip) = cb0390f3e1d158453fca980c92050a56
SHA256 (Azureus_2.4.0.0_source.zip) = 1190c7281433ef9bdb32c3aac52d2c0fd31ff13114a2c569d31ccb1cc0d69d70
SIZE (Azureus_2.4.0.0_source.zip) = 5235489

View File

@ -19,7 +19,7 @@
<target name="compile" depends="init" description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="." destdir="${build}" fork="yes" memoryMaximumSize="64m">
<javac srcdir="." destdir="${build}" fork="yes" memoryMaximumSize="512m">
<include name="**/*.java"/>
<exclude name="**/Win32*.java"/>
<exclude name="**/swt/osx/**"/>

View File

@ -0,0 +1,17 @@
--- 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 :

View File

@ -19,13 +19,13 @@ COMMENT= A BitTorrent client written in Java
BUILD_DEPENDS= \
${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j \
${JAVALIBDIR}/commons-cli.jar:${PORTSDIR}/java/jakarta-commons-cli \
${LOCALBASE}/share/java/classes/junit.jar:${PORTSDIR}/java/junit \
${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \
${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 \
${JAVALIBDIR}/seda.jar:${PORTSDIR}/net/seda
RUN_DEPENDS= \
${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31
ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS= i386 amd64
USE_JAVA= yes
JAVA_BUILD= jdk
@ -35,13 +35,14 @@ JAVA_OS= native
USE_ANT= yes
USE_JIKES= no
USE_REINPLACE= yes
USE_ZIP= yes
USE_DOS2UNIX= org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java
NO_WRKSUBDIR= yes
JARFILE= ${PORTNAME}.jar
# build classpath from BUILD_DEPENDS
MAKE_ENV= LANG=C
CLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar}
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} bin/${PORTNAME}

View File

@ -1,3 +1,3 @@
MD5 (Azureus_2.3.0.6_source.zip) = d02357ee2917482fee1174a0dc549c5e
SHA256 (Azureus_2.3.0.6_source.zip) = 7244b8b379f6254d0adf3f43da240b415f982c496d63529a86eaf8e231ef120a
SIZE (Azureus_2.3.0.6_source.zip) = 4773566
MD5 (Azureus_2.4.0.0_source.zip) = cb0390f3e1d158453fca980c92050a56
SHA256 (Azureus_2.4.0.0_source.zip) = 1190c7281433ef9bdb32c3aac52d2c0fd31ff13114a2c569d31ccb1cc0d69d70
SIZE (Azureus_2.4.0.0_source.zip) = 5235489

View File

@ -19,7 +19,7 @@
<target name="compile" depends="init" description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="." destdir="${build}" fork="yes" memoryMaximumSize="64m">
<javac srcdir="." destdir="${build}" fork="yes" memoryMaximumSize="512m">
<include name="**/*.java"/>
<exclude name="**/Win32*.java"/>
<exclude name="**/swt/osx/**"/>

View File

@ -0,0 +1,17 @@
--- 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 :

View File

@ -19,13 +19,13 @@ COMMENT= A BitTorrent client written in Java
BUILD_DEPENDS= \
${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j \
${JAVALIBDIR}/commons-cli.jar:${PORTSDIR}/java/jakarta-commons-cli \
${LOCALBASE}/share/java/classes/junit.jar:${PORTSDIR}/java/junit \
${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \
${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 \
${JAVALIBDIR}/seda.jar:${PORTSDIR}/net/seda
RUN_DEPENDS= \
${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31
ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS= i386 amd64
USE_JAVA= yes
JAVA_BUILD= jdk
@ -35,13 +35,14 @@ JAVA_OS= native
USE_ANT= yes
USE_JIKES= no
USE_REINPLACE= yes
USE_ZIP= yes
USE_DOS2UNIX= org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java
NO_WRKSUBDIR= yes
JARFILE= ${PORTNAME}.jar
# build classpath from BUILD_DEPENDS
MAKE_ENV= LANG=C
CLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar}
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} bin/${PORTNAME}

View File

@ -1,3 +1,3 @@
MD5 (Azureus_2.3.0.6_source.zip) = d02357ee2917482fee1174a0dc549c5e
SHA256 (Azureus_2.3.0.6_source.zip) = 7244b8b379f6254d0adf3f43da240b415f982c496d63529a86eaf8e231ef120a
SIZE (Azureus_2.3.0.6_source.zip) = 4773566
MD5 (Azureus_2.4.0.0_source.zip) = cb0390f3e1d158453fca980c92050a56
SHA256 (Azureus_2.4.0.0_source.zip) = 1190c7281433ef9bdb32c3aac52d2c0fd31ff13114a2c569d31ccb1cc0d69d70
SIZE (Azureus_2.4.0.0_source.zip) = 5235489

View File

@ -19,7 +19,7 @@
<target name="compile" depends="init" description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="." destdir="${build}" fork="yes" memoryMaximumSize="64m">
<javac srcdir="." destdir="${build}" fork="yes" memoryMaximumSize="512m">
<include name="**/*.java"/>
<exclude name="**/Win32*.java"/>
<exclude name="**/swt/osx/**"/>

View File

@ -0,0 +1,17 @@
--- 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 :