aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-02-02 19:14:21 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-02-02 19:14:21 +0000
commit459fc050f6a1d30dfeec723309003f048367948e (patch)
treec43e3dc5a21efd6eb5291b7ef4d44f358c8ea015 /x11-fonts
parent46b6ce43947eed2de92c663360300174791af5b9 (diff)
downloadports-459fc050f6a1d30dfeec723309003f048367948e.tar.gz
ports-459fc050f6a1d30dfeec723309003f048367948e.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/fontconfig/Makefile5
-rw-r--r--x11-fonts/fontconfig/files/pkg-install.in1
2 files changed, 4 insertions, 2 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile
index e9a7de736908..f37ac017168b 100644
--- a/x11-fonts/fontconfig/Makefile
+++ b/x11-fonts/fontconfig/Makefile
@@ -8,7 +8,7 @@
PORTNAME= fontconfig
PORTVERSION= 2.3.2
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://fontconfig.org/release/
@@ -185,7 +185,8 @@ post-install:
else \
${INSTALL_DATA} ${WRKSRC}/fonts.conf ${PREFIX}/etc/fonts/fonts.conf.default; \
fi
- @${SED} -e 's|%%PREFIX%%|${PREFIX}|' < ${FILESDIR}/pkg-install.in \
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \
+ s|%%X11BASE%%|${X11BASE}|' < ${FILESDIR}/pkg-install.in \
> ${PKGINSTALL}
.if !defined(PACKAGE_BUILDING)
@${LDCONFIG} -m ${PREFIX}/lib
diff --git a/x11-fonts/fontconfig/files/pkg-install.in b/x11-fonts/fontconfig/files/pkg-install.in
index 2ce9fb1c5c85..dcf6ebbe1e3d 100644
--- a/x11-fonts/fontconfig/files/pkg-install.in
+++ b/x11-fonts/fontconfig/files/pkg-install.in
@@ -8,4 +8,5 @@ if [ "$2" = "POST-INSTALL" ]; then
fc-cache -f -v
elif [ "$2" = "DEINSTALL" ]; then
find %%PREFIX%%/lib/X11/fonts/ -name fonts.cache-1 -delete
+ find %%X11BASE%%/lib/X11/fonts/ -name fonts.cache-1 -delete
fi