2008-07-18 14:43:50 +02:00
|
|
|
# New ports collection makefile for: spatialite
|
|
|
|
# Date created: 11 July 2008
|
|
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= spatialite
|
2008-11-01 22:59:18 +01:00
|
|
|
PORTVERSION= 2.2
|
2009-12-20 10:13:58 +01:00
|
|
|
PORTREVISION= 4
|
2008-07-18 14:43:50 +02:00
|
|
|
CATEGORIES= databases geography
|
2008-11-01 22:59:18 +01:00
|
|
|
MASTER_SITES= http://www.gaia-gis.it/${PORTNAME}-${PORTVERSION}/
|
2008-07-18 14:43:50 +02:00
|
|
|
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
|
|
COMMENT= Spatial Extensions for SQLite
|
|
|
|
|
2009-08-14 23:29:25 +02:00
|
|
|
LIB_DEPENDS= geos_c.7:${PORTSDIR}/graphics/geos/ \
|
2009-11-28 00:17:38 +01:00
|
|
|
proj.6:${PORTSDIR}/graphics/proj/ \
|
2008-11-01 22:59:18 +01:00
|
|
|
iconv.3:${PORTSDIR}/converters/libiconv/
|
2008-07-18 14:43:50 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2008-11-01 22:59:18 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -liconv
|
2008-07-18 14:43:50 +02:00
|
|
|
CONFIGURE_ARGS+=CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
post-patch:
|
2008-11-01 22:59:18 +01:00
|
|
|
@${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/src/sqlite3/Makefile.in
|
2008-07-18 14:43:50 +02:00
|
|
|
@${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/src/shell/Makefile.in
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|