mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Add staging support
- Remove leading article from COMMENT
This commit is contained in:
parent
e16b6dc6a1
commit
8a5080229f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355977
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user