[PATCH] devel/libsigc++: respect NOPORTDOCS
Rong-En Fan
rafan at freebsd.org
Thu Feb 15 00:12:58 UTC 2007
>Submitter-Id: current-users
>Originator: Rong-En Fan
>Organization: NTU CSIE
>Confidential: no
>Synopsis: [PATCH] devel/libsigc++: respect NOPORTDOCS
>Severity: non-critical
>Priority: low
>Category: ports
>Class: change-request
>Release: FreeBSD 6.2-PRERELEASE amd64
>Environment:
>Description:
- Respect NOPORTDOCS
Port maintainer (gnome at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- libsigc++-2.0.17_1.patch begins here ---
? libsigc++-2.0.17_1.tbz
Index: Makefile
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/devel/libsigc++20/Makefile,v
retrieving revision 1.43
diff -u -u -r1.43 Makefile
--- Makefile 28 Jan 2007 09:07:38 -0000 1.43
+++ Makefile 14 Feb 2007 23:51:12 -0000
@@ -31,5 +31,10 @@
post-patch:
@${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||; \
/^SUBDIRS =/s|examples||" ${WRKSRC}/Makefile.in
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e "/^install-data-am:/s/install-libsigc_docDATA//; \
+ s/^\(SUBDIRS =\).*/\1/" \
+ ${WRKSRC}/docs/Makefile.in
+.endif
.include <bsd.port.mk>
--- libsigc++-2.0.17_1.patch ends here ---
More information about the freebsd-gnome
mailing list