diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile index 08c5ee28f78d..9aa21c79c6ee 100644 --- a/x11-fonts/fontconfig/Makefile +++ b/x11-fonts/fontconfig/Makefile @@ -1,68 +1,67 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/trunk/x11-fonts/fontconfig/Makefile 18637 2013-07-27 09:15:21Z kwm $ PORTNAME= fontconfig PORTVERSION= 2.11.0 -PORTREVISION?= 2 +PORTREVISION?= 3 PORTEPOCH?= 1 CATEGORIES= x11-fonts MASTER_SITES= http://www.freedesktop.org/software/fontconfig/release/ MAINTAINER= gnome@FreeBSD.org COMMENT= XML-based font configuration API for X Windows -USE_BZIP2= yes +USES= tar:bzip2 .if !defined(REFERENCE_PORT) LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libexpat.so:${PORTSDIR}/textproc/expat2 +USES+= gmake libtool:keepla pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes -USES= gmake pathfix pkgconfig -USE_GNOME= ltverhack CONFIGURE_ARGS= --with-configdir=${PREFIX}/etc/fonts/conf.d \ --with-templatedir=${PREFIX}/etc/fonts/conf.avail \ --with-xmldir=${PREFIX}/etc/fonts \ --with-expat-includes=${LOCALBASE}/include \ --with-expat-lib=${LOCALBASE}/lib \ --with-default-fonts=${PREFIX}/share/fonts \ --with-add-fonts=${LOCALBASE}/lib/X11/fonts \ --with-cache-dir=/var/db/fontconfig \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ --disable-docs MAKE_ENV= LC_ALL=C PKGINSTALL= ${WRKDIR}/pkg-install MAN1PAGES= fc-cache.1 fc-cat.1 fc-list.1 fc-match.1 fc-query.1 fc-scan.1 MAN5PAGES= fonts-conf.5 PORTDOCS= fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt .include # work around fc-cache crash on arm platform .if ${ARCH} == arm || ${ARCH} == armv6 USE_GCC= any .endif post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} .endif ${INSTALL_MAN} ${MAN5PAGES:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${PREFIX}/man/man5 .for manpage in ${MAN1PAGES} ${INSTALL_MAN} ${FILESDIR}/${manpage} ${STAGEDIR}${PREFIX}/man/man1 .endfor ${INSTALL_DATA} ${WRKSRC}/fonts.conf \ ${STAGEDIR}${PREFIX}/etc/fonts/fonts.conf.default @${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \ s|%%LOCALBASE%%|${LOCALBASE}|' < ${FILESDIR}/pkg-install.in \ > ${PKGINSTALL} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfontconfig.so.1 .include .endif diff --git a/x11-fonts/fontconfig/pkg-plist b/x11-fonts/fontconfig/pkg-plist index 8d366a9ae685..14668b487413 100644 --- a/x11-fonts/fontconfig/pkg-plist +++ b/x11-fonts/fontconfig/pkg-plist @@ -1,77 +1,78 @@ bin/fc-cache bin/fc-cat bin/fc-list bin/fc-match bin/fc-pattern bin/fc-query bin/fc-scan bin/fc-validate etc/fonts/conf.avail/10-autohint.conf etc/fonts/conf.avail/10-no-sub-pixel.conf etc/fonts/conf.avail/10-scale-bitmap-fonts.conf etc/fonts/conf.avail/10-sub-pixel-bgr.conf etc/fonts/conf.avail/10-sub-pixel-rgb.conf etc/fonts/conf.avail/10-sub-pixel-vbgr.conf etc/fonts/conf.avail/10-sub-pixel-vrgb.conf etc/fonts/conf.avail/10-unhinted.conf etc/fonts/conf.avail/11-lcdfilter-default.conf etc/fonts/conf.avail/11-lcdfilter-legacy.conf etc/fonts/conf.avail/11-lcdfilter-light.conf etc/fonts/conf.avail/20-unhint-small-vera.conf etc/fonts/conf.avail/25-unhint-nonlatin.conf etc/fonts/conf.avail/30-metric-aliases.conf etc/fonts/conf.avail/30-urw-aliases.conf etc/fonts/conf.avail/40-nonlatin.conf etc/fonts/conf.avail/45-latin.conf etc/fonts/conf.avail/49-sansserif.conf etc/fonts/conf.avail/50-user.conf etc/fonts/conf.avail/51-local.conf etc/fonts/conf.avail/60-latin.conf etc/fonts/conf.avail/65-fonts-persian.conf etc/fonts/conf.avail/65-khmer.conf etc/fonts/conf.avail/65-nonlatin.conf etc/fonts/conf.avail/69-unifont.conf etc/fonts/conf.avail/70-no-bitmaps.conf etc/fonts/conf.avail/70-yes-bitmaps.conf etc/fonts/conf.avail/80-delicious.conf etc/fonts/conf.avail/90-synthetic.conf etc/fonts/conf.d/10-scale-bitmap-fonts.conf etc/fonts/conf.d/20-unhint-small-vera.conf etc/fonts/conf.d/30-metric-aliases.conf etc/fonts/conf.d/30-urw-aliases.conf etc/fonts/conf.d/40-nonlatin.conf etc/fonts/conf.d/45-latin.conf etc/fonts/conf.d/49-sansserif.conf etc/fonts/conf.d/50-user.conf etc/fonts/conf.d/51-local.conf etc/fonts/conf.d/60-latin.conf etc/fonts/conf.d/65-fonts-persian.conf etc/fonts/conf.d/65-nonlatin.conf etc/fonts/conf.d/69-unifont.conf etc/fonts/conf.d/80-delicious.conf etc/fonts/conf.d/90-synthetic.conf etc/fonts/conf.d/README @unexec if cmp -s %D/etc/fonts/fonts.conf %D/etc/fonts/fonts.conf.default; then rm -f %D/etc/fonts/fonts.conf; fi etc/fonts/fonts.conf.default @exec [ -f %B/fonts.conf ] || cp %B/%f %B/fonts.conf etc/fonts/fonts.dtd include/fontconfig/fcfreetype.h include/fontconfig/fcprivate.h include/fontconfig/fontconfig.h lib/libfontconfig.a lib/libfontconfig.la lib/libfontconfig.so lib/libfontconfig.so.1 +lib/libfontconfig.so.1.8.0 libdata/pkgconfig/fontconfig.pc man/man1/fc-cache.1.gz man/man1/fc-cat.1.gz man/man1/fc-list.1.gz man/man1/fc-match.1.gz man/man1/fc-query.1.gz man/man1/fc-scan.1.gz man/man5/fonts-conf.5.gz @dirrm include/fontconfig @dirrmtry etc/fonts/conf.d @dirrmtry etc/fonts/conf.avail @dirrmtry etc/fonts @unexec rm -rf /var/db/fontconfig 2>/dev/null || true