aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang-java
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-10-24 09:48:33 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-10-24 09:48:33 +0000
commit4fdf60743a4b1353bcbb700b1f238ba0dc40a77e (patch)
treee44c89ee9dcbd293049aaa9d49ec795fc0f0951b /lang/erlang-java
parent267aee4a64a27ea1091dafadfef35c42000f6b0a (diff)
downloadports-4fdf60743a4b1353bcbb700b1f238ba0dc40a77e.tar.gz
ports-4fdf60743a4b1353bcbb700b1f238ba0dc40a77e.zip
Notes
Diffstat (limited to 'lang/erlang-java')
-rw-r--r--lang/erlang-java/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/erlang-java/Makefile b/lang/erlang-java/Makefile
index 4ec0d4f369ab..0c73ad45d893 100644
--- a/lang/erlang-java/Makefile
+++ b/lang/erlang-java/Makefile
@@ -70,11 +70,10 @@ do-install:
cd ${WRKSRC}/lib/jinterface && ${COPYTREE_SHARE} ebin ${STAGEDIR}${APP_DIR}
cd ${WRKSRC}/lib/jinterface && ${COPYTREE_SHARE} java_src ${STAGEDIR}${APP_DIR}
${INSTALL_DATA} ${WRKSRC}/lib/jinterface/priv/OtpErlang.jar ${STAGEDIR}${APP_DIR}/priv
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
cd ${WRKSRC}/lib/jinterface && ${COPYTREE_SHARE} doc ${STAGEDIR}${APP_DIR}
${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
-C ${STAGEDIR}${PREFIX}/lib/erlang lib/jinterface-${APP_VERSION}
-.endif
- ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete
.include <bsd.port.mk>