Lines 100-113
CONFIGURE_ARGS+=--with-gd \
Link Here
|
100 |
--with-png-dir=${LOCALBASE} \ |
100 |
--with-png-dir=${LOCALBASE} \ |
101 |
--with-zlib-dir=/usr |
101 |
--with-zlib-dir=/usr |
102 |
|
102 |
|
103 |
OPTIONS_DEFINE= T1LIB TRUETYPE JIS X11 VPX |
103 |
OPTIONS_DEFINE=TRUETYPE JIS WEBP X11 |
104 |
OPTIONS_DEFAULT=T1LIB TRUETYPE X11 |
104 |
OPTIONS_DEFAULT=TRUETYPE X11 |
105 |
|
105 |
|
106 |
T1LIB_DESC= Include T1lib support |
|
|
107 |
TRUETYPE_DESC= Enable TrueType string function |
106 |
TRUETYPE_DESC= Enable TrueType string function |
108 |
JIS_DESC= Enable JIS-mapped Japanese font support |
107 |
JIS_DESC= Enable JIS-mapped Japanese font support |
|
|
108 |
WEBP_DESC= Enable WebP image format support |
109 |
X11_DESC= Enable XPM support |
109 |
X11_DESC= Enable XPM support |
110 |
VPX_DESC= Enable VP8 codec support |
|
|
111 |
|
110 |
|
112 |
PHP_HEADER_DIRS=libgd |
111 |
PHP_HEADER_DIRS=libgd |
113 |
.endif |
112 |
.endif |
Lines 505-531
USES+= mysql
Link Here
|
505 |
.include <bsd.port.pre.mk> |
504 |
.include <bsd.port.pre.mk> |
506 |
|
505 |
|
507 |
.if ${PHP_MODNAME} == "gd" |
506 |
.if ${PHP_MODNAME} == "gd" |
508 |
. if ${PORT_OPTIONS:MT1LIB} |
|
|
509 |
LIB_DEPENDS+= libt1.so:devel/t1lib |
510 |
|
511 |
CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE} |
512 |
. endif |
513 |
. if ${PORT_OPTIONS:MTRUETYPE} |
507 |
. if ${PORT_OPTIONS:MTRUETYPE} |
514 |
CONFIGURE_ARGS+=--enable-gd-native-ttf |
508 |
CONFIGURE_ARGS+=--enable-gd-native-ttf |
515 |
. endif |
509 |
. endif |
516 |
. if ${PORT_OPTIONS:MJIS} |
510 |
. if ${PORT_OPTIONS:MJIS} |
517 |
CONFIGURE_ARGS+=--enable-gd-jis-conv |
511 |
CONFIGURE_ARGS+=--enable-gd-jis-conv |
518 |
. endif |
512 |
. endif |
|
|
513 |
. if ${PORT_OPTIONS:MWEBP} |
514 |
LIB_DEPENDS+= libwebp.so:graphics/webp |
515 |
|
516 |
CONFIGURE_ARGS+=--with-webp-dir=${LOCALBASE} |
517 |
. endif |
519 |
. if ${PORT_OPTIONS:MX11} |
518 |
. if ${PORT_OPTIONS:MX11} |
520 |
USE_XORG= xpm |
519 |
USE_XORG= xpm |
521 |
|
520 |
|
522 |
CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE} |
521 |
CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE} |
523 |
. endif |
522 |
. endif |
524 |
. if ${PORT_OPTIONS:MVPX} |
|
|
525 |
LIB_DEPENDS+= libvpx.so:multimedia/libvpx |
526 |
|
527 |
CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE} |
528 |
. endif |
529 |
.endif |
523 |
.endif |
530 |
|
524 |
|
531 |
.if ${PHP_MODNAME} == "imap" |
525 |
.if ${PHP_MODNAME} == "imap" |