From 3e69e5a6b7eb03491cf124906e54311e5f28a523 Mon Sep 17 00:00:00 2001 From: Herve Quiroz Date: Thu, 3 Feb 2005 02:14:53 +0000 Subject: - Update to bsd.java.mk 2.0 - Add a new launcher shell script: 'jlex' - Update pkg-message accordingly and bump PORTREVISION --- java/jlex/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'java/jlex/Makefile') diff --git a/java/jlex/Makefile b/java/jlex/Makefile index 5c0ea4f57014..785918200602 100644 --- a/java/jlex/Makefile +++ b/java/jlex/Makefile @@ -7,6 +7,7 @@ PORTNAME= jlex PORTVERSION= 1.2.6 +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/1.2.6/ DISTNAME= Main @@ -16,12 +17,12 @@ EXTRACT_ONLY= # MAINTAINER= ports@FreeBSD.org COMMENT= A lexical analyzer generator, written for Java, in Java -PLIST_FILES= %%JAVAJARDIR%%/jlex.jar -USE_JAVA= 1.1+ -NEED_JAVAC= yes +PLIST_FILES= %%JAVAJARDIR%%/jlex.jar bin/jlex +USE_JAVA= yes NO_WRKSUBDIR= yes PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= jlex.sh do-extract: @${RM} -rf ${WRKDIR} @@ -35,6 +36,7 @@ do-build: do-install: @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${JAVAJARDIR} + @${INSTALL_SCRIPT} ${WRKDIR}/jlex.sh ${PREFIX}/bin/jlex @${SED} s:%%JAVAJARDIR%%:${JAVAJARDIR}: < ${PKGDIR}/pkg-message \ > ${PKGMESSAGE} -- cgit v1.2.3