diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-11-24 09:48:07 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-11-24 09:48:07 +0800 |
commit | b1f22d367785867701f005ce31bc0172d27a93bc (patch) | |
tree | 2f25fb4df931ff141f1903b896ae1cda8e3d0277 /textproc/gnomedocutils | |
parent | 8cdf0c463cf11e2c5ef81e7da916e1c4edaa0910 (diff) | |
download | marcuscom-ports-b1f22d367785867701f005ce31bc0172d27a93bc.tar marcuscom-ports-b1f22d367785867701f005ce31bc0172d27a93bc.tar.gz marcuscom-ports-b1f22d367785867701f005ce31bc0172d27a93bc.tar.bz2 marcuscom-ports-b1f22d367785867701f005ce31bc0172d27a93bc.tar.lz marcuscom-ports-b1f22d367785867701f005ce31bc0172d27a93bc.tar.xz marcuscom-ports-b1f22d367785867701f005ce31bc0172d27a93bc.tar.zst marcuscom-ports-b1f22d367785867701f005ce31bc0172d27a93bc.zip |
Use the correct mtree file.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3120 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc/gnomedocutils')
-rw-r--r-- | textproc/gnomedocutils/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
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> |