summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/fontconfig/Makefile6
-rw-r--r--x11/fontconfig/pkg/PLIST67
2 files changed, 69 insertions, 4 deletions
diff --git a/x11/fontconfig/Makefile b/x11/fontconfig/Makefile
index 0ec2158..93852d9 100644
--- a/x11/fontconfig/Makefile
+++ b/x11/fontconfig/Makefile
@@ -29,4 +29,10 @@ USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
+CONFIGURE_ARGS = --sysconfdir=${SYSCONFDIR}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fontconfig
+ mv ${WRKINST}${SYSCONFDIR}/fonts ${PREFIX}/share/examples/fontconfig
+
.include <bsd.port.mk>
diff --git a/x11/fontconfig/pkg/PLIST b/x11/fontconfig/pkg/PLIST
index d8d45ca..39dac05 100644
--- a/x11/fontconfig/pkg/PLIST
+++ b/x11/fontconfig/pkg/PLIST
@@ -470,6 +470,31 @@ share/doc/fontconfig/fontconfig-devel/x31.html
share/doc/fontconfig/fontconfig-user.html
share/doc/fontconfig/fontconfig-user.pdf
share/doc/fontconfig/fontconfig-user.txt
+share/examples/fontconfig/
+share/examples/fontconfig/fonts/
+@sample ${SYSCONFDIR}/fonts/
+share/examples/fontconfig/fonts/conf.d/
+@sample ${SYSCONFDIR}/fonts/conf.d/
+share/examples/fontconfig/fonts/conf.d/10-hinting-slight.conf
+share/examples/fontconfig/fonts/conf.d/10-scale-bitmap-fonts.conf
+share/examples/fontconfig/fonts/conf.d/20-unhint-small-vera.conf
+share/examples/fontconfig/fonts/conf.d/30-metric-aliases.conf
+share/examples/fontconfig/fonts/conf.d/40-nonlatin.conf
+share/examples/fontconfig/fonts/conf.d/45-generic.conf
+share/examples/fontconfig/fonts/conf.d/45-latin.conf
+share/examples/fontconfig/fonts/conf.d/49-sansserif.conf
+share/examples/fontconfig/fonts/conf.d/50-user.conf
+share/examples/fontconfig/fonts/conf.d/51-local.conf
+share/examples/fontconfig/fonts/conf.d/60-generic.conf
+share/examples/fontconfig/fonts/conf.d/60-latin.conf
+share/examples/fontconfig/fonts/conf.d/65-fonts-persian.conf
+share/examples/fontconfig/fonts/conf.d/65-nonlatin.conf
+share/examples/fontconfig/fonts/conf.d/69-unifont.conf
+share/examples/fontconfig/fonts/conf.d/80-delicious.conf
+share/examples/fontconfig/fonts/conf.d/90-synthetic.conf
+share/examples/fontconfig/fonts/conf.d/README
+share/examples/fontconfig/fonts/fonts.conf
+@sample ${SYSCONFDIR}/fonts/fonts.conf
share/fontconfig/
share/fontconfig/conf.avail/
share/fontconfig/conf.avail/10-autohint.conf
@@ -477,42 +502,76 @@ share/fontconfig/conf.avail/10-hinting-full.conf
share/fontconfig/conf.avail/10-hinting-medium.conf
share/fontconfig/conf.avail/10-hinting-none.conf
share/fontconfig/conf.avail/10-hinting-slight.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/10-no-sub-pixel.conf
share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/10-sub-pixel-bgr.conf
share/fontconfig/conf.avail/10-sub-pixel-rgb.conf
share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf
share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf
share/fontconfig/conf.avail/10-unhinted.conf
share/fontconfig/conf.avail/11-lcdfilter-default.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/11-lcdfilter-legacy.conf
share/fontconfig/conf.avail/11-lcdfilter-light.conf
share/fontconfig/conf.avail/20-unhint-small-vera.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/25-unhint-nonlatin.conf
share/fontconfig/conf.avail/30-metric-aliases.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/40-nonlatin.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/45-generic.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/45-latin.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/49-sansserif.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/50-user.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/51-local.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/60-generic.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/60-latin.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/65-fonts-persian.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/65-khmer.conf
share/fontconfig/conf.avail/65-nonlatin.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/69-unifont.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/70-no-bitmaps.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/70-yes-bitmaps.conf
share/fontconfig/conf.avail/80-delicious.conf
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/fontconfig/conf.avail/90-synthetic.conf
-share/gettext/
+@exec ln -s %B/%f ${SYSCONFDIR}/fonts/conf.d/%f
+@unexec rm -f ${SYSCONFDIR}/fonts/conf.d/%f
share/gettext/its/
share/gettext/its/fontconfig.its
share/gettext/its/fontconfig.loc
-share/locale/
-share/locale/zh_CN/
-share/locale/zh_CN/LC_MESSAGES/
share/locale/zh_CN/LC_MESSAGES/fontconfig-conf.mo
share/locale/zh_CN/LC_MESSAGES/fontconfig.mo
share/xml/