|
Lines 94-105
Link Here
|
| 94 |
libpng.so:graphics/png |
94 |
libpng.so:graphics/png |
| 95 |
USES+= jpeg |
95 |
USES+= jpeg |
| 96 |
|
96 |
|
| 97 |
CONFIGURE_ARGS+=--with-gd \ |
97 |
CPPFLAGS+= -UHAVE_GD_BUNDLED |
|
|
98 |
CONFIGURE_ARGS+=--with-gd=${LOCALBASE} \ |
| 98 |
--with-freetype-dir=${LOCALBASE} \ |
99 |
--with-freetype-dir=${LOCALBASE} \ |
| 99 |
--with-jpeg-dir=${LOCALBASE} \ |
100 |
--with-jpeg-dir=${LOCALBASE} \ |
| 100 |
--with-png-dir=${LOCALBASE} \ |
101 |
--with-png-dir=${LOCALBASE} \ |
| 101 |
--with-zlib-dir=/usr |
102 |
--with-zlib-dir=/usr |
| 102 |
|
103 |
|
|
|
104 |
EXTRACT_AFTER_ARGS=--no-same-owner --no-same-permissions --exclude libgd \ |
| 105 |
php-${PORTVERSION}/ext/gd |
| 106 |
|
| 103 |
OPTIONS_DEFINE= T1LIB TRUETYPE JIS X11 VPX |
107 |
OPTIONS_DEFINE= T1LIB TRUETYPE JIS X11 VPX |
| 104 |
OPTIONS_DEFAULT=T1LIB TRUETYPE X11 |
108 |
OPTIONS_DEFAULT=T1LIB TRUETYPE X11 |
| 105 |
|
109 |
|
|
Lines 109-115
Link Here
|
| 109 |
X11_DESC= Enable XPM support |
113 |
X11_DESC= Enable XPM support |
| 110 |
VPX_DESC= Enable VP8 codec support |
114 |
VPX_DESC= Enable VP8 codec support |
| 111 |
|
115 |
|
| 112 |
PHP_HEADER_DIRS=libgd |
|
|
| 113 |
.endif |
116 |
.endif |
| 114 |
|
117 |
|
| 115 |
.if ${PHP_MODNAME} == "gettext" |
118 |
.if ${PHP_MODNAME} == "gettext" |