[PATCH] devel/p5-DateTime-Locale: FIX NOPORTDOCS to OptionsNG.

Takefu takefu at airport.fm
Tue Sep 3 06:29:14 UTC 2013


>Submitter-Id:	current-users
>Originator:	Takefu
>Organization:	FOX Amateur Radio Club
>Confidential:	no 
>Synopsis:	[PATCH] devel/p5-DateTime-Locale: FIX NOPORTDOCS to OptionsNG.
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 8.4-RELEASE-p1 i386
>Environment:
System: FreeBSD RELENG84-ix86.localIPv4.airport.fm 8.4-RELEASE-p1 FreeBSD 8.4-RELEASE-p1 #0: Fri Jun 28 03:46:37 UTC 2013
>Description:
  Adjust NOPORTDOCS to OptionsNG.

Port maintainer (perl at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- p5-DateTime-Locale-0.45.patch begins here ---
diff -ruN /usr/ports/devel/p5-DateTime-Locale/Makefile ./Makefile
--- /usr/ports/devel/p5-DateTime-Locale/Makefile	2013-08-03 03:52:07.000000000 +0900
+++ ./Makefile	2013-09-03 14:58:20.000000000 +0900
@@ -490,10 +490,14 @@
 	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}."
--- p5-DateTime-Locale-0.45.patch ends here --


More information about the freebsd-perl mailing list