aboutsummaryrefslogtreecommitdiffstats
path: root/databases/spatialite
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2012-05-24 09:30:23 +0800
committerwen <wen@FreeBSD.org>2012-05-24 09:30:23 +0800
commitc095f9459c8c5365447520fa80d6cb0cacab58f5 (patch)
treee030145dfb35b710077c2eb4a36aaeed99ba67b8 /databases/spatialite
parent439913869badd2391804af3ba7cd7ede9a81badb (diff)
downloadfreebsd-ports-gnome-c095f9459c8c5365447520fa80d6cb0cacab58f5.tar.gz
freebsd-ports-gnome-c095f9459c8c5365447520fa80d6cb0cacab58f5.tar.zst
freebsd-ports-gnome-c095f9459c8c5365447520fa80d6cb0cacab58f5.zip
- Update to 3.0.1
PR: 168153 Submitted by: lbartoletti <coder@tuxfamily.org>
Diffstat (limited to 'databases/spatialite')
-rw-r--r--databases/spatialite/Makefile25
-rw-r--r--databases/spatialite/distinfo4
-rw-r--r--databases/spatialite/pkg-plist28
3 files changed, 33 insertions, 24 deletions
diff --git a/databases/spatialite/Makefile b/databases/spatialite/Makefile
index 92e7f48ccd0d..ad3b724f3fa6 100644
--- a/databases/spatialite/Makefile
+++ b/databases/spatialite/Makefile
@@ -6,27 +6,32 @@
#
PORTNAME= spatialite
-PORTVERSION= 2.2
-PORTREVISION= 7
+PORTVERSION= 3.0.1
CATEGORIES= databases geography
-MASTER_SITES= http://www.gaia-gis.it/${PORTNAME}-${PORTVERSION}/
+MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
+DISTNAME= lib${PORTNAME}-${PORTVERSION}
MAINTAINER= wenheping@gmail.com
COMMENT= Spatial Extensions for SQLite
LIB_DEPENDS= geos_c.8:${PORTSDIR}/graphics/geos \
proj.7:${PORTSDIR}/graphics/proj \
- iconv.3:${PORTSDIR}/converters/libiconv
+ freexl.1:${PORTSDIR}/textproc/freexl
+EXTRACT_SUFX = .tar.gz
+WRKSRC= ${WRKDIR}/lib${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -liconv
-CONFIGURE_ARGS+=CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+USE_SQLITE= yes
+USE_ICONV= yes
+
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ARGS+=CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
post-patch:
- @${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/src/sqlite3/Makefile.in
- @${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/src/shell/Makefile.in
-
+ @${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.am
+ @${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/databases/spatialite/distinfo b/databases/spatialite/distinfo
index 0ff9f99079ad..c2a655badc4c 100644
--- a/databases/spatialite/distinfo
+++ b/databases/spatialite/distinfo
@@ -1,2 +1,2 @@
-SHA256 (spatialite-2.2.tar.gz) = 6cc19a315ac4ae1c88b84dda5444a057c0ddcb631bd1247dbca50b78a8d48c9b
-SIZE (spatialite-2.2.tar.gz) = 1355505
+SHA256 (libspatialite-3.0.1.tar.gz) = 4983d6584069fd5ff0cfcccccee1015088dab2db177c0dc7050ce8306b68f8e6
+SIZE (libspatialite-3.0.1.tar.gz) = 1849723
diff --git a/databases/spatialite/pkg-plist b/databases/spatialite/pkg-plist
index a1d16de96c92..44f0f154eb7f 100644
--- a/databases/spatialite/pkg-plist
+++ b/databases/spatialite/pkg-plist
@@ -1,15 +1,19 @@
-bin/spatialite
-lib/libsqlite3.la
-lib/libsqlite3.a
-lib/libsqlite3.so
-lib/libsqlite3.so.3
-lib/libspatialite.la
-lib/libspatialite.a
-lib/libspatialite.so
-lib/libspatialite.so.2
include/spatialite.h
+include/spatialite/gaiaaux.h
+include/spatialite/gaiaexif.h
include/spatialite/gaiageo.h
+include/spatialite/gg_advanced.h
+include/spatialite/gg_const.h
+include/spatialite/gg_core.h
+include/spatialite/gg_dynamic.h
+include/spatialite/gg_formats.h
+include/spatialite/gg_mbr.h
+include/spatialite/gg_structs.h
include/spatialite/spatialite.h
-include/spatialite/sqlite3.h
-include/spatialite/sqlite3ext.h
-@dirrm include/spatialite/
+lib/libspatialite.a
+lib/libspatialite.la
+lib/libspatialite.so
+lib/libspatialite.so.4
+lib/pkgconfig/spatialite.pc
+@dirrm lib/pkgconfig
+@dirrm include/spatialite