diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-07-08 14:02:08 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-07-08 14:02:08 +0800 |
commit | 89a1532fd09512d2535176c3f6aa64cb1cb8b500 (patch) | |
tree | f15f67dee4852022d4cda1ceb70f2779819eed6b | |
parent | 7a8e18ea0445c343248be001481ade6c3d139148 (diff) | |
download | marcuscom-ports-89a1532fd09512d2535176c3f6aa64cb1cb8b500.tar marcuscom-ports-89a1532fd09512d2535176c3f6aa64cb1cb8b500.tar.gz marcuscom-ports-89a1532fd09512d2535176c3f6aa64cb1cb8b500.tar.bz2 marcuscom-ports-89a1532fd09512d2535176c3f6aa64cb1cb8b500.tar.lz marcuscom-ports-89a1532fd09512d2535176c3f6aa64cb1cb8b500.tar.xz marcuscom-ports-89a1532fd09512d2535176c3f6aa64cb1cb8b500.tar.zst marcuscom-ports-89a1532fd09512d2535176c3f6aa64cb1cb8b500.zip |
Update to 2.7.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12429 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11-fonts/fontconfig/Makefile | 71 | ||||
-rw-r--r-- | x11-fonts/fontconfig/distinfo | 3 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/fc-cache.1 | 75 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/fc-cat.1 | 44 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/fc-list.1 | 61 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/fc-match.1 | 51 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/fc-query.1 | 57 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/fc-scan.1 | 52 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/patch-Makefile.in | 53 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/pkg-install.in | 10 | ||||
-rw-r--r-- | x11-fonts/fontconfig/pkg-descr | 18 | ||||
-rw-r--r-- | x11-fonts/fontconfig/pkg-plist | 65 |
12 files changed, 560 insertions, 0 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile new file mode 100644 index 000000000..bd85d2316 --- /dev/null +++ b/x11-fonts/fontconfig/Makefile @@ -0,0 +1,71 @@ +# 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.18 2008/08/21 21:53:01 mezz Exp $ +# + +PORTNAME= fontconfig +PORTVERSION= 2.7.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 +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool:15 +USE_GNOME= gnomehack pkgconfig ltverhack +CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc/fonts \ + --with-expat-includes=${LOCALBASE}/include \ + --with-expat-lib=${LOCALBASE}/lib \ + --with-default-fonts=${LOCALBASE}/lib/X11/fonts \ + --with-cache-dir=/var/db/fontconfig \ + --without-add-fonts \ + --disable-docs +MAKE_ENV= LC_ALL=C +MAKE_JOBS_SAFE= yes +PKGINSTALL= ${WRKDIR}/pkg-install + +MAN1= fc-cache.1 fc-cat.1 fc-list.1 fc-match.1 fc-query.1 fc-scan.1 +MAN5= fonts-conf.5 +PORTDOCS= fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt + +.include <bsd.port.pre.mk> + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR} +.endif + ${INSTALL_MAN} ${MAN5:S|^|${WRKSRC}/doc/|} ${PREFIX}/man/man5 +.for manpage in ${MAN1} + ${INSTALL_MAN} ${FILESDIR}/${manpage} ${PREFIX}/man/man1 +.endfor + 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|%%LOCALBASE%%|${LOCALBASE}|' < ${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 diff --git a/x11-fonts/fontconfig/distinfo b/x11-fonts/fontconfig/distinfo new file mode 100644 index 000000000..75d9779e6 --- /dev/null +++ b/x11-fonts/fontconfig/distinfo @@ -0,0 +1,3 @@ +MD5 (fontconfig-2.7.0.tar.gz) = 7a9b3f53a7cf431d0acac13aab7573f7 +SHA256 (fontconfig-2.7.0.tar.gz) = d641d1cc3ec6d9a5dd5ed89c4b0982eb9be30be33b639a5fda22f3221dab6ee4 +SIZE (fontconfig-2.7.0.tar.gz) = 1539834 diff --git a/x11-fonts/fontconfig/files/fc-cache.1 b/x11-fonts/fontconfig/files/fc-cache.1 new file mode 100644 index 000000000..3d77bd59c --- /dev/null +++ b/x11-fonts/fontconfig/files/fc-cache.1 @@ -0,0 +1,75 @@ +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng <steve@ggi-project.org>. +.TH "FC-CACHE" "1" "05 May 2008" "" "" + +.SH NAME +fc-cache \- build font information cache files +.SH SYNOPSIS + +\fBfc-cache\fR [ \fB-fsvV?\fR ] [ \fB--force\fR ] [ \fB--system-only\fR ] [ \fB--verbose\fR ] [ \fB--version\fR ] [ \fB--help\fR ] [ \fB\fIdirs\fB\fR ] + +.SH "DESCRIPTION" +.PP +\fBfc-cache\fR scans the font directories on +the system and builds font information cache files for +applications using fontconfig for their font handling. +.PP +If directory arguments are not given, +\fBfc-cache\fR uses each directory in the +current font configuration. Each directory is scanned for +font files readable by FreeType. A cache is created which +contains properties of each font and the associated filename. +This cache is used to speed up application startup when using +the fontconfig library. +.PP +Note that \fBfc-cache\fR must be executed +once per architecture to generate font information customized +for that architecture. On a subsequent run, +\fBfc-cache\fR will augment the cache +information files with the information for the new +architecture. +.SH "OPTIONS" +.PP +This program follows the usual GNU command line syntax, +with long options starting with two dashes (`-'). A summary of +options is included below. +.TP +\fB-f --force \fR +Force re-generation of apparently up-to-date cache files, +overriding the timestamp checking. +.TP +\fB-s --system-only \fR +Only scan system-wide directories, omitting the places +located in the user's home directory. +.TP +\fB-v --verbose \fR +Display status information while busy. +.TP +\fB-? --help \fR +Show summary of options. +.TP +\fB-V --version \fR +Show version of the program and exit. +.TP +\fB\fIdirs\fB \fR +A list of directories to scan for fonts. +.SH "FILES" +.TP +\fB\fIfonts.cache-2\fB\fR +These files are generated by \fBfc-cache\fR +and contain maps from file names to font properties. They are +read by the fontconfig library at application startup to locate +appropriate fonts. +.SH "SEE ALSO" +.PP +\fBfc-list\fR (1). +.PP +The fontconfig user's guide, in HTML format: +\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR\&. +.SH "AUTHOR" +.PP +This manual page was written by Keith Packard +<keithp@keithp.com> and Josselin Mouette <joss@debian.org>\&. diff --git a/x11-fonts/fontconfig/files/fc-cat.1 b/x11-fonts/fontconfig/files/fc-cat.1 new file mode 100644 index 000000000..b025d7c5e --- /dev/null +++ b/x11-fonts/fontconfig/files/fc-cat.1 @@ -0,0 +1,44 @@ +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng <steve@ggi-project.org>. +.TH "FC-CAT" "1" "05 May 2008" "" "" + +.SH NAME +fc-cat \- read font information cache files +.SH SYNOPSIS + +\fBfc-cat\fR [ \fB-rvV?\fR ] [ \fB--recurse\fR ] [ \fB--verbose\fR ] [ \fB--version\fR ] [ \fB--help\fR ] [ \fB\fIfonts-cache-2-files\fB\fR ] [ \fB\fIdirs\fB\fR ] + +.SH "DESCRIPTION" +.PP +\fBfc-cat\fR reads the font information from +cache files or related to font directories +and emits it in ASCII form. +.SH "OPTIONS" +.PP +This program follows the usual GNU command line syntax, +with long options starting with two dashes (`-'). A summary of +options is included below. +.TP +\fB-r --recurse \fR +Recurse into subdirectories. +.TP +\fB-v --verbose \fR +Be verbose. +.TP +\fB-? --help \fR +Show summary of options. +.TP +\fB-V --version \fR +Show version of the program and exit. +.SH "SEE ALSO" +.PP +\fBfc-cache\fR (1). +.PP +The fontconfig user's guide, in HTML format: +\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR\&. +.SH "AUTHOR" +.PP +This manual page was written by Patrick Lam <plam@mit.edu>\&. diff --git a/x11-fonts/fontconfig/files/fc-list.1 b/x11-fonts/fontconfig/files/fc-list.1 new file mode 100644 index 000000000..6a0145db1 --- /dev/null +++ b/x11-fonts/fontconfig/files/fc-list.1 @@ -0,0 +1,61 @@ +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng <steve@ggi-project.org>. +.TH "FC-LIST" "1" "05 May 2008" "" "" + +.SH NAME +fc-list \- list available fonts +.SH SYNOPSIS + +\fBfc-list\fR [ \fB-vV?\fR ] [ \fB--verbose\fR ] [ \fB--version\fR ] [ \fB--help\fR ] [ \fB\fIpattern\fB\fR ] [ \fB\fIelement\fB\fR ] + +.SH "DESCRIPTION" +.PP +\fBfc-list\fR lists fonts and styles +available on the system for applications using fontconfig. +.SH "OPTIONS" +.PP +This program follows the usual GNU command line syntax, +with long options starting with two dashes (`-'). A summary of +options is included below. +.TP +\fB-v --verbose \fR +Display status information while busy. +.TP +\fB-? --help \fR +Show summary of options. +.TP +\fB-V --version \fR +Show version of the program and exit. +.TP +\fB\fIpattern\fB \fR +If this argument is set, only fonts matching +\fIpattern\fR are displayed. +.TP +\fB\fIelement\fB \fR +If set, the \fIelement\fR property +is displayed for matching fonts. +.SH "EXAMPLES" +.TP +\fBfc-list\fR +Lists all font faces. +.TP +\fBfc-list :lang=hi\fR +Lists font faces that cover Hindi. +.TP +\fBfc-list : family style file spacing \fR +Lists the filename and spacing value for each font +face. ``:'' is an empty pattern that matches all +fonts. +.SH "SEE ALSO" +.PP +\fBfc-cache\fR (1). +.PP +The fontconfig user's guide, in HTML format: +\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR\&. +.SH "AUTHOR" +.PP +This manual page was written by Keith Packard +<keithp@keithp.com> and Josselin Mouette <joss@debian.org>\&. diff --git a/x11-fonts/fontconfig/files/fc-match.1 b/x11-fonts/fontconfig/files/fc-match.1 new file mode 100644 index 000000000..06f7aa3cb --- /dev/null +++ b/x11-fonts/fontconfig/files/fc-match.1 @@ -0,0 +1,51 @@ +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng <steve@ggi-project.org>. +.TH "FC-MATCH" "1" "05 May 2008" "" "" + +.SH NAME +fc-match \- match available fonts +.SH SYNOPSIS + +\fBfc-match\fR [ \fB-svV?\fR ] [ \fB--sort\fR ] [ \fB--verbose\fR ] [ \fB--version\fR ] [ \fB--help\fR ] [ \fB\fIfont-pattern\fB\fR ] + +.SH "DESCRIPTION" +.PP +\fBfc-match\fR matches font-pattern (empty +pattern by default) using the normal fontconfig matching rules to find +the best font available. If --sort is given, the sorted list of best +matching fonts is displayed. With --verbose, the whole font pattern +for each match is printed, otherwise only the file, family and style +are printed.. +.SH "OPTIONS" +.PP +This program follows the usual GNU command line syntax, +with long options starting with two dashes (`-'). A summary of +options is included below. +.TP +\fB-v --verbose \fR +Print whole font pattern for each match. +.TP +\fB-? --help \fR +Show summary of options. +.TP +\fB-V --version \fR +Show version of the program and exit. +.TP +\fB-s --sort \fR +Displays sorted list of best matching fonts. +.TP +\fB\fIfont-pattern\fB \fR +Displays fonts matching +\fIfont-pattern\fR (uses empty pattern by default). +.SH "SEE ALSO" +.PP +\fBfc-list\fR (1). +.PP +The fontconfig user's guide, in HTML format: +\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR\&. +.SH "AUTHOR" +.PP +This manual page was updated by Patrick Lam <plam@csail.mit.edu>\&. diff --git a/x11-fonts/fontconfig/files/fc-query.1 b/x11-fonts/fontconfig/files/fc-query.1 new file mode 100644 index 000000000..a6e6e47a9 --- /dev/null +++ b/x11-fonts/fontconfig/files/fc-query.1 @@ -0,0 +1,57 @@ +.\\" auto-generated by docbook2man-spec $Revision: 1.1 $ +.TH "FC-QUERY" "1" "Aug 13, 2008" "" "" +.SH NAME +fc-query \- query font files +.SH SYNOPSIS +.sp +\fBfc-query\fR [ \fB-Vh\fR ] + + [ \fB [ -i \fIindex\fB ] [ --index \fIindex\fB ] \fR ] [ \fB [ -f \fIformat\fB ] [ --format \fIformat\fB ] \fR ] [ \fB--version\fR ] [ \fB--help\fR ] \fB\fIfont-file\fB\fR\fI...\fR +.SH "DESCRIPTION" +.PP +\fBfc-query\fR queries +\fIfont-file\fR(s) using the normal fontconfig +rules and prints out font pattern for each face found. +If \fB--index\fR is given, only one face of each file is +queried, otherwise all faces are queried. +.SH "OPTIONS" +.PP +This program follows the usual GNU command line syntax, +with long options starting with two dashes (`-'). A summary of +options is included below. +.TP +\fB-i\fR +Only query face indexed \fIindex\fR of +each file. +.TP +\fB-f\fR +Format output according to the format specifier +\fIformat\fR. +.TP +\fB-V\fR +Show version of the program and exit. +.TP +\fB-h\fR +Show summary of options. +.TP +\fB\fIfont-file\fB\fR +Query \fIfont-file\fR for font faces. +.SH "RETURN CODES" +.PP +\fBfc-query\fR returns error code 0 for successful parsing, +or 1 if any errors occured or if at least one font face could not be opened. +.SH "SEE ALSO" +.PP +\fBfc-scan\fR(1) +\fBFcFreeTypeQuery\fR(3) +\fBFcPatternFormat\fR(3) +\fBfc-cat\fR(1) +\fBfc-cache\fR(1) +\fBfc-list\fR(1) +\fBfc-match\fR(1) +.PP +The fontconfig user's guide, in HTML format: +\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR. +.SH "AUTHOR" +.PP +This manual page was updated by Behdad Esfahbod <behdad@behdad.org>. diff --git a/x11-fonts/fontconfig/files/fc-scan.1 b/x11-fonts/fontconfig/files/fc-scan.1 new file mode 100644 index 000000000..77748d18f --- /dev/null +++ b/x11-fonts/fontconfig/files/fc-scan.1 @@ -0,0 +1,52 @@ +.\\" auto-generated by docbook2man-spec $Revision: 1.1 $ +.TH "FC-SCAN" "1" "Jan 15, 2009" "" "" +.SH NAME +fc-scan \- scan font files or directories +.SH SYNOPSIS +.sp +\fBfc-scan\fR [ \fB-Vh\fR ] + + [ \fB [ -f \fIformat\fB ] [ --format \fIformat\fB ] \fR ] [ \fB--version\fR ] [ \fB--help\fR ] \fB\fIfile\fB\fR\fI...\fR +.SH "DESCRIPTION" +.PP +\fBfc-scan\fR scans +\fIfile\fR(s) recursively +and prints out font pattern for each face found. +.SH "OPTIONS" +.PP +This program follows the usual GNU command line syntax, +with long options starting with two dashes (`-'). A summary of +options is included below. +.TP +\fB-f\fR +Format output according to the format specifier +\fIformat\fR. +.TP +\fB-V\fR +Show version of the program and exit. +.TP +\fB-h\fR +Show summary of options. +.TP +\fB\fIfile\fB\fR +Scan \fIfile\fR recursively for font faces. +.SH "RETURN CODES" +.PP +\fBfc-scan\fR returns error code 0 if at least one font +was found or 1 otherwise. +.SH "SEE ALSO" +.PP +\fBfc-query\fR(1) +\fBFcFileScan\fR(3) +\fBFcDirScan\fR(3) +\fBFcPatternFormat\fR(3) +\fBfc-cat\fR(1) +\fBfc-cache\fR(1) +\fBfc-list\fR(1) +\fBfc-match\fR(1) +.PP +The fontconfig user's guide, in HTML format: +\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR. +.SH "AUTHOR" +.PP +This manual page was updated by Behdad Esfahbod <behdad@behdad.org>. diff --git a/x11-fonts/fontconfig/files/patch-Makefile.in b/x11-fonts/fontconfig/files/patch-Makefile.in new file mode 100644 index 000000000..5719bed30 --- /dev/null +++ b/x11-fonts/fontconfig/files/patch-Makefile.in @@ -0,0 +1,53 @@ +--- Makefile.in.orig 2009-07-08 01:52:45.000000000 -0400 ++++ Makefile.in 2009-07-08 01:53:30.000000000 -0400 +@@ -896,28 +896,28 @@ fonts.conf: fonts.conf.in Makefile + mv $@.tmp $@ + + install-data-local: fonts.conf +- $(mkinstalldirs) $(DESTDIR)$(configdir) $(DESTDIR)$(fc_cachedir) +- if [ -f $(DESTDIR)$(configdir)/fonts.conf ]; then \ +- echo "backing up existing $(DESTDIR)$(configdir)/fonts.conf"; \ +- mv $(DESTDIR)$(configdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf.bak; \ +- fi +- if [ -f $(srcdir)/fonts.conf ]; then \ +- echo " $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf"; \ +- $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \ +- else if [ -f fonts.conf ]; then \ +- echo " $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf"; \ +- $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \ +- fi; fi +- @(if $(RUN_FC_CACHE_TEST); then \ +- echo " $(bindir)/fc-cache -s -f -v"; \ +- $(bindir)/fc-cache -s -f -v; \ +- else \ +- echo "***"; \ +- echo "*** Warning: fonts.cache not built"; \ +- echo "***"; \ +- echo "*** Generate this file manually on host system using fc-cache"; \ +- echo "***"; \ +- fi) ++# $(mkinstalldirs) $(DESTDIR)$(configdir) $(DESTDIR)$(fc_cachedir) ++# if [ -f $(DESTDIR)$(configdir)/fonts.conf ]; then \ ++# echo "backing up existing $(DESTDIR)$(configdir)/fonts.conf"; \ ++# mv $(DESTDIR)$(configdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf.bak; \ ++# fi ++# if [ -f $(srcdir)/fonts.conf ]; then \ ++# echo " $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf"; \ ++# $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \ ++# else if [ -f fonts.conf ]; then \ ++# echo " $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf"; \ ++# $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \ ++# fi; fi ++# @(if $(RUN_FC_CACHE_TEST); then \ ++# echo " $(bindir)/fc-cache -s -f -v"; \ ++# $(bindir)/fc-cache -s -f -v; \ ++# else \ ++# echo "***"; \ ++# echo "*** Warning: fonts.cache not built"; \ ++# echo "***"; \ ++# echo "*** Generate this file manually on host system using fc-cache"; \ ++# echo "***"; \ ++# fi) + + uninstall-local: + if [ -f $(srcdir)/fonts.conf ]; then \ diff --git a/x11-fonts/fontconfig/files/pkg-install.in b/x11-fonts/fontconfig/files/pkg-install.in new file mode 100644 index 000000000..e82abb41d --- /dev/null +++ b/x11-fonts/fontconfig/files/pkg-install.in @@ -0,0 +1,10 @@ +#!/bin/sh + +PATH=/bin:/usr/bin:/sbin:/usr/sbin:%%PREFIX%%/bin +export PATH + +if [ "$2" = "POST-INSTALL" ]; then + echo "Running fc-cache to build fontconfig cache..." + fc-cache -f -v + exit 0 +fi diff --git a/x11-fonts/fontconfig/pkg-descr b/x11-fonts/fontconfig/pkg-descr new file mode 100644 index 000000000..7595ac232 --- /dev/null +++ b/x11-fonts/fontconfig/pkg-descr @@ -0,0 +1,18 @@ +Fontconfig does the following: + + * discover new fonts when installed automatically, removing a common source + of configuration problems. + * perform font name substitution, so that appropriate alternative fonts can + be selected if fonts are missing. + * identify the set of fonts required to completely cover a set of languages. + * have GUI configuration tools built as it uses an XML-based configuration + file (though with autodiscovery, we believe this need is minimized). + * efficiently and quickly find the fonts you need among the set of fonts + you have installed, even if you have installed thousands of fonts, while + minimzing memory usage. + * be used in concert with the X Render Extension and FreeType to implement + high quality, anti-aliased and subpixel rendered text on a display. + +-- keithp + +WWW: http://fontconfig.org/ diff --git a/x11-fonts/fontconfig/pkg-plist b/x11-fonts/fontconfig/pkg-plist new file mode 100644 index 000000000..bc6a0793e --- /dev/null +++ b/x11-fonts/fontconfig/pkg-plist @@ -0,0 +1,65 @@ +bin/fc-cache +bin/fc-cat +bin/fc-list +bin/fc-match +bin/fc-query +bin/fc-scan +etc/fonts/conf.avail/10-autohint.conf +etc/fonts/conf.avail/10-no-sub-pixel.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/20-fix-globaladvance.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/20-fix-globaladvance.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 +libdata/pkgconfig/fontconfig.pc +@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 |