Changeset View
Changeset View
Standalone View
Standalone View
head/graphics/mapserver/Makefile
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | |||||
.if ${PORT_OPTIONS:MPOSTGIS} | .if ${PORT_OPTIONS:MPOSTGIS} | ||||
USES+= pgsql | USES+= pgsql | ||||
CMAKE_ARGS+= -DWITH_POSTGIS=1 | CMAKE_ARGS+= -DWITH_POSTGIS=1 | ||||
.else | .else | ||||
CMAKE_ARGS+= -DWITH_POSTGIS=0 | CMAKE_ARGS+= -DWITH_POSTGIS=0 | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MPHP} | .if ${PORT_OPTIONS:MPHP} | ||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/php-config:${PORTSDIR}/lang/php5 | BUILD_DEPENDS+= ${LOCALBASE}/bin/php-config:${PORTSDIR}/lang/php56 | ||||
RUN_BUILDS+= ${LOCALBASE}/bin/php-config:${PORTSDIR}/lang/php5 | RUN_BUILDS+= ${LOCALBASE}/bin/php-config:${PORTSDIR}/lang/php56 | ||||
PHP_EXTENSION_DIR!= ${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e "s,/usr/local/,," | PHP_EXTENSION_DIR!= ${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e "s,/usr/local/,," | ||||
CMAKE_ARGS+= -DWITH_PHP=1 | CMAKE_ARGS+= -DWITH_PHP=1 | ||||
PLIST_SUB+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR} | PLIST_SUB+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR} | ||||
PLIST_SUB+= PHP="" | PLIST_SUB+= PHP="" | ||||
.else | .else | ||||
CMAKE_ARGS+= -DWITH_PHP=0 | CMAKE_ARGS+= -DWITH_PHP=0 | ||||
PLIST_SUB+= PHP="@comment " | PLIST_SUB+= PHP="@comment " | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |