diff options
author | Dejan Lesjak <lesi@FreeBSD.org> | 2006-02-07 09:56:51 +0000 |
---|---|---|
committer | Dejan Lesjak <lesi@FreeBSD.org> | 2006-02-07 09:56:51 +0000 |
commit | 2048a9603645841ac25a5dc7ae19131a89d96c97 (patch) | |
tree | 5d77ec57ed11c48745895a87231eb68c85e0a173 /x11-fonts/XFree86-4-font100dpi | |
parent | a36a1af6f4b1291cc77514a3423218ec535e87f8 (diff) | |
download | ports-2048a9603645841ac25a5dc7ae19131a89d96c97.tar.gz ports-2048a9603645841ac25a5dc7ae19131a89d96c97.zip |
Notes
Diffstat (limited to 'x11-fonts/XFree86-4-font100dpi')
-rw-r--r-- | x11-fonts/XFree86-4-font100dpi/Makefile | 4 | ||||
-rw-r--r-- | x11-fonts/XFree86-4-font100dpi/pkg-plist | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/x11-fonts/XFree86-4-font100dpi/Makefile b/x11-fonts/XFree86-4-font100dpi/Makefile index 98cb21c194fe..4ec99aabc26e 100644 --- a/x11-fonts/XFree86-4-font100dpi/Makefile +++ b/x11-fonts/XFree86-4-font100dpi/Makefile @@ -7,6 +7,7 @@ PORTNAME= font100dpi PORTVERSION= 4.5.0 +PORTREVISION= 1 CATEGORIES= x11-fonts MASTER_SITES= ${MASTER_SITE_XFREE} MASTER_SITE_SUBDIR= ${PORTVERSION} @@ -44,6 +45,9 @@ pre-build: (cd ${WRKDIR}/xc/fonts/encodings && \ ${MAKE} all) +post-install: + @command fc-cache -v ${PREFIX}/lib/X11/fonts/100dpi || true + .include <bsd.port.pre.mk> .if ${X_WINDOW_SYSTEM:L} != xfree86-4 IGNORE= is part of XFree86 and you have ${X_WINDOW_SYSTEM} set for X11\ diff --git a/x11-fonts/XFree86-4-font100dpi/pkg-plist b/x11-fonts/XFree86-4-font100dpi/pkg-plist index 27093bbdb16a..3abfa064b642 100644 --- a/x11-fonts/XFree86-4-font100dpi/pkg-plist +++ b/x11-fonts/XFree86-4-font100dpi/pkg-plist @@ -1896,4 +1896,8 @@ lib/X11/fonts/100dpi/timR24-ISO8859-3.pcf.gz lib/X11/fonts/100dpi/timR24-ISO8859-4.pcf.gz lib/X11/fonts/100dpi/timR24-ISO8859-9.pcf.gz lib/X11/fonts/100dpi/timR24.pcf.gz +@exec command fc-cache -v %D/lib/X11/fonts/100dpi 2>/dev/null || true +@unexec rm %D/lib/X11/fonts/100dpi/fonts.cache-1 2>/dev/null || true +@unexec command fc-cache -v %D/lib/X11/fonts/100dpi 2>/dev/null || true +@unexec if [ -e %D/lib/X11/fonts/100dpi/fonts.cache-1 -a ! -s %D/lib/X11/fonts/100dpi/fonts.cache-1 ]; then rm %D/lib/X11/fonts/100dpi/fonts.cache-1; fi @dirrmtry lib/X11/fonts/100dpi |