From df7f31d156379804bd7a0663215e9c6642d3a9aa Mon Sep 17 00:00:00 2001 From: Rusmir Dusko Date: Mon, 20 Jan 2014 20:23:56 +0000 Subject: [PATCH] The Fira font family was designed to cover the legibility needs for a large range of handsets varying in screen quality and rendering. It comes in a Sans Serif with 4 weights (light, regular, medium and bold) all accompanied by italic styles. The package also includes a Mono Spaced variant with 2 weights (regular and bold). Web Font: EOT, WOFF, TTF, and example HTML+CSS WWW: http://mozilla.github.io/Fira/ PR: ports/183573 Submitted by: horia --- www/Makefile | 1 + www/fira-webfont/Makefile | 47 ++++++++++++++++++++++++ www/fira-webfont/distinfo | 2 + www/fira-webfont/files/pkg-message.in | 9 +++++ www/fira-webfont/pkg-descr | 9 +++++ www/fira-webfont/pkg-plist | 53 +++++++++++++++++++++++++++ 6 files changed, 121 insertions(+) create mode 100644 www/fira-webfont/Makefile create mode 100644 www/fira-webfont/distinfo create mode 100644 www/fira-webfont/files/pkg-message.in create mode 100644 www/fira-webfont/pkg-descr create mode 100644 www/fira-webfont/pkg-plist diff --git a/www/Makefile b/www/Makefile index 87ac51c01978..53adcd92d66f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -210,6 +210,7 @@ SUBDIR += feedonfeeds SUBDIR += ffproxy SUBDIR += fhttpd + SUBDIR += fira-webfont SUBDIR += firefox SUBDIR += firefox-esr SUBDIR += firefox-esr-i18n diff --git a/www/fira-webfont/Makefile b/www/fira-webfont/Makefile new file mode 100644 index 000000000000..47a103e17d28 --- /dev/null +++ b/www/fira-webfont/Makefile @@ -0,0 +1,47 @@ +# Created by: Horia Racoviceanu +# $FreeBSD$ + +PORTNAME= fira +PORTVERSION= 1.0 +CATEGORIES= www +PKGNAMESUFFIX= -webfont + +MAINTAINER= horia@racoviceanu.com +COMMENT= Sans-serif and monospaced Web Font for small screens + +LICENSE= OFL +LICENSE_NAME= SIL OPEN FONT LICENSE Version 1.1 +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= dist-mirror pkg-mirror auto-accept + +USE_GITHUB= yes +GH_ACCOUNT= mozilla +GH_PROJECT= Fira +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= 705ffff + +NO_BUILD= yes + +PORTDOCS= README.md +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} + +OPTIONS_DEFINE= DOCS + +SUB_FILES= pkg-message +PLIST_SUB= WWWDIR_REL=${WWWDIR_REL} + +do-install: + @${MKDIR} ${STAGEDIR}${WWWDIR} + ${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${WWWDIR} + ${INSTALL_DATA} ${WRKSRC}/fira.css ${STAGEDIR}${WWWDIR} + @${MKDIR} ${STAGEDIR}${WWWDIR}/eot + ${INSTALL_DATA} ${WRKSRC}/eot/${GH_PROJECT}*.eot ${STAGEDIR}${WWWDIR}/eot/ + @${MKDIR} ${STAGEDIR}${WWWDIR}/ttf + ${INSTALL_DATA} ${WRKSRC}/ttf/${GH_PROJECT}*.ttf ${STAGEDIR}${WWWDIR}/ttf/ + @${MKDIR} ${STAGEDIR}${WWWDIR}/woff + ${INSTALL_DATA} ${WRKSRC}/woff/${GH_PROJECT}*.woff ${STAGEDIR}${WWWDIR}/woff/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/www/fira-webfont/distinfo b/www/fira-webfont/distinfo new file mode 100644 index 000000000000..0a0c7df79646 --- /dev/null +++ b/www/fira-webfont/distinfo @@ -0,0 +1,2 @@ +SHA256 (fira-1.0.tar.gz) = f87bd7d1380e5a93a3743edd3d038b44c7460ea14c204b152b750f5551fd2531 +SIZE (fira-1.0.tar.gz) = 3973356 diff --git a/www/fira-webfont/files/pkg-message.in b/www/fira-webfont/files/pkg-message.in new file mode 100644 index 000000000000..d489edfaa50f --- /dev/null +++ b/www/fira-webfont/files/pkg-message.in @@ -0,0 +1,9 @@ +=============================================================================== + +Fira has been installed. + +Example HTML and CSS have been installed in %%WWWDIR%% + +For X11 Open Type and True Type font please use x11-fonts/fira port. + +=============================================================================== diff --git a/www/fira-webfont/pkg-descr b/www/fira-webfont/pkg-descr new file mode 100644 index 000000000000..22503adaaace --- /dev/null +++ b/www/fira-webfont/pkg-descr @@ -0,0 +1,9 @@ +The Fira font family was designed to cover the legibility needs for a +large range of handsets varying in screen quality and rendering. It +comes in a Sans Serif with 4 weights (light, regular, medium and bold) +all accompanied by italic styles. The package also includes a Mono +Spaced variant with 2 weights (regular and bold). + +Web Font: EOT, WOFF, TTF, and example HTML+CSS + +WWW: http://mozilla.github.io/Fira/ diff --git a/www/fira-webfont/pkg-plist b/www/fira-webfont/pkg-plist new file mode 100644 index 000000000000..15ba52b115dd --- /dev/null +++ b/www/fira-webfont/pkg-plist @@ -0,0 +1,53 @@ +%%WWWDIR_REL%%/eot/FiraMono-Bold.eot +%%WWWDIR_REL%%/eot/FiraMono-Regular.eot +%%WWWDIR_REL%%/eot/FiraSans-Bold.eot +%%WWWDIR_REL%%/eot/FiraSans-BoldItalic.eot +%%WWWDIR_REL%%/eot/FiraSans-Light.eot +%%WWWDIR_REL%%/eot/FiraSans-LightItalic.eot +%%WWWDIR_REL%%/eot/FiraSans-Medium.eot +%%WWWDIR_REL%%/eot/FiraSans-MediumItalic.eot +%%WWWDIR_REL%%/eot/FiraSans-Regular.eot +%%WWWDIR_REL%%/eot/FiraSans-RegularItalic.eot +%%WWWDIR_REL%%/eot/FiraSansSC-Bold.eot +%%WWWDIR_REL%%/eot/FiraSansSC-BoldItalic.eot +%%WWWDIR_REL%%/eot/FiraSansSC-Light.eot +%%WWWDIR_REL%%/eot/FiraSansSC-LightItalic.eot +%%WWWDIR_REL%%/eot/FiraSansSC-Medium.eot +%%WWWDIR_REL%%/eot/FiraSansSC-MediumItalic.eot +%%WWWDIR_REL%%/eot/FiraSansSC-Regular.eot +%%WWWDIR_REL%%/eot/FiraSansSC-RegularItalic.eot +%%WWWDIR_REL%%/fira.css +%%WWWDIR_REL%%/index.html +%%WWWDIR_REL%%/ttf/FiraMono-Bold.ttf +%%WWWDIR_REL%%/ttf/FiraMono-Regular.ttf +%%WWWDIR_REL%%/ttf/FiraSans-Bold.ttf +%%WWWDIR_REL%%/ttf/FiraSans-BoldItalic.ttf +%%WWWDIR_REL%%/ttf/FiraSans-Light.ttf +%%WWWDIR_REL%%/ttf/FiraSans-LightItalic.ttf +%%WWWDIR_REL%%/ttf/FiraSans-Medium.ttf +%%WWWDIR_REL%%/ttf/FiraSans-MediumItalic.ttf +%%WWWDIR_REL%%/ttf/FiraSans-Regular.ttf +%%WWWDIR_REL%%/ttf/FiraSans-RegularItalic.ttf +%%WWWDIR_REL%%/woff/FiraMono-Bold.woff +%%WWWDIR_REL%%/woff/FiraMono-Regular.woff +%%WWWDIR_REL%%/woff/FiraSans-Bold.woff +%%WWWDIR_REL%%/woff/FiraSans-BoldItalic.woff +%%WWWDIR_REL%%/woff/FiraSans-Light.woff +%%WWWDIR_REL%%/woff/FiraSans-LightItalic.woff +%%WWWDIR_REL%%/woff/FiraSans-Medium.woff +%%WWWDIR_REL%%/woff/FiraSans-MediumItalic.woff +%%WWWDIR_REL%%/woff/FiraSans-Regular.woff +%%WWWDIR_REL%%/woff/FiraSans-RegularItalic.woff +%%WWWDIR_REL%%/woff/FiraSansOT-Light.woff +%%WWWDIR_REL%%/woff/FiraSansSC-Bold.woff +%%WWWDIR_REL%%/woff/FiraSansSC-BoldItalic.woff +%%WWWDIR_REL%%/woff/FiraSansSC-Light.woff +%%WWWDIR_REL%%/woff/FiraSansSC-LightItalic.woff +%%WWWDIR_REL%%/woff/FiraSansSC-Medium.woff +%%WWWDIR_REL%%/woff/FiraSansSC-MediumItalic.woff +%%WWWDIR_REL%%/woff/FiraSansSC-Regular.woff +%%WWWDIR_REL%%/woff/FiraSansSC-RegularItalic.woff +@dirrm %%WWWDIR_REL%%/woff +@dirrm %%WWWDIR_REL%%/ttf +@dirrm %%WWWDIR_REL%%/eot +@dirrm %%WWWDIR_REL%%