diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-08 12:28:10 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-08 12:28:10 +0800 |
commit | 213ce9409fd4c2c0e0a59565137e80eb0529a7d8 (patch) | |
tree | 81c990c604ea0cf12c9a686450adff8df58fb7c6 /x11-fonts/fontconfig/Makefile | |
parent | 5809736ecc830f3b41f7bb486deb94120bbce920 (diff) | |
download | marcuscom-ports-213ce9409fd4c2c0e0a59565137e80eb0529a7d8.tar marcuscom-ports-213ce9409fd4c2c0e0a59565137e80eb0529a7d8.tar.gz marcuscom-ports-213ce9409fd4c2c0e0a59565137e80eb0529a7d8.tar.bz2 marcuscom-ports-213ce9409fd4c2c0e0a59565137e80eb0529a7d8.tar.lz marcuscom-ports-213ce9409fd4c2c0e0a59565137e80eb0529a7d8.tar.xz marcuscom-ports-213ce9409fd4c2c0e0a59565137e80eb0529a7d8.tar.zst marcuscom-ports-213ce9409fd4c2c0e0a59565137e80eb0529a7d8.zip |
Update to 2.5.0. This is a stable release, but it's so critical, it should be
tested in MC for a while.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10020 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fonts/fontconfig/Makefile')
-rw-r--r-- | x11-fonts/fontconfig/Makefile | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile new file mode 100644 index 000000000..d3d33cf40 --- /dev/null +++ b/x11-fonts/fontconfig/Makefile @@ -0,0 +1,78 @@ +# New ports collection makefile for: fontconfig +# Date created: 06 October 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/x11-fonts/fontconfig/Makefile,v 1.12 2007/02/02 19:49:43 mezz Exp $ +# + +PORTNAME= fontconfig +PORTVERSION= 2.5.0 +PORTREVISION?= 0 +PORTEPOCH?= 1 +CATEGORIES= x11-fonts +MASTER_SITES= http://fontconfig.org/release/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An XML-based font configuration API for X Windows + +.if !defined(REFERENCE_PORT) + +LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ + expat.6:${PORTSDIR}/textproc/expat2 + +USE_GMAKE= yes +PREFIX?= ${X11BASE} +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool:15 +USE_GNOME= gnomehack gnometarget pkgconfig ltverhack +CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc/fonts \ + --with-expat-includes=${LOCALBASE}/include \ + --with-expat-lib=${LOCALBASE}/lib \ + --with-default-fonts=${X11BASE}/lib/X11/fonts \ + --with-cache-dir=/var/db/fontconfig \ + --without-add-fonts \ + --disable-docs +MAKE_ENV= LC_ALL=C +PKGINSTALL= ${WRKDIR}/pkg-install + +MAN1= fc-cache.1 fc-cat.1 fc-list.1 fc-match.1 +MAN5= fonts-conf.5 +PORTDOCS= fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/bin/docbook2man) +USE_DOCBOOK2MAN= yes +BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-410 +.endif + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${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; \ + else \ + ${INSTALL_DATA} ${WRKSRC}/fonts.conf ${PREFIX}/etc/fonts/fonts.conf.default; \ + fi + @${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \ + s|%%X11BASE%%|${X11BASE}|' < ${FILESDIR}/pkg-install.in \ + > ${PKGINSTALL} +.if !defined(PACKAGE_BUILDING) + @${LDCONFIG} -m ${PREFIX}/lib + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + +.endif + +.include <bsd.port.post.mk> + +.endif |