Date: Tue, 03 Sep 2013 15:28:33 +0900 From: Takefu <takefu@airport.fm> To: freebsd-gnats-submit@freebsd.org Cc: perl@freebsd.org Subject: [PATCH] devel/p5-DateTime-Locale: FIX NOPORTDOCS to OptionsNG. Message-ID: <52258191.9060004@airport.fm> In-Reply-To: <20130903060538.573F36D5DB@RELENG84-ix86.localIPv4.airport.fm> References: <20130903060538.573F36D5DB@RELENG84-ix86.localIPv4.airport.fm>
next in thread | previous in thread | raw e-mail | index | archive | help
>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@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 --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52258191.9060004>
