aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-12-01 08:04:31 +0800
committerlioux <lioux@FreeBSD.org>2004-12-01 08:04:31 +0800
commite1a76b717e0c6e96a8a6395ee92e4d857c43a57b (patch)
tree11ae4a6e69802ac22a0a72365f35ce94a90b41a8 /net-p2p
parentb9c3df6ace153384676068728f32b4570aacf224 (diff)
downloadfreebsd-ports-gnome-e1a76b717e0c6e96a8a6395ee92e4d857c43a57b.tar.gz
freebsd-ports-gnome-e1a76b717e0c6e96a8a6395ee92e4d857c43a57b.tar.zst
freebsd-ports-gnome-e1a76b717e0c6e96a8a6395ee92e4d857c43a57b.zip
o Update to 2.0.0.76
o Update FILESDIR/wrapper.sh wrapper script to new javavmwrapper behavior
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/phex/Makefile12
-rw-r--r--net-p2p/phex/distinfo4
-rw-r--r--net-p2p/phex/files/wrapper.sh3
-rw-r--r--net-p2p/phex/pkg-plist2
4 files changed, 14 insertions, 7 deletions
diff --git a/net-p2p/phex/Makefile b/net-p2p/phex/Makefile
index a9f5f8370ad0..3991ebfb4ac4 100644
--- a/net-p2p/phex/Makefile
+++ b/net-p2p/phex/Makefile
@@ -6,17 +6,16 @@
#
PORTNAME= phex
-PORTVERSION= 0.8.0.34
-PORTREVISION= 1
+PORTVERSION= 2.0.0.76
CATEGORIES= net java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}_${PORTVERSION}_j2se1.3
+DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
COMMENT= A Java multi platform and spyware free gnutella client
-USE_JAVA= 1.3+
+USE_JAVA= 1.4+
USE_PERL5_BUILD=yes
USE_SIZE= yes
USE_ZIP= yes
@@ -25,18 +24,21 @@ NO_BUILD_DEPENDS_JAVA= yes
PLIST_SUB= JAR_DIR=${JAR_DIR} \
JAR_FILE=${JAR_FILE}
-JAVAVM= ${LOCALBASE}/bin/javavm
+JAVAVM= ${LOCALBASE}/bin/java
JAR_DIR= share/java/jar/${PORTNAME}/
JAR_MANIFEST= ${FILESDIR}/manifest
DOC_FILES= Phex_other.htm Phex_win.htm
JAR_FILES= crimson-rt.jar jaxb-api.jar jaxb-libs-rt.jar \
+ forms-1.0.4.jar \
+ looks-1.2.2.jar \
jaxb-ri-rt.jar jaxp.jar phex.jar
post-patch:
# remove trailing ^M
@${PERL} -pi -ne 's!\r\n!\n!' ${WRKSRC}/docs/readme/*
@${SED} -e "s|%%JAR_DIR%%|${JAR_DIR}|;s|%%JAR_FILE%%|${JAR_FILE}|; \
+ s|%%JAVA_VERSION%%|${USE_JAVA}|; \
s|%%JAVAVM%%|${JAVAVM}|;s|%%PREFIX%%|${PREFIX}|" \
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
diff --git a/net-p2p/phex/distinfo b/net-p2p/phex/distinfo
index 0939248fbdfe..36c8f60200b6 100644
--- a/net-p2p/phex/distinfo
+++ b/net-p2p/phex/distinfo
@@ -1,2 +1,2 @@
-MD5 (phex_0.8.0.34_j2se1.3.zip) = 416ea3019571f891ef252bb09abf8f45
-SIZE (phex_0.8.0.34_j2se1.3.zip) = 1143349
+MD5 (phex_2.0.0.76.zip) = 906650ec01b9d647b97d1fa6f3f79610
+SIZE (phex_2.0.0.76.zip) = 2120002
diff --git a/net-p2p/phex/files/wrapper.sh b/net-p2p/phex/files/wrapper.sh
index 0f4e2ba5d1b1..9f50395b16ae 100644
--- a/net-p2p/phex/files/wrapper.sh
+++ b/net-p2p/phex/files/wrapper.sh
@@ -1,6 +1,9 @@
#!/bin/sh
+export JAVA_VERSION
+
PREFIX="%%PREFIX%%"
+JAVA_VERSION="%%JAVA_VERSION%%"
JAVAVM="%%JAVAVM%%"
JAR_DIR="%%JAR_DIR%%"
JAR_FILE="%%JAR_FILE%%"
diff --git a/net-p2p/phex/pkg-plist b/net-p2p/phex/pkg-plist
index c0a2b8ddc841..56e7445b99bf 100644
--- a/net-p2p/phex/pkg-plist
+++ b/net-p2p/phex/pkg-plist
@@ -2,10 +2,12 @@ bin/phex
%%PORTDOCS%%%%DOCSDIR%%/Phex_other.htm
%%PORTDOCS%%%%DOCSDIR%%/Phex_win.htm
%%JAR_DIR%%/crimson-rt.jar
+%%JAR_DIR%%/forms-1.0.4.jar
%%JAR_DIR%%/jaxb-api.jar
%%JAR_DIR%%/jaxb-libs-rt.jar
%%JAR_DIR%%/jaxb-ri-rt.jar
%%JAR_DIR%%/jaxp.jar
+%%JAR_DIR%%/looks-1.2.2.jar
%%JAR_DIR%%/phex.jar
%%PORTDOCS%%@dirrm share/doc/phex
@dirrm %%JAR_DIR%%