- 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
1 changed files with 3 additions and 9 deletions
|
@ -11,7 +11,7 @@ EXTRACT_SUFX= .java
|
||||||
EXTRACT_ONLY= #
|
EXTRACT_ONLY= #
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
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
|
PLIST_FILES= %%JAVAJARDIR%%/jlex.jar bin/jlex
|
||||||
USE_JAVA= yes
|
USE_JAVA= yes
|
||||||
|
@ -20,7 +20,6 @@ NO_WRKSUBDIR= yes
|
||||||
SUB_FILES= jlex.sh pkg-message
|
SUB_FILES= jlex.sh pkg-message
|
||||||
SUB_LIST= JAVAJARDIR=${JAVAJARDIR}
|
SUB_LIST= JAVAJARDIR=${JAVAJARDIR}
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
do-extract:
|
do-extract:
|
||||||
@${RM} -rf ${WRKDIR}
|
@${RM} -rf ${WRKDIR}
|
||||||
@${MKDIR} ${WRKDIR}
|
@${MKDIR} ${WRKDIR}
|
||||||
|
@ -32,12 +31,7 @@ do-build:
|
||||||
${JAR} cf ${PORTNAME}.jar JLex/*.class
|
${JAR} cf ${PORTNAME}.jar JLex/*.class
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${JAVAJARDIR}
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}
|
||||||
@${INSTALL_SCRIPT} ${WRKDIR}/jlex.sh ${PREFIX}/bin/jlex
|
${INSTALL_SCRIPT} ${WRKDIR}/jlex.sh ${STAGEDIR}${PREFIX}/bin/jlex
|
||||||
|
|
||||||
post-install:
|
|
||||||
@${ECHO_MSG}
|
|
||||||
@${CAT} ${PKGMESSAGE}
|
|
||||||
@${ECHO_MSG}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Reference in a new issue