aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/phex
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-12-01 00:04:31 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-12-01 00:04:31 +0000
commit245b021e428654f4483fc47b969c6111366a0b25 (patch)
treea3bb4d9e6dd6d81d011568ea3f3165d8672f318d /net-p2p/phex
parent6e807f309c1406ea17a7d5ab1c65c1782fc98444 (diff)
downloadports-245b021e428654f4483fc47b969c6111366a0b25.tar.gz
ports-245b021e428654f4483fc47b969c6111366a0b25.zip
Notes
Diffstat (limited to 'net-p2p/phex')
-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%%