aboutsummaryrefslogtreecommitdiff
path: root/textproc/gdome2
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-03 14:09:17 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-03 14:09:17 +0000
commit6b4de2698636ccc6f6b7a341e63f08d05a73cb01 (patch)
treeaa7d1cdb860adb0016f7fed0c6f208abcb26070a /textproc/gdome2
parent846825312aa2fb296f9c628ea6423c337b94fc52 (diff)
downloadports-6b4de2698636ccc6f6b7a341e63f08d05a73cb01.tar.gz
ports-6b4de2698636ccc6f6b7a341e63f08d05a73cb01.zip
- Switch to options helpers
- Add some NO_ARCHes - Fix and unsilence some installation commands - Other minor fixes Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=395960
Diffstat (limited to 'textproc/gdome2')
-rw-r--r--textproc/gdome2/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/textproc/gdome2/Makefile b/textproc/gdome2/Makefile
index 9cce228bbc0c..a2d742c837a5 100644
--- a/textproc/gdome2/Makefile
+++ b/textproc/gdome2/Makefile
@@ -23,17 +23,7 @@ OPTIONS_DEFINE= DOCS
PORTDOCS= *
-.include <bsd.port.options.mk>
-
post-patch:
-.if ${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} -E -e \
- 's,^(HTML_DIR *= *).*,\1\$$(DESTDIR)$$(prefix)/share/doc,' \
- ${WRKSRC}/gtk-doc/Makefile.in
-.else
- @${REINPLACE_CMD} '/gtk-doc/d' ${WRKSRC}/Makefile.in
-.endif
-
@${FIND} ${WRKSRC} -type f -and \
'(' -name '*.[ch]' -or -name '*.xml' ')' | \
${XARGS} ${REINPLACE_CMD} -e ' \
@@ -46,6 +36,14 @@ post-patch:
s,<parserInternals\.h>,<libxml/parserInternals.h>,; \
s,<entities\.h>,<libxml/entities.h>,'
+post-patch-DOCS-on:
+ @${REINPLACE_CMD} -E -e \
+ 's,^(HTML_DIR *= *).*,\1\$$(DESTDIR)$$(prefix)/share/doc,' \
+ ${WRKSRC}/gtk-doc/Makefile.in
+
+post-patch-DOCS-off:
+ @${REINPLACE_CMD} '/gtk-doc/d' ${WRKSRC}/Makefile.in
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdome.so