aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/xorg-fonts-cyrillic
diff options
context:
space:
mode:
authorDejan Lesjak <lesi@FreeBSD.org>2006-02-06 03:38:29 +0000
committerDejan Lesjak <lesi@FreeBSD.org>2006-02-06 03:38:29 +0000
commitd1c60264042d4b5b3cca1f0e347030363a84785c (patch)
treee0c487c1342cfcdf833039417e5546a849770531 /x11-fonts/xorg-fonts-cyrillic
parent4fde165b479a28152c3f3d6b89a6c4ae19afbc31 (diff)
downloadports-d1c60264042d4b5b3cca1f0e347030363a84785c.tar.gz
ports-d1c60264042d4b5b3cca1f0e347030363a84785c.zip
Notes
Diffstat (limited to 'x11-fonts/xorg-fonts-cyrillic')
-rw-r--r--x11-fonts/xorg-fonts-cyrillic/Makefile4
-rw-r--r--x11-fonts/xorg-fonts-cyrillic/pkg-plist4
2 files changed, 8 insertions, 0 deletions
diff --git a/x11-fonts/xorg-fonts-cyrillic/Makefile b/x11-fonts/xorg-fonts-cyrillic/Makefile
index 83ff10e0495d..04299cf856aa 100644
--- a/x11-fonts/xorg-fonts-cyrillic/Makefile
+++ b/x11-fonts/xorg-fonts-cyrillic/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xorg-fonts-cyrillic
PORTVERSION= 6.9.0
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= ${MASTER_SITE_XORG}
MASTER_SITE_SUBDIR= X11R${PORTVERSION}/src
@@ -25,6 +26,9 @@ EXTRA_PATCHES= ${CF_PATCHES}
XBUILD_DIRS= fonts/encodings fonts/bdf/cyrillic
XINSTALL_DIRS= fonts/bdf/cyrillic
+post-install:
+ @command fc-cache -v ${PREFIX}/lib/X11/fonts/cyrillic || 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-cyrillic/pkg-plist b/x11-fonts/xorg-fonts-cyrillic/pkg-plist
index b76ad7fdb128..420ee72f398c 100644
--- a/x11-fonts/xorg-fonts-cyrillic/pkg-plist
+++ b/x11-fonts/xorg-fonts-cyrillic/pkg-plist
@@ -84,4 +84,8 @@ lib/X11/fonts/cyrillic/koinil2.pcf.gz
lib/X11/fonts/cyrillic/proof9x16.pcf.gz
lib/X11/fonts/cyrillic/screen8x16.pcf.gz
lib/X11/fonts/cyrillic/screen8x16b.pcf.gz
+@exec command fc-cache -v %D/lib/X11/fonts/cyrillic 2>/dev/null || true
+@unexec rm %D/lib/X11/fonts/cyrillic/fonts.cache-1 2>/dev/null || true
+@unexec command fc-cache -v %D/lib/X11/fonts/cyrillic 2>/dev/null || true
+@unexec if [ -e %D/lib/X11/fonts/cyrillic/fonts.cache-1 -a ! -s %D/lib/X11/fonts/cyrillic/fonts.cache-1 ]; then rm %D/lib/X11/fonts/cyrillic/fonts.cache-1; fi
@dirrmtry lib/X11/fonts/cyrillic