based on a port from juanfra684 in openbsd-wip/fonts
- reorder Makefile according to Makefile.template - trim COMMENT - fetch files from the original site - change DISTNAME, MASTER_SITES, EXTRACT_SUFX accordingly - use lowercase for fonts directory - install docu pdf too with help and ok from sthen aja
This commit is contained in:
parent
b6566f6a3d
commit
8bcd0ba23f
37
fonts/roboto-fonts/Makefile
Normal file
37
fonts/roboto-fonts/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/10/12 16:06:03 rpe Exp $
|
||||
|
||||
COMMENT = sans-serif typeface family of Android OS
|
||||
|
||||
DISTNAME = Roboto_Hinted_${V}
|
||||
PKGNAME = roboto-fonts-${V}
|
||||
V = 20120823
|
||||
|
||||
CATEGORIES = fonts x11
|
||||
|
||||
HOMEPAGE = https://developer.android.com/design/style/typography.html
|
||||
|
||||
MAINTAINER = Juan Francisco Cantero Hurtado <iam@juanfra.info>
|
||||
|
||||
# Apache 2 License
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MASTER_SITES = https://developer.android.com/downloads/design/
|
||||
EXTRACT_SUFX = .zip
|
||||
|
||||
NO_BUILD = Yes
|
||||
NO_REGRESS = Yes
|
||||
|
||||
PKG_ARCH = *
|
||||
|
||||
FONTDIR = ${PREFIX}/lib/X11/fonts/roboto
|
||||
DOCDIR = ${PREFIX}/share/doc/roboto-fonts
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${FONTDIR} ${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/*.ttf ${FONTDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/*.pdf ${DOCDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
fonts/roboto-fonts/distinfo
Normal file
2
fonts/roboto-fonts/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Roboto_Hinted_20120823.zip) = u06kj9MLcmBSiyV55/kAwWjfjF6RQooEY3M2c+qRNpA=
|
||||
SIZE (Roboto_Hinted_20120823.zip) = 1456846
|
2
fonts/roboto-fonts/pkg/DESCR
Normal file
2
fonts/roboto-fonts/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
Roboto is a sans-serif typeface family introduced with Android Ice
|
||||
Cream Sandwich operating system.
|
21
fonts/roboto-fonts/pkg/PLIST
Normal file
21
fonts/roboto-fonts/pkg/PLIST
Normal file
@ -0,0 +1,21 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/12 16:06:03 rpe Exp $
|
||||
lib/X11/fonts/
|
||||
@fontdir lib/X11/fonts/roboto/
|
||||
lib/X11/fonts/roboto/Roboto-Black.ttf
|
||||
lib/X11/fonts/roboto/Roboto-BlackItalic.ttf
|
||||
lib/X11/fonts/roboto/Roboto-Bold.ttf
|
||||
lib/X11/fonts/roboto/Roboto-BoldCondensed.ttf
|
||||
lib/X11/fonts/roboto/Roboto-BoldCondensedItalic.ttf
|
||||
lib/X11/fonts/roboto/Roboto-BoldItalic.ttf
|
||||
lib/X11/fonts/roboto/Roboto-Condensed.ttf
|
||||
lib/X11/fonts/roboto/Roboto-CondensedItalic.ttf
|
||||
lib/X11/fonts/roboto/Roboto-Italic.ttf
|
||||
lib/X11/fonts/roboto/Roboto-Light.ttf
|
||||
lib/X11/fonts/roboto/Roboto-LightItalic.ttf
|
||||
lib/X11/fonts/roboto/Roboto-Medium.ttf
|
||||
lib/X11/fonts/roboto/Roboto-MediumItalic.ttf
|
||||
lib/X11/fonts/roboto/Roboto-Regular.ttf
|
||||
lib/X11/fonts/roboto/Roboto-Thin.ttf
|
||||
lib/X11/fonts/roboto/Roboto-ThinItalic.ttf
|
||||
share/doc/roboto-fonts/
|
||||
share/doc/roboto-fonts/RobotoSpecimenBook.pdf
|
Loading…
Reference in New Issue
Block a user