aboutsummaryrefslogtreecommitdiffstats
path: root/lang/dmd2
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 08:24:35 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 08:24:35 +0800
commit6dc78950e0c80495bfd57af06cfff20ee2bbc55e (patch)
tree7783ff0f0257a62f380e3b38e870e71e9f194186 /lang/dmd2
parentd93a96c3cc6bac03a611ffb3c80f89ee09e58d63 (diff)
downloadfreebsd-ports-gnome-6dc78950e0c80495bfd57af06cfff20ee2bbc55e.tar.gz
freebsd-ports-gnome-6dc78950e0c80495bfd57af06cfff20ee2bbc55e.tar.zst
freebsd-ports-gnome-6dc78950e0c80495bfd57af06cfff20ee2bbc55e.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
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>