Lines 2-9
Link Here
|
2 |
# $FreeBSD: head/x11-fonts/fontconfig/Makefile 419065 2016-07-25 21:10:11Z jbeich $ |
2 |
# $FreeBSD: head/x11-fonts/fontconfig/Makefile 419065 2016-07-25 21:10:11Z jbeich $ |
3 |
|
3 |
|
4 |
PORTNAME= fontconfig |
4 |
PORTNAME= fontconfig |
5 |
PORTVERSION= 2.11.1 |
5 |
PORTVERSION= 2.12.1 |
6 |
PORTREVISION?= 3 |
6 |
PORTREVISION?= 0 |
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 11-21
Link Here
|
11 |
MAINTAINER= gnome@FreeBSD.org |
11 |
MAINTAINER= gnome@FreeBSD.org |
12 |
COMMENT= XML-based font configuration API for X Windows |
12 |
COMMENT= XML-based font configuration API for X Windows |
13 |
|
13 |
|
|
|
14 |
LICENSE= MIT |
15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
16 |
|
14 |
USES= tar:bzip2 |
17 |
USES= tar:bzip2 |
15 |
|
18 |
|
16 |
.if !defined(REFERENCE_PORT) |
19 |
.if !defined(REFERENCE_PORT) |
17 |
|
20 |
|
18 |
LIB_DEPENDS= libfreetype.so:print/freetype2 \ |
21 |
LIB_DEPENDS+= libfreetype.so:print/freetype2 \ |
19 |
libexpat.so:textproc/expat2 |
22 |
libexpat.so:textproc/expat2 |
20 |
|
23 |
|
21 |
USES+= gmake libtool pathfix pkgconfig |
24 |
USES+= gmake libtool pathfix pkgconfig |
Lines 26-31
Link Here
|
26 |
--with-xmldir=${PREFIX}/etc/fonts \ |
29 |
--with-xmldir=${PREFIX}/etc/fonts \ |
27 |
--with-expat-includes=${LOCALBASE}/include \ |
30 |
--with-expat-includes=${LOCALBASE}/include \ |
28 |
--with-expat-lib=${LOCALBASE}/lib \ |
31 |
--with-expat-lib=${LOCALBASE}/lib \ |
|
|
32 |
--with-default-hinting=${PREFERRED_HINTING} \ |
29 |
--with-default-fonts=${PREFIX}/share/fonts \ |
33 |
--with-default-fonts=${PREFIX}/share/fonts \ |
30 |
--with-add-fonts=${LOCALBASE}/lib/X11/fonts \ |
34 |
--with-add-fonts=${LOCALBASE}/lib/X11/fonts \ |
31 |
--with-cache-dir=/var/db/fontconfig \ |
35 |
--with-cache-dir=/var/db/fontconfig \ |
Lines 34-58
Link Here
|
34 |
|
38 |
|
35 |
# D6155: static linked library linking added to support statically linked |
39 |
# D6155: static linked library linking added to support statically linked |
36 |
# applications, e.g. x11/xforward static option |
40 |
# applications, e.g. x11/xforward static option |
37 |
CONFIGURE_ARGS+= --enable-static |
41 |
CONFIGURE_ARGS+= --enable-static |
|
|
42 |
# Python is not required, because fc-blanks.h is available in distfile |
43 |
CONFIGURE_ENV= PYTHON=":" |
38 |
|
44 |
|
39 |
MAKE_ENV= LC_ALL=C |
45 |
MAKE_ENV= LC_ALL=C |
40 |
PKGINSTALL= ${WRKDIR}/pkg-install |
46 |
PKGINSTALL= ${WRKDIR}/pkg-install |
41 |
INSTALL_TARGET=install-strip |
47 |
INSTALL_TARGET=install-strip |
42 |
|
48 |
|
43 |
MAN1PAGES= fc-cache.1 fc-cat.1 fc-list.1 fc-match.1 fc-query.1 fc-scan.1 |
49 |
PLIST_SUB= PREFERRED_HINTING=${PREFERRED_HINTING} |
44 |
MAN5PAGES= fonts-conf.5 |
|
|
45 |
PORTDOCS= fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt |
50 |
PORTDOCS= fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt |
46 |
|
51 |
|
47 |
OPTIONS_DEFINE= DOCS |
52 |
OPTIONS_DEFINE= DOCS |
|
|
53 |
OPTIONS_SINGLE= HINTING |
54 |
HINTING_DESC= Preferred hinting configuration |
55 |
.for opt in NONE SLIGHT MEDIUM FULL |
56 |
OPTIONS_SINGLE_HINTING+= HINTING_${opt} |
57 |
HINTING_${opt}_DESC= ${opt:tl} |
58 |
HINTING_${opt}_VARS= PREFERRED_HINTING=${opt:tl} |
59 |
.endfor |
60 |
OPTIONS_DEFAULT= HINTING_SLIGHT |
48 |
|
61 |
|
49 |
post-install: |
62 |
post-install: |
50 |
${INSTALL_MAN} ${MAN5PAGES:S|^|${WRKSRC}/doc/|} \ |
63 |
${INSTALL_MAN} ${WRKSRC}/fc-*/*.1 \ |
51 |
${STAGEDIR}${PREFIX}/man/man5 |
|
|
52 |
.for manpage in ${MAN1PAGES} |
53 |
${INSTALL_MAN} ${FILESDIR}/${manpage} \ |
54 |
${STAGEDIR}${PREFIX}/man/man1 |
64 |
${STAGEDIR}${PREFIX}/man/man1 |
55 |
.endfor |
65 |
${INSTALL_MAN} ${WRKSRC}/doc/*.5 \ |
|
|
66 |
${STAGEDIR}${PREFIX}/man/man5 |
56 |
${INSTALL_DATA} ${WRKSRC}/fonts.conf \ |
67 |
${INSTALL_DATA} ${WRKSRC}/fonts.conf \ |
57 |
${STAGEDIR}${PREFIX}/etc/fonts/fonts.conf.sample |
68 |
${STAGEDIR}${PREFIX}/etc/fonts/fonts.conf.sample |
58 |
@${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \ |
69 |
@${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \ |