Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/print/freetype2/Makefile 412348 2016-04-01 14:17:44Z mat $ |
2 |
# $FreeBSD: head/print/freetype2/Makefile 412348 2016-04-01 14:17:44Z mat $ |
3 |
|
3 |
|
4 |
PORTNAME= freetype2 |
4 |
PORTNAME= freetype2 |
5 |
PORTVERSION= 2.6.3 |
5 |
PORTVERSION= 2.6.5 |
6 |
CATEGORIES= print |
6 |
CATEGORIES= print |
7 |
MASTER_SITES= http://savannah.nongnu.org/download/freetype/ \ |
7 |
MASTER_SITES= http://savannah.nongnu.org/download/freetype/ \ |
8 |
SF/freetype/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/ \ |
8 |
SF/freetype/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/ \ |
Lines 15-20
Link Here
|
15 |
MAINTAINER= gnome@FreeBSD.org |
15 |
MAINTAINER= gnome@FreeBSD.org |
16 |
COMMENT= Free and portable TrueType font rendering engine |
16 |
COMMENT= Free and portable TrueType font rendering engine |
17 |
|
17 |
|
|
|
18 |
LICENSE= FREETYPE2 BSD3CLAUSE GPLv2 |
19 |
LICENSE_COMB= dual |
20 |
LICENSE_NAME_FREETYPE2= The FreeType 2 font engine licenses |
21 |
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/docs/FTL.TXT |
22 |
LICENSE_FILE_GPLv2= ${WRKSRC}/docs/GPLv2.TXT |
23 |
LICENSE_FILE_FREETYPE2= ${WRKSRC}/docs/LICENSE.TXT |
24 |
LICENSE_PERMS_FREETYPE2= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
25 |
|
18 |
USES= cpe gmake libtool tar:bzip2 |
26 |
USES= cpe gmake libtool tar:bzip2 |
19 |
MAKE_ENV= TOP="" |
27 |
MAKE_ENV= TOP="" |
20 |
USE_LDCONFIG= yes |
28 |
USE_LDCONFIG= yes |
Lines 26-40
Link Here
|
26 |
CPE_VENDOR= freetype |
34 |
CPE_VENDOR= freetype |
27 |
|
35 |
|
28 |
OPTIONS_DEFINE= LCD_FILTERING PNG |
36 |
OPTIONS_DEFINE= LCD_FILTERING PNG |
|
|
37 |
OPTIONS_RADIO= SUBPIXEL_HINTING |
38 |
OPTIONS_RADIO_SUBPIXEL_HINTING= V38 V40 BOTH |
29 |
OPTIONS_DEFAULT= LCD_FILTERING |
39 |
OPTIONS_DEFAULT= LCD_FILTERING |
30 |
LCD_FILTERING_DESC?= Sub-pixel rendering (patented) |
|
|
31 |
PNG_DESC= Png compressed OpenType embedded bitmaps support |
32 |
|
40 |
|
|
|
41 |
LCD_FILTERING_DESC?= Sub-pixel rendering (patented) |
33 |
LCD_FILTERING_CFLAGS= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING |
42 |
LCD_FILTERING_CFLAGS= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING |
34 |
|
43 |
PNG_DESC= Png compressed OpenType embedded bitmaps support |
35 |
PNG_LIB_DEPENDS= libpng.so:graphics/png |
44 |
PNG_LIB_DEPENDS= libpng.so:graphics/png |
36 |
PNG_CONFIGURE_OFF= --without-png |
45 |
PNG_CONFIGURE_OFF= --without-png |
37 |
|
46 |
|
|
|
47 |
SUBPIXEL_HINTING_DESC= Sub-pixel hinting support |
48 |
V38_DESC= v38 mode (Infinality code) |
49 |
V38_CFLAGS= -DTT_CONFIG_OPTION_SUBPIXEL_HINTING=1 |
50 |
V40_DESC= v40 mode (minimal code, a.k.a. ClearType hinting) |
51 |
V40_CFLAGS= -DTT_CONFIG_OPTION_SUBPIXEL_HINTING=2 |
52 |
BOTH_DESC= Compile both (v38 and v40) |
53 |
BOTH_CFLAGS= -DTT_CONFIG_OPTION_SUBPIXEL_HINTING=3 |
54 |
|
38 |
pre-patch: |
55 |
pre-patch: |
39 |
@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ |
56 |
@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ |
40 |
${WRKSRC}/builds/unix/install.mk |
57 |
${WRKSRC}/builds/unix/install.mk |