Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2014 14:15:43 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359533 - in head/x11-fonts/fira: . files
Message-ID:  <201406271415.s5REFhJc006420@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Jun 27 14:15:43 2014
New Revision: 359533
URL: http://svnweb.freebsd.org/changeset/ports/359533
QAT: https://qat.redports.org/buildarchive/r359533/

Log:
  - Update to 3.108
  - Change MASTER_SITES, use canonical and mirror [1]
  - Add Technical Documentation and UFO source files [1]
  - Add USES=zip
  - Remove TTF
  - Remove SUB_LIST
  - Change pkg-descr, pkg-plist and pkg-message
  - Remove x11-fonts/mkfontdir from BUILD_DEPENDS and pkg-plist
  - Remove mkfontscale from pkg-plist
  - Remove X font server instructions from pkg-message
  
  PR:		190810

Modified:
  head/x11-fonts/fira/Makefile
  head/x11-fonts/fira/distinfo
  head/x11-fonts/fira/files/pkg-message.in
  head/x11-fonts/fira/pkg-descr
  head/x11-fonts/fira/pkg-plist

Modified: head/x11-fonts/fira/Makefile
==============================================================================
--- head/x11-fonts/fira/Makefile	Fri Jun 27 14:14:01 2014	(r359532)
+++ head/x11-fonts/fira/Makefile	Fri Jun 27 14:15:43 2014	(r359533)
@@ -2,45 +2,61 @@
 # $FreeBSD$
 
 PORTNAME=	fira
-PORTVERSION=	1.0
+PORTVERSION=	3.108
 CATEGORIES=	x11-fonts
+MASTER_SITES=	http://dev.carrois.com/wordpress/downloads/${PORTNAME}_3_1/ \
+		SF/horia/${CATEGORIES}/${PORTNAME}/
+DISTNAME=	${PORTNAME:S|f|F|}Fonts${PORTVERSION:S|.||}
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
+		${PORTNAME:S|f|F|}PDF${PORTVERSION:S|.||}${EXTRACT_SUFX} \
+		${PORTNAME:S|f|F|}UFO_beta${PORTVERSION:S|.||}${EXTRACT_SUFX} \
+		Version_Report.rtf
+EXTRACT_ONLY=	${DISTFILES:C|Version.*||}
 
 MAINTAINER=	horia@racoviceanu.com
 COMMENT=	Sans-serif and monospaced typeface for small screens
 
 LICENSE=	OFL11
 
-BUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
-		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
+BUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	mozilla
-GH_PROJECT=	Fira
-GH_TAGNAME=	${GH_COMMIT}
-GH_COMMIT=	705ffff
-
+USES=		zip
 USE_XORG=	x11
 FONTLIBPATH=	lib/X11/fonts
 FONTROOTDIR=	${PREFIX}/${FONTLIBPATH}
 FONTDIR=	${FONTROOTDIR}/${PORTNAME}
 NO_BUILD=	yes
 
-SUB_LIST=	FONTDIR="${FONTDIR}"
+SUB_FILES=	pkg-message
 PLIST_SUB=	FONTDIR="${FONTDIR:S|${PREFIX}/||}"
 
-PORTDOCS=	README.md
+PORTDOCS=	Version_Report.rtf \
+		${PORTNAME:S|f|F|}*.pdf
 
-OPTIONS_DEFINE=	DOCS
+PORTEXAMPLES=	*
 
-SUB_FILES=	pkg-message
+OPTIONS_DEFINE=	DOCS EXAMPLES
+EXAMPLES_DESC=	UFO source files
+
+.include <bsd.port.options.mk>
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${FONTDIR}
-	${INSTALL_DATA} ${WRKSRC}/ttf/${GH_PROJECT}*.ttf ${STAGEDIR}${FONTDIR}
-	${INSTALL_DATA} ${WRKSRC}/otf/${GH_PROJECT}*.otf ${STAGEDIR}${FONTDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME:S|f|F|}*${PORTVERSION:S|.||}/OTF/${PORTNAME:S|f|F|}*.otf \
+		${STAGEDIR}${FONTDIR}
 
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${CP} ${DISTDIR}/Version_Report.rtf ${WRKSRC}/
+	@${CP} ${WRKDIR}/${PORTNAME:S|f|F|}PDF${PORTVERSION:S|.||}/${PORTNAME:S|f|F|}*.pdf ${WRKSRC}/
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKDIR}/${PORTNAME:S|f|F|}UFO_beta${PORTVERSION:S|.||} && \
+		${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+.endif
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/fira/distinfo
==============================================================================
--- head/x11-fonts/fira/distinfo	Fri Jun 27 14:14:01 2014	(r359532)
+++ head/x11-fonts/fira/distinfo	Fri Jun 27 14:15:43 2014	(r359533)
@@ -1,2 +1,8 @@
-SHA256 (fira-1.0.tar.gz) = f87bd7d1380e5a93a3743edd3d038b44c7460ea14c204b152b750f5551fd2531
-SIZE (fira-1.0.tar.gz) = 3973356
+SHA256 (FiraFonts3108.zip) = 1276faad9079547d49e320acf30f2d35c569aa0a8dc4fbaed58535122efc1859
+SIZE (FiraFonts3108.zip) = 12452926
+SHA256 (FiraPDF3108.zip) = fb876e5271bfa4c06050e1854458be5eeaac897708e114481939332204c77159
+SIZE (FiraPDF3108.zip) = 18991895
+SHA256 (FiraUFO_beta3108.zip) = 8edd2f1a768055c949ccfb6f20aa4a900b327c8bd7e63bd1d261ab987f611f2a
+SIZE (FiraUFO_beta3108.zip) = 7088932
+SHA256 (Version_Report.rtf) = 6a32e9c54abf66a49adcb61223fb23465850bd8f48f1eb512f647eb4eb7bb71c
+SIZE (Version_Report.rtf) = 4671

Modified: head/x11-fonts/fira/files/pkg-message.in
==============================================================================
--- head/x11-fonts/fira/files/pkg-message.in	Fri Jun 27 14:14:01 2014	(r359532)
+++ head/x11-fonts/fira/files/pkg-message.in	Fri Jun 27 14:15:43 2014	(r359533)
@@ -2,16 +2,19 @@
 
 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:
+Fira has advanced Open Type typographic layout features and language support.
+Please refer to the Technical Documentation installed by this port or online at
 
-    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
+    http://dev.carrois.com/fira-3-1/
+ 
+For details about OpenType Layout Features see the OpenType Layout tag registry
+ 
+    http://www.microsoft.com/typography/otspec/featurelist.htm
+ 
+or
+ 
+    https://www.fontfont.com/staticcontent/downloads/FF_OT_User_Guide.pdf
+    http://en.wikipedia.org/wiki/List_of_typographic_features
 
 For Web Font please use www/fira-webfont port.
 

Modified: head/x11-fonts/fira/pkg-descr
==============================================================================
--- head/x11-fonts/fira/pkg-descr	Fri Jun 27 14:14:01 2014	(r359532)
+++ head/x11-fonts/fira/pkg-descr	Fri Jun 27 14:15:43 2014	(r359533)
@@ -1,9 +1,10 @@
-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).
+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 16 weights all accompanied by italic styles. The package also
+includes a Mono Spaced variant with 3 weights (regular, medium and bold). The
+UFO source files are included in examples.
 
-Available formats: Open Type, True Type
+Available formats: Open Type
+*supports advanced Open Type typographic layout features and languages
 
-WWW: http://mozilla.github.io/Fira/
+WWW: http://dev.carrois.com/fira-3-1/

Modified: head/x11-fonts/fira/pkg-plist
==============================================================================
--- head/x11-fonts/fira/pkg-plist	Fri Jun 27 14:14:01 2014	(r359532)
+++ head/x11-fonts/fira/pkg-plist	Fri Jun 27 14:15:43 2014	(r359533)
@@ -1,29 +1,38 @@
-%%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
+%%FONTDIR%%/FiraMono-Bold.otf
+%%FONTDIR%%/FiraMono-Medium.otf
+%%FONTDIR%%/FiraMono-Regular.otf
+%%FONTDIR%%/FiraSans-Bold.otf
+%%FONTDIR%%/FiraSans-BoldItalic.otf
+%%FONTDIR%%/FiraSans-Book.otf
+%%FONTDIR%%/FiraSans-BookItalic.otf
+%%FONTDIR%%/FiraSans-Eight.otf
+%%FONTDIR%%/FiraSans-EightItalic.otf
+%%FONTDIR%%/FiraSans-ExtraBold.otf
+%%FONTDIR%%/FiraSans-ExtraBoldItalic.otf
+%%FONTDIR%%/FiraSans-ExtraLight.otf
+%%FONTDIR%%/FiraSans-ExtraLightItalic.otf
+%%FONTDIR%%/FiraSans-Four.otf
+%%FONTDIR%%/FiraSans-FourItalic.otf
+%%FONTDIR%%/FiraSans-Hair.otf
+%%FONTDIR%%/FiraSans-HairItalic.otf
+%%FONTDIR%%/FiraSans-Heavy.otf
+%%FONTDIR%%/FiraSans-HeavyItalic.otf
+%%FONTDIR%%/FiraSans-Italic.otf
+%%FONTDIR%%/FiraSans-Light.otf
+%%FONTDIR%%/FiraSans-LightItalic.otf
+%%FONTDIR%%/FiraSans-Medium.otf
+%%FONTDIR%%/FiraSans-MediumItalic.otf
+%%FONTDIR%%/FiraSans-Regular.otf
+%%FONTDIR%%/FiraSans-SemiBold.otf
+%%FONTDIR%%/FiraSans-SemiBoldItalic.otf
+%%FONTDIR%%/FiraSans-Thin.otf
+%%FONTDIR%%/FiraSans-ThinItalic.otf
+%%FONTDIR%%/FiraSans-Two.otf
+%%FONTDIR%%/FiraSans-TwoItalic.otf
+%%FONTDIR%%/FiraSans-Ultra.otf
+%%FONTDIR%%/FiraSans-UltraItalic.otf
+%%FONTDIR%%/FiraSans-UltraLight.otf
+%%FONTDIR%%/FiraSans-UltraLightItalic.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?201406271415.s5REFhJc006420>