diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2005-01-28 22:56:54 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2005-01-28 22:56:54 +0000 |
commit | c63e8b7aad632c94e0ffc9c48987f720a44eed03 (patch) | |
tree | b3faae6f426408ea3de25337da33b7d9bbdf01b1 /archivers/jzip.org | |
parent | - Update to 0.6.10 (diff) |
- Update to bsd.java.mk 2.0
- Add 'java' category
- Add a launcher shell script: 'jzip.org'
Notes
Notes:
svn path=/head/; revision=127567
Diffstat (limited to 'archivers/jzip.org')
-rw-r--r-- | archivers/jzip.org/Makefile | 13 | ||||
-rw-r--r-- | archivers/jzip.org/files/jzip.org.sh.in | 5 |
2 files changed, 14 insertions, 4 deletions
diff --git a/archivers/jzip.org/Makefile b/archivers/jzip.org/Makefile index 9b71ae835408..10fbd434f493 100644 --- a/archivers/jzip.org/Makefile +++ b/archivers/jzip.org/Makefile @@ -8,7 +8,7 @@ PORTNAME= jzip.org PORTVERSION= 0.2.0 -CATEGORIES= archivers +CATEGORIES= archivers java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= jzipdotorg DISTNAME= ${PORTNAME}${PORTVERSION}.src @@ -16,18 +16,23 @@ DISTNAME= ${PORTNAME}${PORTVERSION}.src MAINTAINER= ports@FreeBSD.org COMMENT= A WinZip like program written in java -PLIST_FILES= %%JAVAJARDIR%%/jzip.org.jar +RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper + +PLIST_FILES= %%JAVAJARDIR%%/jzip.org.jar bin/${PORTNAME} USE_ZIP= yes -USE_JAVA= 1.2+ -NEED_JAVAC= yes +USE_JAVA= yes +JAVA_VERSION= 1.2+ WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}.src +SUB_FILES= ${PORTNAME}.sh + do-build: @cd ${WRKSRC} && ${JAVAC} -d bin src/*.java && \ cd bin && ${JAR} cvfm jzip.org.jar manifest/MANIFEST.MF \ i18n/*.properties jzipdotorg/*.class images/*.png do-install: + @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} @${INSTALL_DATA} ${WRKSRC}/bin/${PORTNAME}.jar ${JAVAJARDIR} .include <bsd.port.mk> diff --git a/archivers/jzip.org/files/jzip.org.sh.in b/archivers/jzip.org/files/jzip.org.sh.in new file mode 100644 index 000000000000..1e1c53658c04 --- /dev/null +++ b/archivers/jzip.org/files/jzip.org.sh.in @@ -0,0 +1,5 @@ +#!/bin/sh +# +# $FreeBSD$ + +JAVA_VERSION=1.2+ "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/jzip.org.jar" "$@" |