aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2013-09-05 16:34:46 +0000
committerFrederic Culot <culot@FreeBSD.org>2013-09-05 16:34:46 +0000
commit5c43b7afe3bbba4068c0de940a0edc8d31372e51 (patch)
tree0948726518a2804f910a5cdd2e7d42a370e0b0e1 /devel
parentf985cdfe4c076d6ed44dd0170078863209895d79 (diff)
downloadports-5c43b7afe3bbba4068c0de940a0edc8d31372e51.tar.gz
ports-5c43b7afe3bbba4068c0de940a0edc8d31372e51.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-DateTime-Locale/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/p5-DateTime-Locale/Makefile b/devel/p5-DateTime-Locale/Makefile
index fdde887763da..65e006a97a4f 100644
--- a/devel/p5-DateTime-Locale/Makefile
+++ b/devel/p5-DateTime-Locale/Makefile
@@ -490,10 +490,14 @@ MAN3= \
DateTime::Locale::zu_ZA.3 \
DateTime::LocaleCatalog.3
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= Changes
+.endif
post-install:
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."