diff options
author | drochner <drochner@pkgsrc.org> | 2009-04-07 19:27:57 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2009-04-07 19:27:57 +0000 |
commit | a64f0f58cd533ce1c832aded39d1fbc846b78737 (patch) | |
tree | b6a1ae04257ad9a0d157f4449d39f7fb3f08f972 | |
parent | fb13614a0ddf744f85b979dbbf68fa27b1254962 (diff) | |
download | pkgsrc-a64f0f58cd533ce1c832aded39d1fbc846b78737.tar.gz |
add an alias ZapfDingbats->Dingbats (as seen on Debian/Ubuntu), this
helps for checkmarks etc used in PDF forms (fixing the uglyness mentioned
in my last commit to pkgsrc/print/poppler)
bump PKGREVISION
-rw-r--r-- | fonts/fontconfig/Makefile | 8 | ||||
-rw-r--r-- | fonts/fontconfig/PLIST | 3 | ||||
-rw-r--r-- | fonts/fontconfig/files/30-pkgsrc-aliases.conf | 9 |
3 files changed, 18 insertions, 2 deletions
diff --git a/fonts/fontconfig/Makefile b/fonts/fontconfig/Makefile index 3dadbe88331..b93c78d2ae5 100644 --- a/fonts/fontconfig/Makefile +++ b/fonts/fontconfig/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.65 2008/06/21 18:47:44 wiz Exp $ +# $NetBSD: Makefile,v 1.66 2009/04/07 19:27:57 drochner Exp $ DISTNAME= fontconfig-2.6.0 +PKGREVISION= 1 CATEGORIES= fonts MASTER_SITES= http://www.fontconfig.org/release/ @@ -60,6 +61,7 @@ CONF_FILES+= ${EGDIR}/conf.d/65-nonlatin.conf ${PKG_SYSCONFDIR}/conf.d/65-nonlat CONF_FILES+= ${EGDIR}/conf.d/69-unifont.conf ${PKG_SYSCONFDIR}/conf.d/69-unifont.conf CONF_FILES+= ${EGDIR}/conf.d/80-delicious.conf ${PKG_SYSCONFDIR}/conf.d/80-delicious.conf CONF_FILES+= ${EGDIR}/conf.d/90-synthetic.conf ${PKG_SYSCONFDIR}/conf.d/90-synthetic.conf +CONF_FILES+= ${EGDIR}/conf.d/30-pkgsrc-aliases.conf ${PKG_SYSCONFDIR}/conf.d/30-pkgsrc-aliases.conf MAKE_DIRS+= ${VARBASE}/cache BUILD_DEFS+= VARBASE @@ -75,6 +77,10 @@ CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q} pre-configure: ${ECHO} '#define FC_ARCHITECTURE "@host_cpu@"' > ${WRKSRC}/fc-arch/fcarch.h.in +post-install: + ${INSTALL_DATA} ${FILESDIR}/30-pkgsrc-aliases.conf \ + ${EGDIR}/conf.d + .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" diff --git a/fonts/fontconfig/PLIST b/fonts/fontconfig/PLIST index 48d0eaad5b6..0c124d6a02e 100644 --- a/fonts/fontconfig/PLIST +++ b/fonts/fontconfig/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.16 2008/06/21 18:47:44 wiz Exp $ +@comment $NetBSD: PLIST,v 1.17 2009/04/07 19:27:57 drochner Exp $ bin/fc-cache bin/fc-cat bin/fc-list @@ -397,6 +397,7 @@ share/examples/fontconfig/conf.avail/90-synthetic.conf share/examples/fontconfig/conf.d/20-fix-globaladvance.conf share/examples/fontconfig/conf.d/20-unhint-small-vera.conf share/examples/fontconfig/conf.d/30-metric-aliases.conf +share/examples/fontconfig/conf.d/30-pkgsrc-aliases.conf share/examples/fontconfig/conf.d/30-urw-aliases.conf share/examples/fontconfig/conf.d/40-nonlatin.conf share/examples/fontconfig/conf.d/45-latin.conf diff --git a/fonts/fontconfig/files/30-pkgsrc-aliases.conf b/fonts/fontconfig/files/30-pkgsrc-aliases.conf new file mode 100644 index 00000000000..b7f08521d3d --- /dev/null +++ b/fonts/fontconfig/files/30-pkgsrc-aliases.conf @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<!-- $NetBSD: 30-pkgsrc-aliases.conf,v 1.1 2009/04/07 19:27:57 drochner Exp $ --> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias> + <family>ZapfDingbats</family> + <accept><family>Dingbats</family></accept> + </alias> +</fontconfig> |