aboutsummaryrefslogtreecommitdiffstats
path: root/java/jlex
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-05-31 22:04:01 +0800
committerpawel <pawel@FreeBSD.org>2014-05-31 22:04:01 +0800
commit9eed5fb7a517e2cd33a39db275f453f6d45d4aed (patch)
tree1247c0e2b5bf4a4baad74a2819eb2654480b3282 /java/jlex
parent0e7a8698f01acf4eb6776ca44e167e780dbd858e (diff)
downloadfreebsd-ports-gnome-9eed5fb7a517e2cd33a39db275f453f6d45d4aed.tar.gz
freebsd-ports-gnome-9eed5fb7a517e2cd33a39db275f453f6d45d4aed.tar.zst
freebsd-ports-gnome-9eed5fb7a517e2cd33a39db275f453f6d45d4aed.zip
- Add staging support
- Remove leading article from COMMENT
Diffstat (limited to 'java/jlex')
-rw-r--r--java/jlex/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/java/jlex/Makefile b/java/jlex/Makefile
index 75891879027e..70224319ac10 100644
--- a/java/jlex/Makefile
+++ b/java/jlex/Makefile
@@ -11,7 +11,7 @@ EXTRACT_SUFX= .java
EXTRACT_ONLY= #
MAINTAINER= ports@FreeBSD.org
-COMMENT= A lexical analyzer generator, written for Java, in Java
+COMMENT= Lexical analyzer generator, written for Java, in Java
PLIST_FILES= %%JAVAJARDIR%%/jlex.jar bin/jlex
USE_JAVA= yes
@@ -20,7 +20,6 @@ NO_WRKSUBDIR= yes
SUB_FILES= jlex.sh pkg-message
SUB_LIST= JAVAJARDIR=${JAVAJARDIR}
-NO_STAGE= yes
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@@ -32,12 +31,7 @@ do-build:
${JAR} cf ${PORTNAME}.jar JLex/*.class
do-install:
- @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${JAVAJARDIR}
- @${INSTALL_SCRIPT} ${WRKDIR}/jlex.sh ${PREFIX}/bin/jlex
-
-post-install:
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG}
+ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/jlex.sh ${STAGEDIR}${PREFIX}/bin/jlex
.include <bsd.port.mk>