diff options
author | pawel <pawel@FreeBSD.org> | 2014-05-31 20:03:44 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-05-31 20:03:44 +0800 |
commit | 13f76b51d3d35d04584797b38c29e9a83dc1a550 (patch) | |
tree | 3fbd4642e97712540f2a6acdae098ce41256c94b | |
parent | 5c8df25049c199572b6c1aaceabefc0d5f7a447e (diff) | |
download | freebsd-ports-gnome-13f76b51d3d35d04584797b38c29e9a83dc1a550.tar.gz freebsd-ports-gnome-13f76b51d3d35d04584797b38c29e9a83dc1a550.tar.zst freebsd-ports-gnome-13f76b51d3d35d04584797b38c29e9a83dc1a550.zip |
- Add staging support
- Convert to new options framework
-rw-r--r-- | java/jasmin/Makefile | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/java/jasmin/Makefile b/java/jasmin/Makefile index dd8e7e648d69..19ec224c06ab 100644 --- a/java/jasmin/Makefile +++ b/java/jasmin/Makefile @@ -19,21 +19,14 @@ DOS2UNIX_REGEX= .*\.(txt|xml|j|class|java|mf|css|bnf|html) SUB_FILES= jasmin.sh -NO_STAGE= yes +OPTIONS_DEFINE= DOCS EXAMPLES + do-install: - ${INSTALL_DATA} ${WRKSRC}/jasmin.jar ${JAVAJARDIR} -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} - cd ${WRKSRC}/examples ; \ - ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/\{} \; ;\ - ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \; -.endif - ${INSTALL_SCRIPT} ${WRKDIR}/jasmin.sh ${PREFIX}/bin/jasmin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCDIR} - cd ${WRKSRC}/docs ; \ - ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; ;\ - ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \; -.endif + ${INSTALL_DATA} ${WRKSRC}/jasmin.jar ${STAGEDIR}${JAVAJARDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + ${INSTALL_SCRIPT} ${WRKDIR}/jasmin.sh ${STAGEDIR}${PREFIX}/bin/jasmin + @${MKDIR} ${STAGEDIR}${DOCDIR} + (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> |