aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/linux-f8-fontconfig
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2006-05-13 15:48:28 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2006-05-13 15:48:28 +0000
commit0869554ba0a767b68341d418c69b49f8e66931e9 (patch)
treeea0ef9efa222cd0923fbadf3c69112c9922c06fa /x11-fonts/linux-f8-fontconfig
parent958c97e509b68a0412b8d865aa216883a318a79a (diff)
downloadports-0869554ba0a767b68341d418c69b49f8e66931e9.tar.gz
ports-0869554ba0a767b68341d418c69b49f8e66931e9.zip
Don't run fc-cache, we're using the fonts of the X server and the native
fontconfig (or the fonts ports/packages) are supposed to run fc-cache. I also noticed it has problems with some fonts, so we may end up with a not complete cache in this version. This should fix the build on pointyhat (cache files left after pkg_delete). While I'm here use a link to the native fonts.conf, we don't need our own here.
Notes
Notes: svn path=/head/; revision=162241
Diffstat (limited to 'x11-fonts/linux-f8-fontconfig')
-rw-r--r--x11-fonts/linux-f8-fontconfig/Makefile10
-rw-r--r--x11-fonts/linux-f8-fontconfig/pkg-install6
2 files changed, 4 insertions, 12 deletions
diff --git a/x11-fonts/linux-f8-fontconfig/Makefile b/x11-fonts/linux-f8-fontconfig/Makefile
index 8aeecf9b59ae..c01253be6796 100644
--- a/x11-fonts/linux-f8-fontconfig/Makefile
+++ b/x11-fonts/linux-f8-fontconfig/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fontconfig
PORTVERSION= 2.2.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-fonts linux
DISTNAME= ${PORTNAME}-${PORTVERSION}-5
@@ -23,12 +23,10 @@ INSTALLS_SHLIB= yes
BRANDELF_DIRS= usr/bin
-post-patch:
- @${REINPLACE_CMD} -i "" -e 's:/usr/share/fonts:${X11BASE}/lib/X11/fonts:g ; \
- s:/usr/X11R6/lib/X11/fonts/OTF:${X11BASE}/lib/X11/fonts/bitstream-vera:g' \
- ${WRKSRC}/etc/fonts/fonts.conf
+post-extract:
+ ${RM} ${WRKSRC}/etc/fonts/fonts.conf
post-install:
- PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ ${LN} -s ${X11BASE}/etc/fonts/fonts.conf ${PREFIX}/etc/fonts/fonts.conf
.include <bsd.port.mk>
diff --git a/x11-fonts/linux-f8-fontconfig/pkg-install b/x11-fonts/linux-f8-fontconfig/pkg-install
deleted file mode 100644
index ec594298d788..000000000000
--- a/x11-fonts/linux-f8-fontconfig/pkg-install
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-if [ "$2" = "POST-INSTALL" ]; then
- echo "Running fc-cache to build fontconfig cache..."
- ${PKG_PREFIX}/usr/bin/fc-cache -f -v
-fi