o Update to 2.0.0.76
o Update FILESDIR/wrapper.sh wrapper script to new javavmwrapper behavior
This commit is contained in:
parent
6e807f309c
commit
245b021e42
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122853
8 changed files with 28 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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%%"
|
||||
|
|
|
@ -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%%
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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%%"
|
||||
|
|
|
@ -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%%
|
||||
|
|
Loading…
Reference in a new issue