aboutsummaryrefslogtreecommitdiff
path: root/lang/dmd2
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:24:35 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:24:35 +0000
commitfb921759707ace68a7e9d3b32c4d6c179381faf4 (patch)
tree7783ff0f0257a62f380e3b38e870e71e9f194186 /lang/dmd2
parentb26a28d61964b5c5877f0d97003ba7d9ec101b09 (diff)
downloadports-fb921759707ace68a7e9d3b32c4d6c179381faf4.tar.gz
ports-fb921759707ace68a7e9d3b32c4d6c179381faf4.zip
Notes
Diffstat (limited to 'lang/dmd2')
-rw-r--r--lang/dmd2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/dmd2/Makefile b/lang/dmd2/Makefile
index 0b35a7eb14e7..681a171b7998 100644
--- a/lang/dmd2/Makefile
+++ b/lang/dmd2/Makefile
@@ -23,6 +23,8 @@ LICENSE_NAME_DMD= Digital Mars license
LICENSE_FILE_DMD= ${WRKSRC}/backendlicense.txt
LICENSE_PERMS_DMD= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800000
@@ -96,7 +98,6 @@ do-install:
cd ${WRKSRC}/../phobos && ${COPYTREE_SHARE} std ${STAGEDIR}${MODULEDIR}
${MKDIR} ${STAGEDIR}${MODULEDIR}/../druntime
cd ${WRKSRC}/../druntime && ${COPYTREE_SHARE} import ${STAGEDIR}${MODULEDIR}/../druntime
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
cd ${WRKDIR}/dmd2 && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}
@@ -104,6 +105,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/../druntime/LICENSE ${STAGEDIR}${DOCSDIR}/druntime
${INSTALL_DATA} ${WRKSRC}/../druntime/README.md ${STAGEDIR}${DOCSDIR}/druntime
cd ${WRKSRC}/../druntime && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR}/druntime
-.endif
.include <bsd.port.post.mk>