freebsd-ports/databases/spatialite/Makefile
Martin Wilke a4b6b0d67e 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 GeographicData, 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

PR:		ports/125528
Submitted by:	Wen Heping <wenheping at gmail.com>
2008-07-18 12:43:50 +00:00

29 lines
698 B
Makefile

# New ports collection makefile for: spatialite
# Date created: 11 July 2008
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= spatialite
PORTVERSION= 2.0
CATEGORIES= databases geography
MASTER_SITES= http://www.gaia-gis.it/spatialite-2.0/
MAINTAINER= wenheping@gmail.com
COMMENT= Spatial Extensions for SQLite
LIB_DEPENDS= geos_c.5:${PORTSDIR}/graphics/geos/ \
proj.5:${PORTSDIR}/graphics/proj/
GNU_CONFIGURE= yes
USE_GMAKE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/src/shell/Makefile.in
.include <bsd.port.mk>