View | Details | Raw Unified | Return to bug 225744 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-3 / +12 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	fontconfig
4
PORTNAME=	fontconfig
5
PORTVERSION=	2.12.1
5
PORTVERSION=	2.12.1
6
PORTREVISION?=	2
6
PORTREVISION?=	3
7
PORTEPOCH?=	1
7
PORTEPOCH?=	1
8
CATEGORIES=	x11-fonts
8
CATEGORIES=	x11-fonts
9
MASTER_SITES=	http://www.freedesktop.org/software/fontconfig/release/
9
MASTER_SITES=	http://www.freedesktop.org/software/fontconfig/release/
Lines 49-55 Link Here
49
PLIST_SUB=	PREFERRED_HINTING=${PREFERRED_HINTING}
49
PLIST_SUB=	PREFERRED_HINTING=${PREFERRED_HINTING}
50
PORTDOCS=	fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt
50
PORTDOCS=	fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt
51
51
52
OPTIONS_DEFINE=	DOCS
52
OPTIONS_DEFINE=	DOCS NO_BITMAPS
53
OPTIONS_DEFAULT=	HINTING_SLIGHT NO_BITMAPS
54
OPTIONS_SUB=	yes
55
56
NO_BITMAPS_DESC=	Reject bitmap fonts by default
57
53
OPTIONS_SINGLE=	HINTING
58
OPTIONS_SINGLE=	HINTING
54
HINTING_DESC=	Preferred pixel hinting configuration
59
HINTING_DESC=	Preferred pixel hinting configuration
55
.for opt in NONE SLIGHT MEDIUM FULL
60
.for opt in NONE SLIGHT MEDIUM FULL
Lines 57-64 Link Here
57
HINTING_${opt}_DESC=	${opt:tl}
62
HINTING_${opt}_DESC=	${opt:tl}
58
HINTING_${opt}_VARS=	PREFERRED_HINTING=${opt:tl}
63
HINTING_${opt}_VARS=	PREFERRED_HINTING=${opt:tl}
59
.endfor
64
.endfor
60
OPTIONS_DEFAULT=	HINTING_SLIGHT
61
65
66
post-patch-NO_BITMAPS-on:
67
	@${REINPLACE_CMD} -i '.bitmaps.bak' -e \
68
		'/^CONF_LINKS =/s|$$|\${.newline}	70-no-bitmaps.conf \\|' \
69
		${WRKSRC}/conf.d/Makefile.in
70
62
post-install:
71
post-install:
63
	${INSTALL_MAN} ${WRKSRC}/fc-*/*.1 \
72
	${INSTALL_MAN} ${WRKSRC}/fc-*/*.1 \
64
		${STAGEDIR}${PREFIX}/man/man1
73
		${STAGEDIR}${PREFIX}/man/man1
(-)files/patch-conf.d_Makefile.in (-10 lines)
Lines 1-10 Link Here
1
--- conf.d/Makefile.in.orig	2018-03-09 08:02:13 UTC
2
+++ conf.d/Makefile.in
3
@@ -364,6 +364,7 @@ CONF_LINKS = \
4
 	65-fonts-persian.conf \
5
 	65-nonlatin.conf \
6
 	69-unifont.conf \
7
+	70-no-bitmaps.conf \
8
 	80-delicious.conf \
9
 	90-synthetic.conf
10
 
(-)pkg-plist (-1 / +1 lines)
Lines 53-59 Link Here
53
etc/fonts/conf.d/65-fonts-persian.conf
53
etc/fonts/conf.d/65-fonts-persian.conf
54
etc/fonts/conf.d/65-nonlatin.conf
54
etc/fonts/conf.d/65-nonlatin.conf
55
etc/fonts/conf.d/69-unifont.conf
55
etc/fonts/conf.d/69-unifont.conf
56
etc/fonts/conf.d/70-no-bitmaps.conf
56
%%NO_BITMAPS%%etc/fonts/conf.d/70-no-bitmaps.conf
57
etc/fonts/conf.d/80-delicious.conf
57
etc/fonts/conf.d/80-delicious.conf
58
etc/fonts/conf.d/90-synthetic.conf
58
etc/fonts/conf.d/90-synthetic.conf
59
etc/fonts/conf.d/README
59
etc/fonts/conf.d/README

Return to bug 225744