diff options
Diffstat (limited to 'geography')
-rw-r--r-- | geography/libspatialite/DESCR | 15 | ||||
-rw-r--r-- | geography/libspatialite/Makefile | 25 | ||||
-rw-r--r-- | geography/libspatialite/PLIST | 24 | ||||
-rw-r--r-- | geography/libspatialite/buildlink3.mk | 19 | ||||
-rw-r--r-- | geography/libspatialite/distinfo | 7 | ||||
-rw-r--r-- | geography/libspatialite/patches/patch-configure | 24 |
6 files changed, 114 insertions, 0 deletions
diff --git a/geography/libspatialite/DESCR b/geography/libspatialite/DESCR new file mode 100644 index 00000000000..f7a02b97767 --- /dev/null +++ b/geography/libspatialite/DESCR @@ -0,0 +1,15 @@ +SpatiaLite is an open source library intended to extend the SQLite core to +support fully fledged Spatial SQL capabilities. SQLite is intrinsically simple +and lightweight: +* a single lightweight library implementing the full SQL engine +* standard SQL implementation: almost complete SQL-92 +* no complex client/server architecture +* a whole database simply corresponds to a single monolithic file (no size + limits) +* any DB-file can be safely exchanged across different platforms, because the + internal architecture is universally portable +* no installation, no configuration +SpatiaLite is smoothly integrated into SQLite to provide a complete and +powerful Spatial DBMS (mostly OGC-SFS compliant). Using SQLite + SpatiaLite +you can effectively deploy an alternative open source Spatial DBMS roughly +equivalent to PostgreSQL + PostGIS. diff --git a/geography/libspatialite/Makefile b/geography/libspatialite/Makefile new file mode 100644 index 00000000000..16143ab3b39 --- /dev/null +++ b/geography/libspatialite/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2015/11/27 14:03:33 adam Exp $ + +DISTNAME= libspatialite-4.3.0a +CATEGORIES= geography +MASTER_SITES= http://www.gaia-gis.it/gaia-sins/ + +MAINTAINER= pkgsrc@NetBSD.org +HOMEPAGE= https://www.gaia-gis.it/fossil/libspatialite/ +COMMENT= Library intended to extend SQLite core to support Spatial SQL +LICENSE= gnu-gpl-v2 OR gnu-lgpl-v2.1 + +USE_LANGUAGES= c +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --disable-examples +PKGCONFIG_OVERRIDE= spatialite.pc.in + +.include "../../converters/libiconv/buildlink3.mk" +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../geography/geos/buildlink3.mk" +.include "../../geography/proj/buildlink3.mk" +.include "../../textproc/freexl/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/geography/libspatialite/PLIST b/geography/libspatialite/PLIST new file mode 100644 index 00000000000..d2cc4954549 --- /dev/null +++ b/geography/libspatialite/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1 2015/11/27 14:03:33 adam Exp $ +include/spatialite.h +include/spatialite/control_points.h +include/spatialite/debug.h +include/spatialite/gaiaaux.h +include/spatialite/gaiaexif.h +include/spatialite/gaiageo.h +include/spatialite/gaiamatrix.h +include/spatialite/geopackage.h +include/spatialite/gg_advanced.h +include/spatialite/gg_const.h +include/spatialite/gg_core.h +include/spatialite/gg_dxf.h +include/spatialite/gg_dynamic.h +include/spatialite/gg_formats.h +include/spatialite/gg_mbr.h +include/spatialite/gg_structs.h +include/spatialite/gg_wfs.h +include/spatialite/gg_xml.h +include/spatialite/spatialite.h +include/spatialite/sqlite.h +lib/libspatialite.la +lib/mod_spatialite.la +lib/pkgconfig/spatialite.pc diff --git a/geography/libspatialite/buildlink3.mk b/geography/libspatialite/buildlink3.mk new file mode 100644 index 00000000000..89f0bbd8143 --- /dev/null +++ b/geography/libspatialite/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2015/11/27 14:03:33 adam Exp $ + +BUILDLINK_TREE+= libspatialite + +.if !defined(LIBSPATIALITE_BUILDLINK3_MK) +LIBSPATIALITE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libspatialite+= libspatialite>=4.3.0a +BUILDLINK_PKGSRCDIR.libspatialite?= ../../geography/libspatialite + +.include "../../converters/libiconv/buildlink3.mk" +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../geography/geos/buildlink3.mk" +.include "../../geography/proj/buildlink3.mk" +.include "../../textproc/freexl/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.endif # LIBSPATIALITE_BUILDLINK3_MK + +BUILDLINK_TREE+= -libspatialite diff --git a/geography/libspatialite/distinfo b/geography/libspatialite/distinfo new file mode 100644 index 00000000000..52235340e1f --- /dev/null +++ b/geography/libspatialite/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2015/11/27 14:03:33 adam Exp $ + +SHA1 (libspatialite-4.3.0a.tar.gz) = 56176d6722e469d6863d27a2b17b0b181c2f1f87 +RMD160 (libspatialite-4.3.0a.tar.gz) = ee8d9f3f69f1c70f041b418e0e51a05ec40a5be7 +SHA512 (libspatialite-4.3.0a.tar.gz) = adfd63e8dde0f370b07e4e7bb557647d2bfb5549205b60bdcaaca69ff81298a3d885e7c1ca515ef56dd0aca152ae940df8b5dbcb65bb61ae0a9337499895c3c0 +Size (libspatialite-4.3.0a.tar.gz) = 4440660 bytes +SHA1 (patch-configure) = 1ee6a1551f9f059bd34bee47993acd4a019d4a82 diff --git a/geography/libspatialite/patches/patch-configure b/geography/libspatialite/patches/patch-configure new file mode 100644 index 00000000000..baa9fd3476a --- /dev/null +++ b/geography/libspatialite/patches/patch-configure @@ -0,0 +1,24 @@ +$NetBSD: patch-configure,v 1.1 2015/11/27 14:03:33 adam Exp $ + +Portability fix. + +--- configure.orig 2015-11-26 15:50:52.000000000 +0000 ++++ configure +@@ -17390,7 +17390,7 @@ else + enable_geocallbacks=no + fi + +-if test x"$enable_geocallbacks" == "xyes"; then ++if test x"$enable_geocallbacks" = "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_rtree_geometry_callback in -lsqlite3" >&5 + $as_echo_n "checking for sqlite3_rtree_geometry_callback in -lsqlite3... " >&6; } + if ${ac_cv_lib_sqlite3_sqlite3_rtree_geometry_callback+:} false; then : +@@ -18544,7 +18544,7 @@ if test x"$enable_geopackage" != "xno"; + $as_echo "#define ENABLE_GEOPACKAGE 1" >>confdefs.h + + fi +- if test x"$enable_geopackage" == "xyes"; then ++ if test x"$enable_geopackage" = "xyes"; then + ENABLE_GEOPACKAGE_TRUE= + ENABLE_GEOPACKAGE_FALSE='#' + else |