diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-11-13 06:26:20 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-11-13 06:26:20 +0800 |
commit | 6b284515960718b370cda10be25d4b4c788ad2be (patch) | |
tree | 303e0670fda9d37da4de2fe2560b37efe6752079 /x11-fonts/fontconfig/Makefile | |
parent | 16cf3f7108e779ce8030e353c20e6dacb0d6a980 (diff) | |
download | marcuscom-ports-6b284515960718b370cda10be25d4b4c788ad2be.tar marcuscom-ports-6b284515960718b370cda10be25d4b4c788ad2be.tar.gz marcuscom-ports-6b284515960718b370cda10be25d4b4c788ad2be.tar.bz2 marcuscom-ports-6b284515960718b370cda10be25d4b4c788ad2be.tar.lz marcuscom-ports-6b284515960718b370cda10be25d4b4c788ad2be.tar.xz marcuscom-ports-6b284515960718b370cda10be25d4b4c788ad2be.tar.zst marcuscom-ports-6b284515960718b370cda10be25d4b4c788ad2be.zip |
Do not register a dependency on docbook-utils since this will cause a
cyclic dependency. Instead, if docbook2man exists, it will be used
to generate manpages, else we will install our own.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7915 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fonts/fontconfig/Makefile')
-rw-r--r-- | x11-fonts/fontconfig/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile index 2936a6059..b9a41dcfd 100644 --- a/x11-fonts/fontconfig/Makefile +++ b/x11-fonts/fontconfig/Makefile @@ -3,7 +3,7 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD: ports/x11-fonts/fontconfig/Makefile,v 1.59 2006/10/16 20:42:01 mezz Exp $ -# $MCom: ports/x11-fonts/fontconfig/Makefile,v 1.8 2006/11/04 20:13:11 marcus Exp $ +# $MCom: ports/x11-fonts/fontconfig/Makefile,v 1.9 2006/11/12 20:06:52 marcus Exp $ # PORTNAME= fontconfig @@ -18,8 +18,6 @@ COMMENT= An XML-based font configuration API for X Windows .if !defined(REFERENCE_PORT) -BUILD_DEPENDS= docbook2html:${PORTSDIR}/textproc/docbook-utils \ - ${LOCALBASE}/share/sgml/docbook/4.1/catalog:${PORTSDIR}/textproc/docbook-410 LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ expat.6:${PORTSDIR}/textproc/expat2 @@ -45,6 +43,10 @@ PORTDOCS= fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt .include <bsd.port.pre.mk> +.if exists(${LOCALBASE}/bin/docbook2man) +USE_DOCBOOK2MAN= yes +.endif + .if ${X_WINDOW_SYSTEM:L} == xfree86-3 MTREE_FILE= /etc/mtree/BSD.x11.dist .else @@ -57,6 +59,11 @@ post-install: ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR} .endif ${INSTALL_MAN} ${MAN5:S|^|${WRKSRC}/doc/|} ${PREFIX}/man/man5 +.if !defined(USE_DOCBOOK2MAN) +.for manpage in ${MAN1} + ${INSTALL_MAN} ${FILESDIR}/${manpage} ${PREFIX}/man/man1 +.endfor +.endif if [ ! -f ${PREFIX}/etc/fonts/fonts.conf ]; then \ ${INSTALL_DATA} ${WRKSRC}/fonts.conf ${PREFIX}/etc/fonts/fonts.conf; \ ${INSTALL_DATA} ${WRKSRC}/fonts.conf ${PREFIX}/etc/fonts/fonts.conf.default; \ |