Lines 39-45
Link Here
|
39 |
.include <bsd.port.options.mk> |
39 |
.include <bsd.port.options.mk> |
40 |
|
40 |
|
41 |
.if ${PORT_OPTIONS:MPYTHON} |
41 |
.if ${PORT_OPTIONS:MPYTHON} |
42 |
USE_PYTHON= 2 |
42 |
USES+= python:2 |
43 |
BUILD_DEPENDS+= swig2.0:${PORTSDIR}/devel/swig20 |
43 |
BUILD_DEPENDS+= swig2.0:${PORTSDIR}/devel/swig20 |
44 |
CMAKE_ARGS+= -DWITH_PYTHON=yes |
44 |
CMAKE_ARGS+= -DWITH_PYTHON=yes |
45 |
PLIST_SUB+= PYTHON="" |
45 |
PLIST_SUB+= PYTHON="" |
Lines 115-121
Link Here
|
115 |
.endif |
115 |
.endif |
116 |
|
116 |
|
117 |
.if ${PORT_OPTIONS:MPOSTGIS} |
117 |
.if ${PORT_OPTIONS:MPOSTGIS} |
118 |
USE_PGSQL= yes |
118 |
USES+= pgsql |
119 |
CMAKE_ARGS+= -DWITH_POSTGIS=1 |
119 |
CMAKE_ARGS+= -DWITH_POSTGIS=1 |
120 |
.else |
120 |
.else |
121 |
CMAKE_ARGS+= -DWITH_POSTGIS=0 |
121 |
CMAKE_ARGS+= -DWITH_POSTGIS=0 |
Lines 169-181
Link Here
|
169 |
.if ${PORT_OPTIONS:MCLIENT_WMS} |
169 |
.if ${PORT_OPTIONS:MCLIENT_WMS} |
170 |
LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl |
170 |
LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl |
171 |
LIB_DEPENDS+= libgdal.so:${PORTSDIR}/graphics/gdal |
171 |
LIB_DEPENDS+= libgdal.so:${PORTSDIR}/graphics/gdal |
172 |
CMAKE_ARGS+= -DWITH_CURL=1 -DGDAL=1 -DCLIENT_WMS=1 |
172 |
CMAKE_ARGS+= -DWITH_CURL=1 -DWITH_GDAL=1 -DWITH_CLIENT_WMS=1 |
173 |
.endif |
173 |
.endif |
174 |
|
174 |
|
175 |
.if ${PORT_OPTIONS:MCLIENT_WFS} |
175 |
.if ${PORT_OPTIONS:MCLIENT_WFS} |
176 |
LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl |
176 |
LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl |
177 |
LIB_DEPENDS+= libgdal.so:${PORTSDIR}/graphics/gdal |
177 |
LIB_DEPENDS+= libgdal.so:${PORTSDIR}/graphics/gdal |
178 |
CMAKE_ARGS+= -DWITH_CURL=1 -DGDAL=1 -DCLIENT_WFS=1 |
178 |
CMAKE_ARGS+= -DWITH_CURL=1 -DWITH_GDAL=1 -DWITH_CLIENT_WFS=1 |
179 |
.endif |
179 |
.endif |
180 |
|
180 |
|
181 |
do-install: |
181 |
do-install: |