Stagify.
Approved by: portmgr@
This commit is contained in:
parent
f2dc0757ae
commit
5a10f3e51c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358072
1 changed files with 7 additions and 8 deletions
|
@ -28,23 +28,22 @@ PORTDOCS= *
|
|||
|
||||
SUB_FILES= jflex.sh
|
||||
|
||||
NO_STAGE= yes
|
||||
post-extract:
|
||||
${MKDIR} ${WRKSRC}/tools
|
||||
${CP} ${DISTDIR}/JFlex.jar ${WRKSRC}/tools/
|
||||
${CP} ${DISTDIR}/java_cup.jar ${WRKSRC}/tools/
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/jflex.sh ${PREFIX}/bin/jflex
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/JFlex.jar ${JAVAJARDIR}/JFlex.jar
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/jflex.sh ${STAGEDIR}${PREFIX}/bin/jflex
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/JFlex.jar ${STAGEDIR}${JAVAJARDIR}/JFlex.jar
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.for EXAMPLE in binary byaccj cup interpreter java simple standalone
|
||||
${MKDIR} ${EXAMPLESDIR}/${EXAMPLE}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/${EXAMPLE}/* ${EXAMPLESDIR}/${EXAMPLE}
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${EXAMPLE}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/${EXAMPLE}/* ${STAGEDIR}${EXAMPLESDIR}/${EXAMPLE}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue