summaryrefslogtreecommitdiff
path: root/fonts/fontconfig/DEINSTALL
diff options
context:
space:
mode:
authorjoerg <joerg>2006-09-17 18:20:20 +0000
committerjoerg <joerg>2006-09-17 18:20:20 +0000
commit2ba16a377ea24bfe2f44087014c6dd97bb15e450 (patch)
tree972155506af8090229ac3882379a504be4fc23cc /fonts/fontconfig/DEINSTALL
parent27049dd6253c7a4d051ade6a38abcfe6883755ca (diff)
downloadpkgsrc-2ba16a377ea24bfe2f44087014c6dd97bb15e450.tar.gz
Honour VARBASE for the fontconfig cache. Use INSTALL script to create it
if necessary and run fc-cache to set up the initial database. Remove the cache at DEINSTALL time. Bump revision for this.
Diffstat (limited to 'fonts/fontconfig/DEINSTALL')
-rw-r--r--fonts/fontconfig/DEINSTALL9
1 files changed, 9 insertions, 0 deletions
diff --git a/fonts/fontconfig/DEINSTALL b/fonts/fontconfig/DEINSTALL
new file mode 100644
index 00000000000..2e11944bba2
--- /dev/null
+++ b/fonts/fontconfig/DEINSTALL
@@ -0,0 +1,9 @@
+# $NetBSD: DEINSTALL,v 1.1 2006/09/17 18:20:20 joerg Exp $
+
+VARBASE="@VARBASE@"
+
+case ${STAGE} in
+DEINSTALL)
+ ${RM} -rf ${VARBASE}/cache/fontconfig
+ ;;
+esac