aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2014-02-17 04:37:03 +0800
committercrees <crees@FreeBSD.org>2014-02-17 04:37:03 +0800
commit135d503bcfb3f01cbb4a36c7db32b1372bedffc9 (patch)
treeb43b1246ccfac4c7649f2c73a9e78aef12cbfb33 /java
parentb93f19048898cca660b38fda033886738828241d (diff)
downloadfreebsd-ports-gnome-135d503bcfb3f01cbb4a36c7db32b1372bedffc9.tar.gz
freebsd-ports-gnome-135d503bcfb3f01cbb4a36c7db32b1372bedffc9.tar.zst
freebsd-ports-gnome-135d503bcfb3f01cbb4a36c7db32b1372bedffc9.zip
Fix build with DOCS-- requires build set up by src compilation.
Diffstat (limited to 'java')
-rw-r--r--java/jgraph/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/java/jgraph/Makefile b/java/jgraph/Makefile
index 5ff67964aa33..a026eeeb8968 100644
--- a/java/jgraph/Makefile
+++ b/java/jgraph/Makefile
@@ -31,10 +31,8 @@ JAVA_RUN= yes
BUILD_DEPENDS+= ${ANT_CMD}:${PORTSDIR}/devel/apache-ant
ANT_CMD?= ${LOCALBASE}/bin/ant
ANT= ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD}
-. if ${PORT_OPTIONS:MCOMPILE}
JAVA_BUILD= yes
ANT_TARGETS= jar
-. endif
. if ${PORT_OPTIONS:MDOCS}
ANT_TARGETS+= doc
PORTDOCS= *
@@ -60,8 +58,7 @@ do-install-jar:
do-install-javadoc:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC}/doc && ${FIND} . \
- | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.mk>