diff options
-rw-r--r-- | lang/erlang-java/Makefile | 5 |
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> |