Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2016 16:43:07 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427240 - head/graphics/gdal
Message-ID:  <201611271643.uARGh7Br081608@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Nov 27 16:43:06 2016
New Revision: 427240
URL: https://svnweb.freebsd.org/changeset/ports/427240

Log:
  - Add GNM option

Modified:
  head/graphics/gdal/Makefile
  head/graphics/gdal/pkg-plist

Modified: head/graphics/gdal/Makefile
==============================================================================
--- head/graphics/gdal/Makefile	Sun Nov 27 16:43:02 2016	(r427239)
+++ head/graphics/gdal/Makefile	Sun Nov 27 16:43:06 2016	(r427240)
@@ -22,12 +22,14 @@ LIB_DEPENDS=	libgeotiff.so:graphics/libg
 		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:textpro
 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>

Modified: head/graphics/gdal/pkg-plist
==============================================================================
--- head/graphics/gdal/pkg-plist	Sun Nov 27 16:43:02 2016	(r427239)
+++ head/graphics/gdal/pkg-plist	Sun Nov 27 16:43:06 2016	(r427240)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611271643.uARGh7Br081608>