summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-10-25 08:59:02 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-10-25 08:59:02 +0000
commit0bfac83960437e8779979e0d2bb81def402b85b2 (patch)
tree91bcc64232a979629bb86d8b4833930199401076
parentnet/py-s3transfer: upgrade 0.1.5 to 0.1.8 (diff)
- Switch to options helpers
- Fix build on 9.x Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=424608
-rw-r--r--lang/erlang-wx/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/erlang-wx/Makefile b/lang/erlang-wx/Makefile
index 1a8360138de8..2c0c32dce08d 100644
--- a/lang/erlang-wx/Makefile
+++ b/lang/erlang-wx/Makefile
@@ -71,11 +71,11 @@ do-install:
cd ${WRKSRC}/lib/wx && ${COPYTREE_SHARE} include ${STAGEDIR}${APP_DIR}
cd ${WRKSRC}/lib/wx && ${COPYTREE_SHARE} priv ${STAGEDIR}${APP_DIR}
cd ${WRKSRC}/lib/wx && ${COPYTREE_SHARE} src ${STAGEDIR}${APP_DIR}
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
cd ${WRKSRC}/lib/wx && ${COPYTREE_SHARE} doc ${STAGEDIR}${APP_DIR}
${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
-C ${STAGEDIR}${PREFIX}/lib/erlang lib/wx-${APP_VERSION}
-.endif
- ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete
+ @${FIND} ${STAGEDIR}${APP_DIR} -type d -empty -delete
.include <bsd.port.mk>