aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/fontconfig
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-02-03 03:14:21 +0800
committermarcus <marcus@FreeBSD.org>2006-02-03 03:14:21 +0800
commitc2daab31950ad187d45b1e32dbf8b22dcae68003 (patch)
tree03135b9db71b4d71be0662c423b1e0885e95af7e /x11-fonts/fontconfig
parent6b2b7d68c8e1be125b00f3b12685e6a604a20020 (diff)
downloadfreebsd-ports-gnome-c2daab31950ad187d45b1e32dbf8b22dcae68003.tar.gz
freebsd-ports-gnome-c2daab31950ad187d45b1e32dbf8b22dcae68003.tar.zst
freebsd-ports-gnome-c2daab31950ad187d45b1e32dbf8b22dcae68003.zip
Since we look in X11BASE for fonts, make sure we explicitly clean up
X11BASE on deinstall.
Diffstat (limited to 'x11-fonts/fontconfig')
-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