diff options
author | pi <pi@FreeBSD.org> | 2018-01-12 17:16:20 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2018-01-12 17:16:20 +0800 |
commit | 9f63f26e928d083127f096661105f15bf0672d4e (patch) | |
tree | ade9d9c57f35108de934d9014fab90cf489fe165 /x11-fonts | |
parent | 36efbb8cd03f5c01acd7cfb2fbbf8e92bb859f9b (diff) | |
download | freebsd-ports-gnome-9f63f26e928d083127f096661105f15bf0672d4e.tar.gz freebsd-ports-gnome-9f63f26e928d083127f096661105f15bf0672d4e.tar.zst freebsd-ports-gnome-9f63f26e928d083127f096661105f15bf0672d4e.zip |
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>
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/encodings/Makefile | 12 | ||||
-rw-r--r-- | x11-fonts/encodings/pkg-descr | 2 |
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/ |