aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libXaw
diff options
context:
space:
mode:
authorscheidell <scheidell@FreeBSD.org>2012-05-09 03:00:52 +0800
committerscheidell <scheidell@FreeBSD.org>2012-05-09 03:00:52 +0800
commit3b5d15ab2e691d7c4b6ec4433d95ec03cc1136d6 (patch)
tree407b2ab282430add0ad1f8d28c7be07e3e379530 /x11-toolkits/libXaw
parent8d5fe935190e5bdf1f72634e4438730f0721997b (diff)
downloadfreebsd-ports-gnome-3b5d15ab2e691d7c4b6ec4433d95ec03cc1136d6.tar.gz
freebsd-ports-gnome-3b5d15ab2e691d7c4b6ec4433d95ec03cc1136d6.tar.zst
freebsd-ports-gnome-3b5d15ab2e691d7c4b6ec4433d95ec03cc1136d6.zip
- Update Makefile to respect NOPORTDOCS
- Trim pkg-plist, use PORTDOCS= macro to enable easier updates in the future - No PORTREVISION bump since this does not change default package PR: ports/165820 Submitted by: scheidell@ (me) Approved by: x11 (maintainer, timeout 60 days)
Diffstat (limited to 'x11-toolkits/libXaw')
-rw-r--r--x11-toolkits/libXaw/Makefile8
-rw-r--r--x11-toolkits/libXaw/pkg-plist47
2 files changed, 8 insertions, 47 deletions
diff --git a/x11-toolkits/libXaw/Makefile b/x11-toolkits/libXaw/Makefile
index 2ece7ea71e1e..901d3822344f 100644
--- a/x11-toolkits/libXaw/Makefile
+++ b/x11-toolkits/libXaw/Makefile
@@ -18,6 +18,14 @@ USE_XORG= printproto:both x11 xau xext xextproto xmu xp xpm xproto:both xt
USE_GMAKE= yes
CONFIGURE_ARGS= --without-xmlto
+PORTDOCS= *
+
+.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
+.endif
+
MAN3= Xaw.3
.include <bsd.port.mk>
diff --git a/x11-toolkits/libXaw/pkg-plist b/x11-toolkits/libXaw/pkg-plist
index d8c4c79a0285..9d2af3b87a80 100644
--- a/x11-toolkits/libXaw/pkg-plist
+++ b/x11-toolkits/libXaw/pkg-plist
@@ -82,51 +82,4 @@ lib/libXaw7.so
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
-@dirrmtry %%DOCSDIR%%
@dirrmtry include/X11/Xaw