1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

Since we look in X11BASE for fonts, make sure we explicitly clean up

X11BASE on deinstall.
This commit is contained in:
Joe Marcus Clarke 2006-02-02 19:14:21 +00:00
parent 46b6ce4394
commit 459fc050f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155099
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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