Index: head/archivers/jzip.org/Makefile =================================================================== --- head/archivers/jzip.org/Makefile (revision 127566) +++ head/archivers/jzip.org/Makefile (revision 127567) @@ -1,33 +1,38 @@ # ex:ts=8 # Ports collection makefile for: jzip.org # Date created: Dec 24, 2003 # Whom: ijliao # # $FreeBSD$ # 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 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 Property changes on: head/archivers/jzip.org/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/archivers/jzip.org/files/jzip.org.sh.in =================================================================== --- head/archivers/jzip.org/files/jzip.org.sh.in (nonexistent) +++ head/archivers/jzip.org/files/jzip.org.sh.in (revision 127567) @@ -0,0 +1,5 @@ +#!/bin/sh +# +# $FreeBSD$ + +JAVA_VERSION=1.2+ "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/jzip.org.jar" "$@" Property changes on: head/archivers/jzip.org/files/jzip.org.sh.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property