diff options
author | Dejan Lesjak <lesi@FreeBSD.org> | 2006-02-06 03:38:29 +0000 |
---|---|---|
committer | Dejan Lesjak <lesi@FreeBSD.org> | 2006-02-06 03:38:29 +0000 |
commit | d1c60264042d4b5b3cca1f0e347030363a84785c (patch) | |
tree | e0c487c1342cfcdf833039417e5546a849770531 /x11-fonts/xorg-fonts-type1 | |
parent | 4fde165b479a28152c3f3d6b89a6c4ae19afbc31 (diff) | |
download | ports-d1c60264042d4b5b3cca1f0e347030363a84785c.tar.gz ports-d1c60264042d4b5b3cca1f0e347030363a84785c.zip |
Notes
Diffstat (limited to 'x11-fonts/xorg-fonts-type1')
-rw-r--r-- | x11-fonts/xorg-fonts-type1/Makefile | 3 | ||||
-rw-r--r-- | x11-fonts/xorg-fonts-type1/pkg-plist | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/x11-fonts/xorg-fonts-type1/Makefile b/x11-fonts/xorg-fonts-type1/Makefile index 50e3db6d1e92..a9278dd8d3bd 100644 --- a/x11-fonts/xorg-fonts-type1/Makefile +++ b/x11-fonts/xorg-fonts-type1/Makefile @@ -27,6 +27,9 @@ EXTRA_PATCHES= ${CF_PATCHES} XBUILD_DIRS= fonts/encodings fonts/scaled/Type1 XINSTALL_DIRS= fonts/scaled/Type1 +post-install: + @command fc-cache ${PREFIX}/lib/X11/fonts/Type1 || true + .include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc" .include <bsd.port.pre.mk> .if ${X_WINDOW_SYSTEM:L} != xorg diff --git a/x11-fonts/xorg-fonts-type1/pkg-plist b/x11-fonts/xorg-fonts-type1/pkg-plist index a961d728d9da..cc63120c0a1a 100644 --- a/x11-fonts/xorg-fonts-type1/pkg-plist +++ b/x11-fonts/xorg-fonts-type1/pkg-plist @@ -58,5 +58,8 @@ lib/X11/fonts/Type1/l049033t.afm lib/X11/fonts/Type1/l049033t.pfa lib/X11/fonts/Type1/l049036t.afm lib/X11/fonts/Type1/l049036t.pfa -@unexec rm %D/lib/X11/fonts/Type1/fonts.cache-1 2>/dev/null || /usr/bin/true +@exec command fc-cache %D/lib/X11/fonts/Type1 2>/dev/null || true +@unexec rm %D/lib/X11/fonts/Type1/fonts.cache-1 2>/dev/null || true +@unexec command fc-cache %D/lib/X11/fonts/Type1 2>/dev/null || true +@unexec if [ -e %D/lib/X11/fonts/Type1/fonts.cache-1 -a ! -s %D/lib/X11/fonts/Type1/fonts.cache-1 ]; then rm %D/lib/X11/fonts/Type1/fonts.cache-1; fi @dirrmtry lib/X11/fonts/Type1 |