ports/70564: NEW PORT: x11-fonts/arkpandora, collection of fine TrueType fonts
Alexey Dokuchaev
danfe at regency.nsu.ru
Tue Aug 17 08:00:39 UTC 2004
>Number: 70564
>Category: ports
>Synopsis: NEW PORT: x11-fonts/arkpandora, collection of fine TrueType fonts
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 17 08:00:38 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Alexey Dokuchaev
>Release: FreeBSD 4.9-STABLE i386
>Organization:
CNIT NSU
>Environment:
System: FreeBSD regency.nsu.ru 4.9-STABLE FreeBSD 4.9-STABLE #1: Wed Mar 3 13:17:54 NOVT 2004 root at regency.nsu.ru:/usr/src/sys/compile/REGENCY i386
>Description:
This font pack is designed for screen and print and as a "drop-in"
replacement for Arial and Time New Roman, so people can stop using
not-so-free Webfonts from Microsoft.
You get the following fonts: Aerial, Aerial Mono, Tymes & Veranda
(no this is not a typo).
It will automatically make the fonts recognizable by the system. It
also makes Aerial the default font for the Sans-Serif and Tymes the
Serif font types.
The fonts are derived from the Bitstream Vera fonts and are available
under the same terms as Vera.
>How-To-Repeat:
N/A
>Fix:
%%%
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# .
# ./pkg-message
# ./pkg-descr
# ./pkg-plist
# ./distinfo
# ./Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./pkg-message
sed 's/^X//' >./pkg-message << 'END-of-./pkg-message'
XIMPORTANT - READ CAREFULLY: Please read the COPYRIGHT included with these fonts
Xbefore using. The copyright can be found at %%FONTSDIR%%/COPYRIGHT.TXT.
XTo use these fonts, follow the instructions below.
X
XMake sure that the freetype module is loaded. If it is not, add the following
Xline to the "Modules" section of XF86Config:
X
X Load "freetype"
X
XAdd the following line to the "Files" section of XF86Config:
X
X FontPath "%%FONTSDIR%%/"
END-of-./pkg-message
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XThis font pack is designed for screen and print and as a "drop-in"
Xreplacement for Arial and Time New Roman.
X
XYou get the following fonts: Aerial, Aerial Mono, Tymes & Veranda.
X
XIt will automatically make the fonts recognizable by the system. It
Xalso makes Aerial the default font for the Sans-Serif and Tymes the
XSerif font types.
X
XThe fonts are derived from the Bitstream Vera fonts and are available
Xunder the same terms as Vera.
X
XWWW: http://www.users.bigpond.net.au/gavindi/
END-of-./pkg-descr
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
X at unexec if cmp -s %D/etc/fonts/local.conf %D/etc/fonts/local.conf.arkpandora; then rm -f %D/etc/fonts/local.conf; fi
Xetc/fonts/local.conf.arkpandora
X at exec [ ! -f %B/local.conf ] && cp %B/%f %B/local.conf
X%%FONTSDIR%%/COPYRIGHT.TXT
X%%FONTSDIR%%/AerialBdIt.ttf
X%%FONTSDIR%%/AerialBd.ttf
X%%FONTSDIR%%/AerialIt.ttf
X%%FONTSDIR%%/AerialMonoBdIt.ttf
X%%FONTSDIR%%/AerialMonoBd.ttf
X%%FONTSDIR%%/AerialMonoIt.ttf
X%%FONTSDIR%%/AerialMono.ttf
X%%FONTSDIR%%/Aerial.ttf
X%%FONTSDIR%%/TymesBd.ttf
X%%FONTSDIR%%/Tymes.ttf
X%%FONTSDIR%%/VerandaBdIt.ttf
X%%FONTSDIR%%/VerandaBd.ttf
X%%FONTSDIR%%/VerandaIt.ttf
X%%FONTSDIR%%/Veranda.ttf
X%%FONTSDIR%%/fonts.dir
X at unexec /bin/rm %D/%%FONTSDIR%%/fonts.scale
X at unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
X at dirrm %%FONTSDIR%%
X at exec %%X11BASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true
END-of-./pkg-plist
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (ttf-arkpandora-2.04.tgz) = bbe9491c6145ab981d85fe90b582d3a0
XSIZE (ttf-arkpandora-2.04.tgz) = 417520
END-of-./distinfo
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for: Arkpandora TrueType fonts
X# Date created: 17 Aug 2004
X# Whom: Alexey Dokuchaev <danfe at regency.nsu.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= arkpandora
XPORTVERSION= 2.04
XCATEGORIES= x11-fonts
XMASTER_SITES= http://www.users.bigpond.net.au/gavindi/
XDISTNAME= ttf-${PORTNAME}-${PORTVERSION}
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= danfe at regency.nsu.ru
XCOMMENT= Arkpandora TrueType fonts
X
X#
X# Everything below shamelessly stolen from x11-fonts/bitstream-vera
X# port by Joe Marcus Clarke (marcus@), which in turn looks very similar
X# to x11-fonts/webfonts/Makefile, apparently by Konstantinos
X# Konstantinidis <kkonstan at daemon.gr>. ;-)
X#
X
XBUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
X ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
XRUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
X
XUSE_X_PREFIX= yes
X
XPLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
X
XMSG_FILE= ${PKGDIR}/pkg-message
XPKGMESSAGE= ${WRKDIR}/pkg-message
X
X#
X# Local variables
X#
X
XFONTNAME= ${PORTNAME}
XFONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
XTTMKFDIR_CMD?= ${X11BASE}/bin/ttmkfdir
X
X.SILENT:
X
Xpost-patch:
X ${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
X
X#
X# Build
X#
X
Xdo-build: make-fonts.dir
X
Xmake-fonts.dir:
X ${TTMKFDIR_CMD} -c -d ${WRKSRC} -f Arkpandora | ${CAT} -n | ${SED} -e ' \
X s,^ 1,100000,' | ${SORT} -r | ${CUT} -c 8- > ${WRKSRC}/fonts.dir
X
X#
X# Install
X#
X
Xdo-install: install-fonts install-fonts.dir install-conf
X
Xinstall-fonts:
X ${MKDIR} ${FONTSDIR}
X ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
X ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.TXT ${FONTSDIR}
X
Xinstall-fonts.dir:
X ${INSTALL_DATA} ${WRKSRC}/fonts.dir ${FONTSDIR}
X ${LN} -fs fonts.dir ${FONTSDIR}/fonts.scale
X
Xinstall-conf:
X ${MKDIR} ${PREFIX}/etc/fonts
X if [ ! -f ${PREFIX}/etc/fonts/local.conf ]; then \
X ${INSTALL_DATA} ${WRKSRC}/local.conf.arkpandora \
X ${PREFIX}/etc/fonts/local.conf ; \
X fi
X ${INSTALL_DATA} ${WRKSRC}/local.conf.arkpandora ${PREFIX}/etc/fonts
X
Xpost-install:
X ${ECHO_MSG} "===> Running fc-cache"
X -${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
X ${ECHO_MSG}
X ${CAT} ${PKGMESSAGE}
X ${ECHO_MSG}
X
X.include <bsd.port.mk>
END-of-./Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list