aboutsummaryrefslogtreecommitdiff
path: root/databases/spatialite-tools
diff options
context:
space:
mode:
authorBartek Rutkowski <robak@FreeBSD.org>2015-04-05 11:21:44 +0000
committerBartek Rutkowski <robak@FreeBSD.org>2015-04-05 11:21:44 +0000
commitbc9ff68573a1cda07b4f1c1b363463a62276a127 (patch)
treea4749db17a2f0d7112f829a6cd13986fdee07987 /databases/spatialite-tools
parent0c8a5d7b4df3ad5280bf322af96bb4094f36b02c (diff)
downloadports-bc9ff68573a1cda07b4f1c1b363463a62276a127.tar.gz
ports-bc9ff68573a1cda07b4f1c1b363463a62276a127.zip
Notes
Diffstat (limited to 'databases/spatialite-tools')
-rw-r--r--databases/spatialite-tools/Makefile28
-rw-r--r--databases/spatialite-tools/distinfo2
-rw-r--r--databases/spatialite-tools/pkg-descr22
-rw-r--r--databases/spatialite-tools/pkg-plist15
4 files changed, 67 insertions, 0 deletions
diff --git a/databases/spatialite-tools/Makefile b/databases/spatialite-tools/Makefile
new file mode 100644
index 000000000000..198274f6d5da
--- /dev/null
+++ b/databases/spatialite-tools/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= spatialite-tools
+PORTVERSION= 4.2.0
+CATEGORIES= databases geography
+MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
+
+MAINTAINER= coder@tuxfamily.org
+COMMENT= Collection of CLI tools supporting SpatiaLite
+
+LICENSE= GPLv3
+
+LIB_DEPENDS= libgeos_c.so:${PORTSDIR}/graphics/geos \
+ libproj.so:${PORTSDIR}/graphics/proj \
+ libfreexl.so:${PORTSDIR}/textproc/freexl \
+ libexpat.so:${PORTSDIR}/textproc/expat2 \
+ libspatialite.so:${PORTSDIR}/databases/spatialite \
+ libreadosm.so:${PORTSDIR}/astro/readosm
+
+GNU_CONFIGURE= yes
+USES= gmake pkgconfig
+USE_SQLITE= yes
+
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
+CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+
+.include <bsd.port.mk>
diff --git a/databases/spatialite-tools/distinfo b/databases/spatialite-tools/distinfo
new file mode 100644
index 000000000000..7779a5fd0161
--- /dev/null
+++ b/databases/spatialite-tools/distinfo
@@ -0,0 +1,2 @@
+SHA256 (spatialite-tools-4.2.0.tar.gz) = 890c4cdab5b6b450df4f98341110dd79df20b3cc3af4fecd6e4a06cfc718cdbc
+SIZE (spatialite-tools-4.2.0.tar.gz) = 510497
diff --git a/databases/spatialite-tools/pkg-descr b/databases/spatialite-tools/pkg-descr
new file mode 100644
index 000000000000..62fd8d952837
--- /dev/null
+++ b/databases/spatialite-tools/pkg-descr
@@ -0,0 +1,22 @@
+spatialite-tools is a collection of open source Command Line Interface (CLI)
+ tools supporting SpatiaLite.
+
+* spatialite: a complete CLI front-end, more or less equivalent to the well
+ known sqlite3 front-end, but fully supporting SpatiaLite
+* spatialite_tool: a tool supporting import/export of Shapefiles and DBF-files
+* shp_doctor: a diagnostic tool to check anomalous shapefiles
+* exif_loader: an import tool for EXIF or EXIF-GPS (JPEG) pictures
+* spatialite_network: a tool creating a VirtualNetwork (supporting
+ shortest path / routing SQL queries)
+* spatialite_gml: a tool importing GML files
+* spatialite_convert: a tool converting DB-files from different versions
+ of SpatiaLite
+* spatialite_dxf: an tool importing DXF files
+* OSM-tools: spatialite_osm_raw, spatialite_osm_filter, spatialite_osm_map,
+ spatialite_osm_net, spatialite_osm_overpass: tools supporting
+ OpenStreetMap datasets
+* XML-tools: spatialite_xml_load, spatialite_xml_collapse,
+ spatialite_xml_print, spatialite_xml_validator: tools supporting XML files
+ processing
+
+WWW: http://www.gaia-gis.it/fossil/spatialite-tools/index
diff --git a/databases/spatialite-tools/pkg-plist b/databases/spatialite-tools/pkg-plist
new file mode 100644
index 000000000000..6c2849b3ed4f
--- /dev/null
+++ b/databases/spatialite-tools/pkg-plist
@@ -0,0 +1,15 @@
+bin/exif_loader
+bin/shp_doctor
+bin/spatialite
+bin/spatialite_convert
+bin/spatialite_dxf
+bin/spatialite_gml
+bin/spatialite_network
+bin/spatialite_osm_filter
+bin/spatialite_osm_map
+bin/spatialite_osm_net
+bin/spatialite_osm_raw
+bin/spatialite_tool
+bin/spatialite_xml_collapse
+bin/spatialite_xml_load
+bin/spatialite_xml_print