summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fonts/fontconfig/Makefile8
-rw-r--r--fonts/fontconfig/PLIST3
-rw-r--r--fonts/fontconfig/files/30-pkgsrc-aliases.conf9
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>