ports/165820: [PATCH] x11-toolkits/libXaw: Respect
NOPORTDOCS env var
Michael Scheidell
scheidell at FreeBSD.org
Fri Mar 23 23:30:19 UTC 2012
The following reply was made to PR ports/165820; it has been noted by GNATS.
From: Michael Scheidell <scheidell at FreeBSD.org>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/165820: [PATCH] x11-toolkits/libXaw: Respect
NOPORTDOCS env var
Date: Fri, 23 Mar 2012 19:27:20 -0400 (EDT)
--ELM1332545240-46406-0_
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
PORTDOCS=* magic as suggested by crees@
--
Michael Scheidell, CTO
SECNAP Network Security Corporation
http://people.freebsd.org/~scheidell
______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r).
For Information please see http://www.spammertrap.com/
______________________________________________________________________
--ELM1332545240-46406-0_
Content-Transfer-Encoding: 7bit
Content-Type: text/x-patch
Content-Disposition: attachment; filename="pr_165820.patch"
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11-toolkits/libXaw/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- Makefile 7 Feb 2012 01:18:20 -0000 1.28
+++ Makefile 23 Mar 2012 23:24:29 -0000
@@ -18,6 +18,14 @@
USE_GMAKE= yes
CONFIGURE_ARGS+=--without-xmlto
+.if defined(NOPORTDOCS)
+CONFIGURE_ARGS+=--disable-specs
+post-configure:
+ @${REINPLACE_CMD} -e '/AM_MAKEFLAGS/s/ install-exec-am install-data-am/ install-exec-am/' ${WRKSRC}/specs/Makefile
+.else
+PORTDOCS= *
+.endif
+
MAN3= Xaw.3
.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/x11-toolkits/libXaw/pkg-plist,v
retrieving revision 1.8
diff -u -r1.8 pkg-plist
--- pkg-plist 25 Feb 2011 16:52:50 -0000 1.8
+++ pkg-plist 23 Mar 2012 23:24:29 -0000
@@ -82,51 +82,4 @@
lib/libXaw7.so.7
libdata/pkgconfig/xaw6.pc
libdata/pkgconfig/xaw7.pc
-%%DOCSDIR%%/AsciiSink.xml
-%%DOCSDIR%%/AsciiSource.xml
-%%DOCSDIR%%/AsciiText.xml
-%%DOCSDIR%%/Box.xml
-%%DOCSDIR%%/CH1.xml
-%%DOCSDIR%%/CH2.xml
-%%DOCSDIR%%/CH3.xml
-%%DOCSDIR%%/CH4.xml
-%%DOCSDIR%%/CH5.xml
-%%DOCSDIR%%/CH6.xml
-%%DOCSDIR%%/CH7.xml
-%%DOCSDIR%%/Command.xml
-%%DOCSDIR%%/Dialog.xml
-%%DOCSDIR%%/Form.xml
-%%DOCSDIR%%/Grip.xml
-%%DOCSDIR%%/Label.xml
-%%DOCSDIR%%/List.xml
-%%DOCSDIR%%/MenuButton.xml
-%%DOCSDIR%%/Paned.xml
-%%DOCSDIR%%/Panner.xml
-%%DOCSDIR%%/Porthole.xml
-%%DOCSDIR%%/Repeater.xml
-%%DOCSDIR%%/Scrollbar.xml
-%%DOCSDIR%%/Simple.xml
-%%DOCSDIR%%/SimpleMenu.xml
-%%DOCSDIR%%/Sme.xml
-%%DOCSDIR%%/SmeBSB.xml
-%%DOCSDIR%%/SmeLine.xml
-%%DOCSDIR%%/StripChart.xml
-%%DOCSDIR%%/TPage_Credits.xml
-%%DOCSDIR%%/Template.xml
-%%DOCSDIR%%/Template_private_header_file.xml
-%%DOCSDIR%%/Template_public_header_file.xml
-%%DOCSDIR%%/Template_widget_source_file.xml
-%%DOCSDIR%%/Text.xml
-%%DOCSDIR%%/TextActions.xml
-%%DOCSDIR%%/TextActions_default_translation_bindings.xml
-%%DOCSDIR%%/TextActions_text_widget_actions.xml
-%%DOCSDIR%%/TextCustom.xml
-%%DOCSDIR%%/TextFuncs.xml
-%%DOCSDIR%%/TextSink.xml
-%%DOCSDIR%%/TextSource.xml
-%%DOCSDIR%%/Toggle.xml
-%%DOCSDIR%%/Tree.xml
-%%DOCSDIR%%/Viewport.xml
-%%DOCSDIR%%/libXaw.xml
- at dirrmtry %%DOCSDIR%%
@dirrmtry include/X11/Xaw
--ELM1332545240-46406-0_--
More information about the freebsd-x11
mailing list