- 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)
This commit is contained in:
Michael Scheidell 2012-05-08 19:00:52 +00:00
parent 2542e7f308
commit 449cee8a6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296240
2 changed files with 8 additions and 47 deletions

View File

@ -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>

View File

@ -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