Lines 17-23
Link Here
|
17 |
|
17 |
|
18 |
USE_ZIP= yes |
18 |
USE_ZIP= yes |
19 |
|
19 |
|
20 |
USE_PHP= pcre session filter xml iconv spl simplexml json |
20 |
USE_PHP= pcre session filter xml iconv spl simplexml json mysql |
21 |
WANT_PHP_WEB= yes |
21 |
WANT_PHP_WEB= yes |
22 |
|
22 |
|
23 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
23 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
Lines 28-34
Link Here
|
28 |
OPTIONS= NETPBM "Enable netpbm support" off \ |
28 |
OPTIONS= NETPBM "Enable netpbm support" off \ |
29 |
IMAGEMAGICK "Enable imagemagick support" on \ |
29 |
IMAGEMAGICK "Enable imagemagick support" on \ |
30 |
GRAPHMAGICK "Enable graphicsmagick support" off \ |
30 |
GRAPHMAGICK "Enable graphicsmagick support" off \ |
31 |
PGSQL "Use PostgreSQL instead of MySQL" off \ |
|
|
32 |
JHEAD "Enable jhead support" on \ |
31 |
JHEAD "Enable jhead support" on \ |
33 |
GD "Enable gd support" off \ |
32 |
GD "Enable gd support" off \ |
34 |
DCRAW "Enable dcraw support" off \ |
33 |
DCRAW "Enable dcraw support" off \ |
Lines 37-47
Link Here
|
37 |
|
36 |
|
38 |
.include <bsd.port.pre.mk> |
37 |
.include <bsd.port.pre.mk> |
39 |
|
38 |
|
40 |
.if defined(WITH_PGSQL) |
|
|
41 |
USE_PHP+= pgsql |
42 |
.else |
43 |
USE_PHP+= mysql |
44 |
.endif |
45 |
.if defined(WITH_GD) |
39 |
.if defined(WITH_GD) |
46 |
USE_PHP+= gd |
40 |
USE_PHP+= gd |
47 |
RUN_DEPENDS+= pngtogd:${PORTSDIR}/graphics/gd |
41 |
RUN_DEPENDS+= pngtogd:${PORTSDIR}/graphics/gd |