LIBERATION font software consists of TrueType-OpenType formatted font software

for rendering LIBERATION typefaces in sans serif, serif, and monospaced
character styles.

There are three sets: Sans (a substitute for Arial, Albany, Helvetica, Nimbus
Sans L, and Bitstream Vera Sans), Serif (a substitute for Times New Roman,
Thorndale, Nimbus Roman, and Bitstream Vera Serif) and Mono (a substitute for
Courier New, Cumberland, Courier, Nimbus Mono L, and Bitstream Vera Sans Mono).

<https://www.redhat.com/promo/fonts/>
This commit is contained in:
Thierry Thomas 2007-05-25 16:13:51 +00:00
parent bf2c93f066
commit f1a76cdb4b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191798
6 changed files with 94 additions and 0 deletions

View file

@ -85,6 +85,7 @@
SUBDIR += lfpfonts-fix
SUBDIR += lfpfonts-var
SUBDIR += libFS
SUBDIR += liberation-fonts-ttf
SUBDIR += libfontenc
SUBDIR += libXfont
SUBDIR += libXfontcache

View file

@ -0,0 +1,52 @@
# New ports collection makefile for: Liberation fonts
# Date created: 17 May 2007
# Whom: Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#
PORTNAME= liberation-fonts-ttf
PORTVERSION= 2
CATEGORIES= x11-fonts
MASTER_SITES= https://www.redhat.com/f/fonts/
MAINTAINER= thierry@FreeBSD.org
COMMENT= Liberation fonts from Red Hat to replace MS TTF fonts
BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
USE_X_PREFIX= yes
NO_WRKSUBDIR= yes
PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_LIST= FONTDIR=${FONTDIR}
FONTNAME= Liberation
FONTDIR= ${PREFIX}/lib/X11/fonts/${FONTNAME}
INSTDAT= License.txt fonts.dir fonts.scale
MKFONTSCL_CMD= ${X11BASE}/bin/mkfontscale
MKFONTDIR_CMD= ${X11BASE}/bin/mkfontdir
do-build:
cd ${WRKSRC} && \
${MKFONTSCL_CMD}
${REINPLACE_CMD} -e 's|-misc-|-redhat-|' ${WRKSRC}/fonts.scale
cd ${WRKSRC} && \
${MKFONTDIR_CMD}
do-install:
${MKDIR} ${FONTDIR}
cd ${WRKSRC} && \
${INSTALL_DATA} ${INSTDAT} *.ttf ${FONTDIR}
post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (liberation-fonts-ttf-2.tar.gz) = 360dee2d73159522db3be6af8ec23294
SHA256 (liberation-fonts-ttf-2.tar.gz) = 9393307bcd1c318dc8f8c5efe176eacd1e3998eccee03baeffd793da8ad94d9b
SIZE (liberation-fonts-ttf-2.tar.gz) = 650283

View file

@ -0,0 +1,10 @@
You can start using the fonts by following these instructions:
Make sure that the freetype module is loaded. If it is not, add the following
line to the "Modules" section of your X11 / x.org configuration file:
Load "freetype"
Add the following line to the "Files" section:
FontPath "%%FONTDIR%%/"

View file

@ -0,0 +1,10 @@
LIBERATION font software consists of TrueType-OpenType formatted font software
for rendering LIBERATION typefaces in sans serif, serif, and monospaced
character styles.
There are three sets: Sans (a substitute for Arial, Albany, Helvetica, Nimbus
Sans L, and Bitstream Vera Sans), Serif (a substitute for Times New Roman,
Thorndale, Nimbus Roman, and Bitstream Vera Serif) and Mono (a substitute for
Courier New, Cumberland, Courier, Nimbus Mono L, and Bitstream Vera Sans Mono).
WWW: https://www.redhat.com/promo/fonts/

View file

@ -0,0 +1,18 @@
@comment $FreeBSD$
%%FONTDIR%%/LiberationMono-Bold.ttf
%%FONTDIR%%/LiberationMono-BoldItalic.ttf
%%FONTDIR%%/LiberationMono-Italic.ttf
%%FONTDIR%%/LiberationMono-Regular.ttf
%%FONTDIR%%/LiberationSans-Bold.ttf
%%FONTDIR%%/LiberationSans-BoldItalic.ttf
%%FONTDIR%%/LiberationSans-Italic.ttf
%%FONTDIR%%/LiberationSans-Regular.ttf
%%FONTDIR%%/LiberationSerif-Bold.ttf
%%FONTDIR%%/LiberationSerif-BoldItalic.ttf
%%FONTDIR%%/LiberationSerif-Italic.ttf
%%FONTDIR%%/LiberationSerif-Regular.ttf
%%FONTDIR%%/License.txt
%%FONTDIR%%/fonts.dir
%%FONTDIR%%/fonts.scale
@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || true
@dirrm %%FONTDIR%%