aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-07-19 15:45:35 +0800
committermiwi <miwi@FreeBSD.org>2006-07-19 15:45:35 +0800
commit986ba1ce248d4ba40c84cd7428e36625b6298e7c (patch)
tree50ec4eb741d90be2be580d3685c027100d0ad182 /x11-fonts
parenta5695aa624335c69d80950c3466e0678655ffa1d (diff)
downloadfreebsd-ports-gnome-986ba1ce248d4ba40c84cd7428e36625b6298e7c.tar.gz
freebsd-ports-gnome-986ba1ce248d4ba40c84cd7428e36625b6298e7c.tar.zst
freebsd-ports-gnome-986ba1ce248d4ba40c84cd7428e36625b6298e7c.zip
- Unbreak
- Fix pkg-plist PR: ports/100426 Submitted by: miwi Approved by: krion (mentor), maintainer
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/manu-gothica/Makefile2
-rw-r--r--x11-fonts/manu-gothica/pkg-plist6
2 files changed, 5 insertions, 3 deletions
diff --git a/x11-fonts/manu-gothica/Makefile b/x11-fonts/manu-gothica/Makefile
index 7ed491fd1ca4..971db0380f6a 100644
--- a/x11-fonts/manu-gothica/Makefile
+++ b/x11-fonts/manu-gothica/Makefile
@@ -15,8 +15,6 @@ EXTRACT_SUFX= .ttf
MAINTAINER= h.eichmann@gmx.de
COMMENT= Old german blackletter handwriting (suetterlin)
-BROKEN= fails to deinstall cleanly
-
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= ${BUILD_DEPENDS}
diff --git a/x11-fonts/manu-gothica/pkg-plist b/x11-fonts/manu-gothica/pkg-plist
index cf0d77846bc0..862fd8a08fad 100644
--- a/x11-fonts/manu-gothica/pkg-plist
+++ b/x11-fonts/manu-gothica/pkg-plist
@@ -1,2 +1,6 @@
-@exec %D/bin/fc-cache -f -v %%FONTSDIR%%
%%FONTSDIR%%/manugot19.ttf
+@exec %D/bin/fc-cache -f -v %D/%%FONTSDIR%% 2>/dev/null || true
+@unexec rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || true
+@unexec %D/bin/fc-cache -f -v %D/%%FONTSDIR%% 2>/dev/null || true
+@unexec if [ -e %D/%%FONTSDIR%%/fonts.cache-1 -a ! -s %D/%%FONTSDIR%%/fonts.cache-1 ]; then rm %D/%%FONTSDIR%%/fonts.cache-1; fi
+@dirrmtry %%FONTSDIR%%