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/>
2007-05-25 18:13:51 +02:00
|
|
|
# New ports collection makefile for: Liberation fonts
|
|
|
|
# Date created: 17 May 2007
|
|
|
|
# Whom: Thierry Thomas <thierry@pompo.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= liberation-fonts-ttf
|
2009-02-26 19:24:35 +01:00
|
|
|
PORTVERSION= 1.04
|
2008-06-11 22:41:13 +02:00
|
|
|
PORTEPOCH= 1
|
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/>
2007-05-25 18:13:51 +02:00
|
|
|
CATEGORIES= x11-fonts
|
2009-02-26 19:24:35 +01:00
|
|
|
MASTER_SITES= https://fedorahosted.org/releases/l/i/liberation-fonts/
|
2008-06-11 22:41:13 +02:00
|
|
|
DISTNAME= liberation-fonts
|
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/>
2007-05-25 18:13:51 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11
|
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/>
2007-05-25 18:13:51 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale
|
|
|
|
MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
|
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/>
2007-05-25 18:13:51 +02:00
|
|
|
|
|
|
|
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>
|