diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-03 14:09:17 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-03 14:09:17 +0000 |
commit | 6b4de2698636ccc6f6b7a341e63f08d05a73cb01 (patch) | |
tree | aa7d1cdb860adb0016f7fed0c6f208abcb26070a /textproc/gdome2 | |
parent | 846825312aa2fb296f9c628ea6423c337b94fc52 (diff) | |
download | ports-6b4de2698636ccc6f6b7a341e63f08d05a73cb01.tar.gz ports-6b4de2698636ccc6f6b7a341e63f08d05a73cb01.zip |
Notes
Diffstat (limited to 'textproc/gdome2')
-rw-r--r-- | textproc/gdome2/Makefile | 18 |
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 |