View | Details | Raw Unified | Return to bug 190810
Collapse All | Expand All

(-)Makefile (-15 / +31 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fira
4
PORTNAME=	fira
5
PORTVERSION=	1.0
5
PORTVERSION=	3.108
6
CATEGORIES=	x11-fonts
6
CATEGORIES=	x11-fonts
7
MASTER_SITES=	http://dev.carrois.com/wordpress/downloads/${PORTNAME}_3_1/ \
8
		SF/horia/${CATEGORIES}/${PORTNAME}/
9
DISTNAME=	${PORTNAME:S|f|F|}Fonts${PORTVERSION:S|.||}
10
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
11
		${PORTNAME:S|f|F|}PDF${PORTVERSION:S|.||}${EXTRACT_SUFX} \
12
		${PORTNAME:S|f|F|}UFO_beta${PORTVERSION:S|.||}${EXTRACT_SUFX} \
13
		Version_Report.rtf
14
EXTRACT_ONLY=	${DISTFILES:C|Version.*||}
7
15
8
MAINTAINER=	horia@racoviceanu.com
16
MAINTAINER=	horia@racoviceanu.com
9
COMMENT=	Sans-serif and monospaced typeface for small screens
17
COMMENT=	Sans-serif and monospaced typeface for small screens
Lines 10-25 Link Here
10
18
11
LICENSE=	OFL11
19
LICENSE=	OFL11
12
20
13
BUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
21
BUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig
14
		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
15
RUN_DEPENDS:=	${BUILD_DEPENDS}
22
RUN_DEPENDS:=	${BUILD_DEPENDS}
16
23
17
USE_GITHUB=	yes
24
USES=		zip
18
GH_ACCOUNT=	mozilla
19
GH_PROJECT=	Fira
20
GH_TAGNAME=	${GH_COMMIT}
21
GH_COMMIT=	705ffff
22
23
USE_XORG=	x11
25
USE_XORG=	x11
24
FONTLIBPATH=	lib/X11/fonts
26
FONTLIBPATH=	lib/X11/fonts
25
FONTROOTDIR=	${PREFIX}/${FONTLIBPATH}
27
FONTROOTDIR=	${PREFIX}/${FONTLIBPATH}
Lines 26-46 Link Here
26
FONTDIR=	${FONTROOTDIR}/${PORTNAME}
28
FONTDIR=	${FONTROOTDIR}/${PORTNAME}
27
NO_BUILD=	yes
29
NO_BUILD=	yes
28
30
29
SUB_LIST=	FONTDIR="${FONTDIR}"
31
SUB_FILES=	pkg-message
30
PLIST_SUB=	FONTDIR="${FONTDIR:S|${PREFIX}/||}"
32
PLIST_SUB=	FONTDIR="${FONTDIR:S|${PREFIX}/||}"
31
33
32
PORTDOCS=	README.md
34
PORTDOCS=	Version_Report.rtf \
35
		${PORTNAME:S|f|F|}*.pdf
33
36
34
OPTIONS_DEFINE=	DOCS
37
PORTEXAMPLES=	*
35
38
36
SUB_FILES=	pkg-message
39
OPTIONS_DEFINE=	DOCS EXAMPLES
40
EXAMPLES_DESC=	UFO source files
37
41
42
.include <bsd.port.options.mk>
43
38
do-install:
44
do-install:
39
	@${MKDIR} ${STAGEDIR}${FONTDIR}
45
	@${MKDIR} ${STAGEDIR}${FONTDIR}
40
	${INSTALL_DATA} ${WRKSRC}/ttf/${GH_PROJECT}*.ttf ${STAGEDIR}${FONTDIR}
46
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME:S|f|F|}*${PORTVERSION:S|.||}/OTF/${PORTNAME:S|f|F|}*.otf \
41
	${INSTALL_DATA} ${WRKSRC}/otf/${GH_PROJECT}*.otf ${STAGEDIR}${FONTDIR}
47
		${STAGEDIR}${FONTDIR}
42
48
49
.if ${PORT_OPTIONS:MDOCS}
43
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
50
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
51
	@${CP} ${DISTDIR}/Version_Report.rtf ${WRKSRC}/
52
	@${CP} ${WRKDIR}/${PORTNAME:S|f|F|}PDF${PORTVERSION:S|.||}/${PORTNAME:S|f|F|}*.pdf ${WRKSRC}/
44
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
53
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
54
.endif
45
55
56
.if ${PORT_OPTIONS:MEXAMPLES}
57
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
58
	(cd ${WRKDIR}/${PORTNAME:S|f|F|}UFO_beta${PORTVERSION:S|.||} && \
59
		${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
60
.endif
61
46
.include <bsd.port.mk>
62
.include <bsd.port.mk>
(-)distinfo (-2 / +8 lines)
Lines 1-2 Link Here
1
SHA256 (fira-1.0.tar.gz) = f87bd7d1380e5a93a3743edd3d038b44c7460ea14c204b152b750f5551fd2531
1
SHA256 (FiraFonts3108.zip) = 1276faad9079547d49e320acf30f2d35c569aa0a8dc4fbaed58535122efc1859
2
SIZE (fira-1.0.tar.gz) = 3973356
2
SIZE (FiraFonts3108.zip) = 12452926
3
SHA256 (FiraPDF3108.zip) = fb876e5271bfa4c06050e1854458be5eeaac897708e114481939332204c77159
4
SIZE (FiraPDF3108.zip) = 18991895
5
SHA256 (FiraUFO_beta3108.zip) = 8edd2f1a768055c949ccfb6f20aa4a900b327c8bd7e63bd1d261ab987f611f2a
6
SIZE (FiraUFO_beta3108.zip) = 7088932
7
SHA256 (Version_Report.rtf) = 6a32e9c54abf66a49adcb61223fb23465850bd8f48f1eb512f647eb4eb7bb71c
8
SIZE (Version_Report.rtf) = 4671
(-)files/pkg-message.in (-9 / +12 lines)
Lines 2-18 Link Here
2
2
3
Fira has been installed.
3
Fira has been installed.
4
4
5
Make sure that the freetype module is loaded.  If it is not, add the following
5
Fira has advanced Open Type typographic layout features and language support.
6
line to the "Modules" section of your X Windows configuration file:
6
Please refer to the Technical Documentation installed by this port or online at
7
7
8
    Load "freetype"
8
    http://dev.carrois.com/fira-3-1/
9
 
10
For details about OpenType Layout Features see the OpenType Layout tag registry
11
 
12
    http://www.microsoft.com/typography/otspec/featurelist.htm
13
 
14
or
15
 
16
    https://www.fontfont.com/staticcontent/downloads/FF_OT_User_Guide.pdf
17
    http://en.wikipedia.org/wiki/List_of_typographic_features
9
18
10
Add the following line to the "Files" section of X Windows configuration file:
11
12
    FontPath "%%FONTDIR%%/"
13
14
Note: your X Windows configuration file is typically /etc/X11/xorg.conf
15
16
For Web Font please use www/fira-webfont port.
19
For Web Font please use www/fira-webfont port.
17
20
18
===============================================================================
21
===============================================================================
(-)pkg-descr (-7 / +8 lines)
Lines 1-9 Link Here
1
The Fira font family was designed to cover the legibility needs for a
1
The Fira font family was designed to cover the legibility needs for a large
2
large range of handsets varying in screen quality and rendering. It
2
range of handsets varying in screen quality and rendering. It comes in a
3
comes in a Sans Serif with 4 weights (light, regular, medium and bold)
3
Sans Serif with 16 weights all accompanied by italic styles. The package also
4
all accompanied by italic styles. The package also includes a Mono
4
includes a Mono Spaced variant with 3 weights (regular, medium and bold). The
5
Spaced variant with 2 weights (regular and bold).
5
UFO source files are included in examples.
6
6
7
Available formats: Open Type, True Type
7
Available formats: Open Type
8
*supports advanced Open Type typographic layout features and languages
8
9
9
WWW: http://mozilla.github.io/Fira/
10
WWW: http://dev.carrois.com/fira-3-1/
(-)pkg-plist (-26 / +35 lines)
Lines 1-29 Link Here
1
%%FONTDIR%%/FiraMono-Bold.ttf
1
%%FONTDIR%%/FiraMono-Bold.otf
2
%%FONTDIR%%/FiraMono-Regular.ttf
2
%%FONTDIR%%/FiraMono-Medium.otf
3
%%FONTDIR%%/FiraMonoOT-Bold.otf
3
%%FONTDIR%%/FiraMono-Regular.otf
4
%%FONTDIR%%/FiraMonoOT-Regular.otf
4
%%FONTDIR%%/FiraSans-Bold.otf
5
%%FONTDIR%%/FiraSans-Bold.ttf
5
%%FONTDIR%%/FiraSans-BoldItalic.otf
6
%%FONTDIR%%/FiraSans-BoldItalic.ttf
6
%%FONTDIR%%/FiraSans-Book.otf
7
%%FONTDIR%%/FiraSans-Light.ttf
7
%%FONTDIR%%/FiraSans-BookItalic.otf
8
%%FONTDIR%%/FiraSans-LightItalic.ttf
8
%%FONTDIR%%/FiraSans-Eight.otf
9
%%FONTDIR%%/FiraSans-Medium.ttf
9
%%FONTDIR%%/FiraSans-EightItalic.otf
10
%%FONTDIR%%/FiraSans-MediumItalic.ttf
10
%%FONTDIR%%/FiraSans-ExtraBold.otf
11
%%FONTDIR%%/FiraSans-Regular.ttf
11
%%FONTDIR%%/FiraSans-ExtraBoldItalic.otf
12
%%FONTDIR%%/FiraSans-RegularItalic.ttf
12
%%FONTDIR%%/FiraSans-ExtraLight.otf
13
%%FONTDIR%%/FiraSansOT-Bold.otf
13
%%FONTDIR%%/FiraSans-ExtraLightItalic.otf
14
%%FONTDIR%%/FiraSansOT-BoldItalic.otf
14
%%FONTDIR%%/FiraSans-Four.otf
15
%%FONTDIR%%/FiraSansOT-Light.otf
15
%%FONTDIR%%/FiraSans-FourItalic.otf
16
%%FONTDIR%%/FiraSansOT-LightItalic.otf
16
%%FONTDIR%%/FiraSans-Hair.otf
17
%%FONTDIR%%/FiraSansOT-Medium.otf
17
%%FONTDIR%%/FiraSans-HairItalic.otf
18
%%FONTDIR%%/FiraSansOT-MediumItalic.otf
18
%%FONTDIR%%/FiraSans-Heavy.otf
19
%%FONTDIR%%/FiraSansOT-Regular.otf
19
%%FONTDIR%%/FiraSans-HeavyItalic.otf
20
%%FONTDIR%%/FiraSansOT-RegularItalic.otf
20
%%FONTDIR%%/FiraSans-Italic.otf
21
%%FONTDIR%%/FiraSans-Light.otf
22
%%FONTDIR%%/FiraSans-LightItalic.otf
23
%%FONTDIR%%/FiraSans-Medium.otf
24
%%FONTDIR%%/FiraSans-MediumItalic.otf
25
%%FONTDIR%%/FiraSans-Regular.otf
26
%%FONTDIR%%/FiraSans-SemiBold.otf
27
%%FONTDIR%%/FiraSans-SemiBoldItalic.otf
28
%%FONTDIR%%/FiraSans-Thin.otf
29
%%FONTDIR%%/FiraSans-ThinItalic.otf
30
%%FONTDIR%%/FiraSans-Two.otf
31
%%FONTDIR%%/FiraSans-TwoItalic.otf
32
%%FONTDIR%%/FiraSans-Ultra.otf
33
%%FONTDIR%%/FiraSans-UltraItalic.otf
34
%%FONTDIR%%/FiraSans-UltraLight.otf
35
%%FONTDIR%%/FiraSans-UltraLightItalic.otf
21
@exec fc-cache -s -v %D/%%FONTDIR%% 2>/dev/null || true
36
@exec fc-cache -s -v %D/%%FONTDIR%% 2>/dev/null || true
22
@exec mkfontscale %D/%%FONTDIR%% 2>/dev/null || true
23
@unexec mkfontscale %D/%%FONTDIR%% 2>/dev/null || true
24
@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
25
@exec mkfontdir %D/%%FONTDIR%% 2>/dev/null || true
26
@unexec mkfontdir %D/%%FONTDIR%% 2>/dev/null || true
27
@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
28
@dirrm %%FONTDIR%%
37
@dirrm %%FONTDIR%%
29
@unexec fc-cache -s -v %D/%%FONTDIR%% 2>/dev/null || true
38
@unexec fc-cache -s -v %D/%%FONTDIR%% 2>/dev/null || true

Return to bug 190810