1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Add GNM option

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-11-27 16:43:06 +00:00
parent 9d99cdd6df
commit 4f16844e84
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427240
2 changed files with 15 additions and 3 deletions

View File

@ -22,12 +22,14 @@ LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff \
libproj.so:graphics/proj \
libtiff.so:graphics/tiff
OPTIONS_DEFINE= ARMADILLO CFITSIO CURL ECW EXPAT FREEXL GEOS GTA HDF5 JASPER \
KML LIBXML2 MYSQL NETCDF ODBC OPENJPEG PCRE PGSQL SPATIALITE \
SQLITE WEBP XERCES
OPTIONS_DEFINE= ARMADILLO CFITSIO CURL ECW EXPAT FREEXL GEOS GNM GTA HDF5 \
JASPER KML LIBXML2 MYSQL NETCDF ODBC OPENJPEG PCRE PGSQL \
SPATIALITE SQLITE WEBP XERCES
OPTIONS_DEFAULT=JASPER
OPTIONS_RADIO= PDF
OPTIONS_RADIO_PDF= PODOFO POPPLER
OPTIONS_SUB= yes
GNM_DESC= Geographical networks support
PCRE_DESC= Regular expression support for SQLite
CFLAGS+= -fPIC
@ -73,6 +75,7 @@ FREEXL_LIB_DEPENDS= libfreexl.so:textproc/freexl
GEOS_CONFIGURE_OFF= --with-geos=no
GEOS_CONFIGURE_ON= --with-geos=${LOCALBASE}/bin/geos-config
GEOS_LIB_DEPENDS= libgeos.so:graphics/geos
GNM_CONFIGURE_WITH= gnm
GTA_CONFIGURE_WITH= gta
GTA_LIB_DEPENDS= libgta.so:devel/libgta
HDF5_CONFIGURE_WITH= hdf5
@ -136,4 +139,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/GDALmake.opt ${STAGEDIR}${DATADIR}/
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdal.so.${PORTVERSION}
post-install-GNM-on:
cd ${WRKSRC}/gnm/ && ${INSTALL_DATA} gnm.h gnm_api.h gnm_priv.h gnmgraph.h ${STAGEDIR}${PREFIX}/include/
.include <bsd.port.post.mk>

View File

@ -15,6 +15,8 @@ bin/gdalsrsinfo
bin/gdaltindex
bin/gdaltransform
bin/gdalwarp
%%GNM%%bin/gnmanalyse
%%GNM%%bin/gnmmanage
bin/nearblack
bin/ogr2ogr
bin/ogrinfo
@ -76,6 +78,10 @@ include/gdalpansharpen.h
include/gdalsse_priv.h
include/gdalwarper.h
include/gdalwarpkernel_opencl.h
%%GNM%%include/gnm.h
%%GNM%%include/gnm_api.h
%%GNM%%include/gnm_priv.h
%%GNM%%include/gnmgraph.h
include/gvgcpfit.h
include/internal_qhull_headers.h
include/memdataset.h