diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/gnome-doc-utils/Makefile | 10 | ||||
-rw-r--r-- | textproc/gnomedocutils/Makefile | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/textproc/gnome-doc-utils/Makefile b/textproc/gnome-doc-utils/Makefile index 502f5837a..13eeaa760 100644 --- a/textproc/gnome-doc-utils/Makefile +++ b/textproc/gnome-doc-utils/Makefile @@ -32,9 +32,17 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ DOCBOOK_VERSION=4.1.2 +.include <bsd.port.pre.mk> + +.if ${X_WINDOW_SYSTEM:L} == xfree86-3 +MTREE_FILE= /etc/mtree/BSD.x11.dist +.else +MTREE_FILE= /etc/mtree/BSD.x11-4.dist +.endif + post-patch: @${REINPLACE_CMD} -e 's|4\.2|${DOCBOOK_VERSION}|g' \ ${WRKSRC}/doc/xslt/C/gnome-doc-xslt.xml \ ${WRKSRC}/doc/gnome-doc-make/C/gnome-doc-make.xml -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/textproc/gnomedocutils/Makefile b/textproc/gnomedocutils/Makefile index 502f5837a..13eeaa760 100644 --- a/textproc/gnomedocutils/Makefile +++ b/textproc/gnomedocutils/Makefile @@ -32,9 +32,17 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ DOCBOOK_VERSION=4.1.2 +.include <bsd.port.pre.mk> + +.if ${X_WINDOW_SYSTEM:L} == xfree86-3 +MTREE_FILE= /etc/mtree/BSD.x11.dist +.else +MTREE_FILE= /etc/mtree/BSD.x11-4.dist +.endif + post-patch: @${REINPLACE_CMD} -e 's|4\.2|${DOCBOOK_VERSION}|g' \ ${WRKSRC}/doc/xslt/C/gnome-doc-xslt.xml \ ${WRKSRC}/doc/gnome-doc-make/C/gnome-doc-make.xml -.include <bsd.port.mk> +.include <bsd.port.post.mk> |