aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-17 07:58:21 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-17 07:58:21 +0000
commit5a10f3e51cb80378b20a84ed36868133cbe930a2 (patch)
tree87bf289ecd1a398ee787e175cc7c4d8c06a1b571 /java
parentf2dc0757aeead60ece78ac35f3278d7ff6760b0a (diff)
downloadports-5a10f3e51cb80378b20a84ed36868133cbe930a2.tar.gz
ports-5a10f3e51cb80378b20a84ed36868133cbe930a2.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/jflex/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/java/jflex/Makefile b/java/jflex/Makefile
index 41babf6da63d..60e8955550b0 100644
--- a/java/jflex/Makefile
+++ b/java/jflex/Makefile
@@ -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>