mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Roboto is a sans serif typeface family designed to be modern yet
emotional. It was introduced as the font used for Android 4.0 "Ice Cream Sandwich". This typeface is designed for high resolution mobile devices so it includes several typefaces for text in different sizes. WWW: http://developer.android.com/design/style/typography.html PR: 165342 Submitted by: Winston Weinert <winstonw at lavabit dot com>
This commit is contained in:
parent
02cdf14494
commit
c78fdb287a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292113
@ -131,6 +131,7 @@
|
||||
SUBDIR += profont
|
||||
SUBDIR += proggy_fonts
|
||||
SUBDIR += proggy_fonts-ttf
|
||||
SUBDIR += roboto-fonts-ttf
|
||||
SUBDIR += sgifonts
|
||||
SUBDIR += sharefonts
|
||||
SUBDIR += showfont
|
||||
|
42
x11-fonts/roboto-fonts-ttf/Makefile
Normal file
42
x11-fonts/roboto-fonts-ttf/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
# New ports collection makefile for: roboto-fonts-ttf
|
||||
# Date created: 2012-02-23
|
||||
# Whom: Winston Weinert <winstonw@lavabit.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= roboto-fonts-ttf
|
||||
PORTVERSION= 20111129
|
||||
CATEGORIES= x11-fonts
|
||||
MASTER_SITES= http://developer.android.com/design/static/download/
|
||||
DISTNAME= Roboto_Hinted_${PORTVERSION}
|
||||
|
||||
MAINTAINER= winstonw@lavabit.com
|
||||
COMMENT= The Roboto typeface family
|
||||
|
||||
LICENSE= AL2
|
||||
|
||||
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
|
||||
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
|
||||
|
||||
USE_ZIP= yes
|
||||
|
||||
FONTDIR= lib/X11/fonts/Roboto
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
PLIST_SUB= FONTDIR=${FONTDIR}
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= FONTDIR=${FONTDIR}
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC}/ && \
|
||||
${LOCALBASE}/bin/mkfontscale && \
|
||||
${LOCALBASE}/bin/mkfontdir
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/${FONTDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.* ${PREFIX}/${FONTDIR}/
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
2
x11-fonts/roboto-fonts-ttf/distinfo
Normal file
2
x11-fonts/roboto-fonts-ttf/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Roboto_Hinted_20111129.zip) = 99e865226391af3ac922f476c20d3e82fb471e7cece512486f92438b6d37dfcf
|
||||
SIZE (Roboto_Hinted_20111129.zip) = 1505533
|
8
x11-fonts/roboto-fonts-ttf/files/pkg-message.in
Normal file
8
x11-fonts/roboto-fonts-ttf/files/pkg-message.in
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
You can start using the fonts by following these instructions:
|
||||
|
||||
Add the following line to the "Files" section of your X.org configuration
|
||||
file:
|
||||
|
||||
FontPath "%%PREFIX%%/%%FONTDIR%%/"
|
||||
|
6
x11-fonts/roboto-fonts-ttf/pkg-descr
Normal file
6
x11-fonts/roboto-fonts-ttf/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Roboto is a sans serif typeface family designed to be modern yet
|
||||
emotional. It was introduced as the font used for Android 4.0 "Ice
|
||||
Cream Sandwich". This typeface is designed for high resolution mobile
|
||||
devices so it includes several typefaces for text in different sizes.
|
||||
|
||||
WWW: http://developer.android.com/design/style/typography.html
|
20
x11-fonts/roboto-fonts-ttf/pkg-plist
Normal file
20
x11-fonts/roboto-fonts-ttf/pkg-plist
Normal file
@ -0,0 +1,20 @@
|
||||
%%FONTDIR%%/Roboto-Black.ttf
|
||||
%%FONTDIR%%/Roboto-BlackItalic.ttf
|
||||
%%FONTDIR%%/Roboto-Bold.ttf
|
||||
%%FONTDIR%%/Roboto-BoldCondensed.ttf
|
||||
%%FONTDIR%%/Roboto-BoldCondensedItalic.ttf
|
||||
%%FONTDIR%%/Roboto-BoldItalic.ttf
|
||||
%%FONTDIR%%/Roboto-Condensed.ttf
|
||||
%%FONTDIR%%/Roboto-CondensedItalic.ttf
|
||||
%%FONTDIR%%/Roboto-Italic.ttf
|
||||
%%FONTDIR%%/Roboto-Light.ttf
|
||||
%%FONTDIR%%/Roboto-LightItalic.ttf
|
||||
%%FONTDIR%%/Roboto-Medium.ttf
|
||||
%%FONTDIR%%/Roboto-MediumItalic.ttf
|
||||
%%FONTDIR%%/Roboto-Regular.ttf
|
||||
%%FONTDIR%%/Roboto-Thin.ttf
|
||||
%%FONTDIR%%/Roboto-ThinItalic.ttf
|
||||
%%FONTDIR%%/fonts.dir
|
||||
%%FONTDIR%%/fonts.scale
|
||||
@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || true
|
||||
@dirrm %%FONTDIR%%
|
Loading…
Reference in New Issue
Block a user