Date: Mon, 20 Jan 2014 20:21:51 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340463 - in head/x11-fonts: . fira fira/files Message-ID: <201401202021.s0KKLp6X056384@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Mon Jan 20 20:21:50 2014 New Revision: 340463 URL: http://svnweb.freebsd.org/changeset/ports/340463 QAT: https://qat.redports.org/buildarchive/r340463/ Log: 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). Available formats: Open Type, True Type WWW: http://mozilla.github.io/Fira/ PR: ports/182414 Submitted by: horia Added: head/x11-fonts/fira/ head/x11-fonts/fira/Makefile (contents, props changed) head/x11-fonts/fira/distinfo (contents, props changed) head/x11-fonts/fira/files/ head/x11-fonts/fira/files/pkg-message.in (contents, props changed) head/x11-fonts/fira/fonts.scale (contents, props changed) head/x11-fonts/fira/pkg-descr (contents, props changed) head/x11-fonts/fira/pkg-plist (contents, props changed) Modified: head/x11-fonts/Makefile Modified: head/x11-fonts/Makefile ============================================================================== --- head/x11-fonts/Makefile Mon Jan 20 20:02:50 2014 (r340462) +++ head/x11-fonts/Makefile Mon Jan 20 20:21:50 2014 (r340463) @@ -35,6 +35,7 @@ SUBDIR += ecofont SUBDIR += encodings SUBDIR += farsifonts + SUBDIR += fira SUBDIR += fntsample SUBDIR += font-adobe-100dpi SUBDIR += font-adobe-75dpi Added: head/x11-fonts/fira/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/fira/Makefile Mon Jan 20 20:21:50 2014 (r340463) @@ -0,0 +1,49 @@ +# Created by: Horia Racoviceanu <horia@racoviceanu.com> +# $FreeBSD$ + +PORTNAME= fira +PORTVERSION= 1.0 +CATEGORIES= x11-fonts + +MAINTAINER= horia@racoviceanu.com +COMMENT= Sans-serif and monospaced typeface 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 + +BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \ + mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_GITHUB= yes +GH_ACCOUNT= mozilla +GH_PROJECT= Fira +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= 705ffff + +USE_XORG= x11 +FONTLIBPATH= lib/X11/fonts +FONTROOTDIR= ${PREFIX}/${FONTLIBPATH} +FONTDIR= ${FONTROOTDIR}/${PORTNAME} +NO_BUILD= yes + +SUB_LIST= FONTDIR="${FONTDIR}" +PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}" + +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +SUB_FILES= pkg-message + +do-install: + @${MKDIR} ${STAGEDIR}${FONTDIR} + ${INSTALL_DATA} ${WRKSRC}/ttf/${GH_PROJECT}*.ttf ${STAGEDIR}${FONTDIR} + ${INSTALL_DATA} ${WRKSRC}/otf/${GH_PROJECT}*.otf ${STAGEDIR}${FONTDIR} + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> Added: head/x11-fonts/fira/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/fira/distinfo Mon Jan 20 20:21:50 2014 (r340463) @@ -0,0 +1,2 @@ +SHA256 (fira-1.0.tar.gz) = f87bd7d1380e5a93a3743edd3d038b44c7460ea14c204b152b750f5551fd2531 +SIZE (fira-1.0.tar.gz) = 3973356 Added: head/x11-fonts/fira/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/fira/files/pkg-message.in Mon Jan 20 20:21:50 2014 (r340463) @@ -0,0 +1,18 @@ +=============================================================================== + +Fira has been installed. + +Make sure that the freetype module is loaded. If it is not, add the following +line to the "Modules" section of your X Windows configuration file: + + Load "freetype" + +Add the following line to the "Files" section of X Windows configuration file: + + FontPath "%%FONTDIR%%/" + +Note: your X Windows configuration file is typically /etc/X11/xorg.conf + +For Web Font please use www/fira-webfont port. + +=============================================================================== Added: head/x11-fonts/fira/fonts.scale ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/fira/fonts.scale Mon Jan 20 20:21:50 2014 (r340463) @@ -0,0 +1 @@ +0 Added: head/x11-fonts/fira/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/fira/pkg-descr Mon Jan 20 20:21:50 2014 (r340463) @@ -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). + +Available formats: Open Type, True Type + +WWW: http://mozilla.github.io/Fira/ Added: head/x11-fonts/fira/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/fira/pkg-plist Mon Jan 20 20:21:50 2014 (r340463) @@ -0,0 +1,29 @@ +%%FONTDIR%%/FiraMono-Bold.ttf +%%FONTDIR%%/FiraMono-Regular.ttf +%%FONTDIR%%/FiraMonoOT-Bold.otf +%%FONTDIR%%/FiraMonoOT-Regular.otf +%%FONTDIR%%/FiraSans-Bold.ttf +%%FONTDIR%%/FiraSans-BoldItalic.ttf +%%FONTDIR%%/FiraSans-Light.ttf +%%FONTDIR%%/FiraSans-LightItalic.ttf +%%FONTDIR%%/FiraSans-Medium.ttf +%%FONTDIR%%/FiraSans-MediumItalic.ttf +%%FONTDIR%%/FiraSans-Regular.ttf +%%FONTDIR%%/FiraSans-RegularItalic.ttf +%%FONTDIR%%/FiraSansOT-Bold.otf +%%FONTDIR%%/FiraSansOT-BoldItalic.otf +%%FONTDIR%%/FiraSansOT-Light.otf +%%FONTDIR%%/FiraSansOT-LightItalic.otf +%%FONTDIR%%/FiraSansOT-Medium.otf +%%FONTDIR%%/FiraSansOT-MediumItalic.otf +%%FONTDIR%%/FiraSansOT-Regular.otf +%%FONTDIR%%/FiraSansOT-RegularItalic.otf +@exec fc-cache -s -v %D/%%FONTDIR%% 2>/dev/null || true +@exec mkfontscale %D/%%FONTDIR%% 2>/dev/null || true +@unexec mkfontscale %D/%%FONTDIR%% 2>/dev/null || true +@unexec if [ -e %D/%%FONTDIR%%/fonts.scale -a "`stat -f '%%z' %D/%%FONTDIR%%/fonts.scale 2>/dev/null`" = '2' ]; then rm %D/%%FONTDIR%%/fonts.scale; fi +@exec mkfontdir %D/%%FONTDIR%% 2>/dev/null || true +@unexec mkfontdir %D/%%FONTDIR%% 2>/dev/null || true +@unexec if [ -e %D/%%FONTDIR%%/fonts.dir -a "`stat -f '%%z' %D/%%FONTDIR%%/fonts.dir 2>/dev/null`" = '2' ]; then rm %D/%%FONTDIR%%/fonts.dir; fi +@dirrm %%FONTDIR%% +@unexec fc-cache -s -v %D/%%FONTDIR%% 2>/dev/null || true
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401202021.s0KKLp6X056384>