Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2008 04:08:29 GMT
From:      Wen heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125528: [NEW PORT] databases/spatialite:Spatial Extensions for SQLite
Message-ID:  <200807120408.m6C48T94000416@www.freebsd.org>
Resent-Message-ID: <200807120410.m6C4A2uC024371@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125528
>Category:       ports
>Synopsis:       [NEW PORT] databases/spatialite:Spatial Extensions for SQLite
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 12 04:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wen heping
>Release:        FreeBSD 7.0 release
>Organization:
ChangAn Middle School
>Environment:
FreeBSD tinderbox.wenjing.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
SpatiaLite is just a small sized SQLite extension.
Once you have installed SpatiaLite (a very simple
and elementary task), the SQLite DBMS is enable to
load, store and manipulate Spatial Data (aka Geographic
Data, GIS Data, Cartographic Data, GeoSpatial Data,
Geometry Data and alike).SpatiaLite implements spatial
extensions following the specification of the Open
Geospatial Consortium(OGC).

WWW:   http://www.gaia-gis.it/spatialite-2.0/index.html
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	spatialite
#	spatialite/pkg-plist
#	spatialite/pkg-descr
#	spatialite/distinfo
#	spatialite/Makefile
#
echo c - spatialite
mkdir -p spatialite > /dev/null 2>&1
echo x - spatialite/pkg-plist
sed 's/^X//' >spatialite/pkg-plist << 'END-of-spatialite/pkg-plist'
Xbin/spatialite
Xlib/libspatialite.la
Xlib/libspatialite.a
Xlib/libspatialite.so
Xlib/libspatialite.so.2
Xinclude/spatialite.h
Xinclude/spatialite/gaiageo.h
Xinclude/spatialite/rtree.h
Xinclude/spatialite/spatialite.h
Xinclude/spatialite/sqlite3.h
Xinclude/spatialite/sqlite3ext.h
X@dirrm include/spatialite/
END-of-spatialite/pkg-plist
echo x - spatialite/pkg-descr
sed 's/^X//' >spatialite/pkg-descr << 'END-of-spatialite/pkg-descr'
XSpatiaLite is just a small sized SQLite extension.
XOnce you have installed SpatiaLite (a very simple
Xand elementary task), the SQLite DBMS is enable to
Xload, store and manipulate Spatial Data (aka Geographic
XData, GIS Data, Cartographic Data, GeoSpatial Data,
XGeometry Data and alike).SpatiaLite implements spatial
Xextensions following the specification of the Open
XGeospatial Consortium(OGC). 
X
XWWW:   http://www.gaia-gis.it/spatialite-2.0/index.html
END-of-spatialite/pkg-descr
echo x - spatialite/distinfo
sed 's/^X//' >spatialite/distinfo << 'END-of-spatialite/distinfo'
XMD5 (spatialite-2.0.tar.gz) = 57a4343e1507e1db67f137a699676a9f
XSHA256 (spatialite-2.0.tar.gz) = 79448ee25c7be75581d2cb61b7d4a8fd93c94e015b05532e8a02c74ef28cf7a6
XSIZE (spatialite-2.0.tar.gz) = 1259917
END-of-spatialite/distinfo
echo x - spatialite/Makefile
sed 's/^X//' >spatialite/Makefile << 'END-of-spatialite/Makefile'
X# New ports collection makefile for:	spatialite
X# Date created:				11 July 2008
X# Whom:					Wen Heping <wenheping@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	spatialite
XPORTVERSION=	2.0
XCATEGORIES=	databases geography
XMASTER_SITES=	http://www.gaia-gis.it/spatialite-2.0/
X
XMAINTAINER=	wenheping@gmail.com
XCOMMENT=	Spatial Extensions for SQLite
X
XLIB_DEPENDS=	geos_c.5:${PORTSDIR}/graphics/geos/ \
X		proj.5:${PORTSDIR}/graphics/proj/
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XCFLAGS+=	-I${LOCALBASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib
XCONFIGURE_ARGS+=CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
XUSE_LDCONFIG=	yes
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/src/shell/Makefile.in
X
X.include <bsd.port.mk>
END-of-spatialite/Makefile
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



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