summaryrefslogtreecommitdiffstats
path: root/textproc/gnome-doc-utils
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-24 09:48:07 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-24 09:48:07 +0800
commitb1f22d367785867701f005ce31bc0172d27a93bc (patch)
tree2f25fb4df931ff141f1903b896ae1cda8e3d0277 /textproc/gnome-doc-utils
parent8cdf0c463cf11e2c5ef81e7da916e1c4edaa0910 (diff)
downloadmarcuscom-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/gnome-doc-utils')
-rw-r--r--textproc/gnome-doc-utils/Makefile10
1 files changed, 9 insertions, 1 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>