aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2018-01-12 09:16:20 +0000
committerKurt Jaeger <pi@FreeBSD.org>2018-01-12 09:16:20 +0000
commit328a97e5951d7cf8d5711f1287ab55c6e42bd200 (patch)
treeade9d9c57f35108de934d9014fab90cf489fe165 /x11-fonts
parent05f952aaeab322ea183c628f51ecf37354b3ce76 (diff)
x11-fonts/encodings: run mkfontscale to fix encodings.dir post-install
- Since only *.enc.gz files are installed while the encodings.dir file is genareted for directories containing both *.enc and *.enc.gz files, the installed encodings.dir file includes bogus entries for *.enc. - It causes libfontenc to fail to find encoding files, then X to fail to open TrueType fonts with some encodings such as ascii-0 or jisx0208.1990-0. PR: 170852 Submitted by: hiroto.kagotani@gmail.com, Jia-Shiun Li <jiashiun@gmail.com>
Notes
Notes: svn path=/head/; revision=458811
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/encodings/Makefile12
-rw-r--r--x11-fonts/encodings/pkg-descr2
2 files changed, 10 insertions, 4 deletions
diff --git a/x11-fonts/encodings/Makefile b/x11-fonts/encodings/Makefile
index 7ce332c60485..2bfb2426e9bf 100644
--- a/x11-fonts/encodings/Makefile
+++ b/x11-fonts/encodings/Makefile
@@ -2,18 +2,24 @@
PORTNAME= encodings
PORTVERSION= 1.0.4
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
-MASTER_SITES= XORG/individual/font
CATEGORIES= x11-fonts
+MASTER_SITES= XORG/individual/font
MAINTAINER= x11@FreeBSD.org
COMMENT= X.Org Encoding fonts
+LICENSE= PD
+
+BUILD_DEPENDS= mkfontscale:x11-fonts/mkfontscale
+
USES= tar:bzip2
USE_XORG= fontutil
-BUILD_DEPENDS= mkfontscale:x11-fonts/mkfontscale
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fontrootdir=${PREFIX}/share/fonts
+post-install:
+ cd ${STAGEDIR}/usr/local/share/fonts/encodings && /usr/local/bin/mkfontscale -b -s -l -n -r -p /usr/local/share/fonts/encodings -e . -e large .
+
.include <bsd.port.mk>
diff --git a/x11-fonts/encodings/pkg-descr b/x11-fonts/encodings/pkg-descr
index 1f112677c9ab..9d32f2c4f2f0 100644
--- a/x11-fonts/encodings/pkg-descr
+++ b/x11-fonts/encodings/pkg-descr
@@ -1,3 +1,3 @@
-This package contains encondings X.Org fonts.
+This package contains encodings of X.Org fonts.
WWW: https://www.x.org/