aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-DateTime-Locale
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2013-09-06 00:34:46 +0800
committerculot <culot@FreeBSD.org>2013-09-06 00:34:46 +0800
commit92cdf6e1ec1696b58367c18f230d8dfc38a706ab (patch)
tree0948726518a2804f910a5cdd2e7d42a370e0b0e1 /devel/p5-DateTime-Locale
parent79011439400ef310c1b644843c6c50e71ff49cac (diff)
downloadfreebsd-ports-gnome-92cdf6e1ec1696b58367c18f230d8dfc38a706ab.tar.gz
freebsd-ports-gnome-92cdf6e1ec1696b58367c18f230d8dfc38a706ab.tar.zst
freebsd-ports-gnome-92cdf6e1ec1696b58367c18f230d8dfc38a706ab.zip
- Convert to OptionsNG
PR: ports/181773 Submitted by: Takefu <takefu@airport.fm>
Diffstat (limited to 'devel/p5-DateTime-Locale')
-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}."