diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-01-21 07:47:58 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-01-21 07:47:58 +0000 |
commit | 4a5b2c81ea894a630d3f1829e79c0333baf07fdd (patch) | |
tree | ab0044c4b416905e059d9179ce1e45352a6aa977 /textproc/dom4j/Makefile | |
parent | 0c3af1c5af46ba1d388397171216ab580fcaceb3 (diff) | |
download | ports-4a5b2c81ea894a630d3f1829e79c0333baf07fdd.tar.gz ports-4a5b2c81ea894a630d3f1829e79c0333baf07fdd.zip |
Notes
Diffstat (limited to 'textproc/dom4j/Makefile')
-rw-r--r-- | textproc/dom4j/Makefile | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/textproc/dom4j/Makefile b/textproc/dom4j/Makefile index c1c41b61180f..c5068135660a 100644 --- a/textproc/dom4j/Makefile +++ b/textproc/dom4j/Makefile @@ -14,26 +14,17 @@ USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes +OPTIONS_DEFINE= DOCS + PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar -.if !defined(NOPORTDOCS) + PORTDOCS= * -.endif -NO_STAGE= yes do-install: - @${ECHO_MSG} -n ">> Installing JAR in ${JAVAJARDIR}..." - @cd ${WRKSRC} && \ - ${INSTALL_DATA} ${PORTNAME}-${PORTVERSION}.jar \ - ${JAVAJARDIR}/${PORTNAME}.jar - @${ECHO_MSG} " [ DONE ]" -.if !defined(NOPORTDOCS) - @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR} - @cd ${WRKSRC}/docs && ${FIND} . | \ - ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > \ - /dev/null 2>&1 - @${ECHO_MSG} " [ DONE ]" -.endif + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \ + ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> |