Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2012 23:58:41 GMT
From:      Winston Weinert <winstonw@lavabit.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165342: New port: x11-fonts/roboto-fonts-ttf
Message-ID:  <201202202358.q1KNwfbr039294@red.freebsd.org>
Resent-Message-ID: <201202210000.q1L00PRg019941@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165342
>Category:       ports
>Synopsis:       New port: x11-fonts/roboto-fonts-ttf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 21 00:00:25 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Winston Weinert
>Release:        9.0-STABLE
>Organization:
>Environment:
FreeBSD ironwood 9.0-STABLE FreeBSD 9.0-STABLE #2: Fri Feb 17 05:01:41 CST 2012     root@ironwood:/usr/obj/usr/src/sys/MYGENERIC  amd64

>Description:
Roboto is a typeface family released with Android 4.0 "Ice Cream Sandwich". It is easier to read than the previous Droid (x11-fonts/droid-fonts-ttf) typeface family and similar in its goals. I'd like to thank the author of x11-fonts/droid-fonts-ttf since his work is directly used in this port.
>How-To-Repeat:
Attempt to install the Roboto typeface fonts.
>Fix:
Use the attached shell archive.

Patch attached with submission follows:

# 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:
#
#	roboto-fonts-ttf/
#	roboto-fonts-ttf/pkg-plist
#	roboto-fonts-ttf/distinfo
#	roboto-fonts-ttf/Makefile
#	roboto-fonts-ttf/files
#	roboto-fonts-ttf/files/pkg-message.in
#	roboto-fonts-ttf/pkg-descr
#
echo c - roboto-fonts-ttf/
mkdir -p roboto-fonts-ttf/ > /dev/null 2>&1
echo x - roboto-fonts-ttf/pkg-plist
sed 's/^X//' >roboto-fonts-ttf/pkg-plist << '1f6bb166d5273925fa1626522bcdea3c'
X%%FONTDIR%%/Roboto-Black.ttf
X%%FONTDIR%%/Roboto-BlackItalic.ttf
X%%FONTDIR%%/Roboto-Bold.ttf
X%%FONTDIR%%/Roboto-BoldCondensed.ttf
X%%FONTDIR%%/Roboto-BoldCondensedItalic.ttf
X%%FONTDIR%%/Roboto-BoldItalic.ttf
X%%FONTDIR%%/Roboto-Condensed.ttf
X%%FONTDIR%%/Roboto-CondensedItalic.ttf
X%%FONTDIR%%/Roboto-Italic.ttf
X%%FONTDIR%%/Roboto-Light.ttf
X%%FONTDIR%%/Roboto-LightItalic.ttf
X%%FONTDIR%%/Roboto-Medium.ttf
X%%FONTDIR%%/Roboto-MediumItalic.ttf
X%%FONTDIR%%/Roboto-Regular.ttf
X%%FONTDIR%%/Roboto-Thin.ttf
X%%FONTDIR%%/Roboto-ThinItalic.ttf
X%%FONTDIR%%/fonts.dir
X%%FONTDIR%%/fonts.scale
X@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || true
X@dirrm %%FONTDIR%%
1f6bb166d5273925fa1626522bcdea3c
echo x - roboto-fonts-ttf/distinfo
sed 's/^X//' >roboto-fonts-ttf/distinfo << '5f04f2b23c7a8527cdb9cee629377c53'
XSHA256 (Roboto_Hinted_20111129.zip) = 99e865226391af3ac922f476c20d3e82fb471e7cece512486f92438b6d37dfcf
XSIZE (Roboto_Hinted_20111129.zip) = 1505533
5f04f2b23c7a8527cdb9cee629377c53
echo x - roboto-fonts-ttf/Makefile
sed 's/^X//' >roboto-fonts-ttf/Makefile << '39d15fa4be00571480c02db4311b5434'
X# New ports collection makefile for: roboto-fonts-ttf
X# Date created:		2012-02-20
X# Whom:			Winston Weinert <winstonw@lavabit.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	roboto-fonts-ttf
XPORTVERSION=	20111129
XCATEGORIES=	x11-fonts
XMASTER_SITES=	http://developer.android.com/design/static/download/
XDISTNAME=	Roboto_Hinted_${PORTVERSION}
X
XMAINTAINER=	winstonw@lavabit.com
XCOMMENT=	The Roboto typeface family
X
XLICENSE=	AL2
X
XBUILD_DEPENDS=	mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
X		mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
X
XUSE_ZIP=	yes
X
XFONTDIR=	lib/X11/fonts/Roboto
XPKGMESSAGE=	${WRKDIR}/pkg-message
XPLIST_SUB=	FONTDIR=${FONTDIR}
XSUB_FILES=	pkg-message
XSUB_LIST=	FONTDIR=${FONTDIR}
X
Xdo-build:
X	@cd ${WRKSRC}/ && \
X		${LOCALBASE}/bin/mkfontscale && \
X		${LOCALBASE}/bin/mkfontdir
X
Xdo-install:
X	${MKDIR} ${PREFIX}/${FONTDIR}/
X	cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.* ${PREFIX}/${FONTDIR}/
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
39d15fa4be00571480c02db4311b5434
echo c - roboto-fonts-ttf/files
mkdir -p roboto-fonts-ttf/files > /dev/null 2>&1
echo x - roboto-fonts-ttf/files/pkg-message.in
sed 's/^X//' >roboto-fonts-ttf/files/pkg-message.in << 'f23fd7ae3d2d00d49c6756ffe9b0cb6f'
X
XYou can start using the fonts by following these instructions:
X
XAdd the following line to the "Files" section of your X.org configuration
Xfile:
X
X	FontPath	"%%PREFIX%%/%%FONTDIR%%/"
X
f23fd7ae3d2d00d49c6756ffe9b0cb6f
echo x - roboto-fonts-ttf/pkg-descr
sed 's/^X//' >roboto-fonts-ttf/pkg-descr << 'd1bae949bacecf118d76ed9060d32a48'
XRoboto is a sans serif typeface family designed to be modern yet
Xemotional. It was introduced as the font used for Android 4.0 "Ice
XCream Sandwich". This typeface is designed for high resolution mobile
Xdevices so it includes several typefaces for text in different sizes.
X
XWWW: http://developer.android.com/design/style/typography.html
d1bae949bacecf118d76ed9060d32a48
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202202358.q1KNwfbr039294>