# New ports collection makefile for: spatialite # Date created: 11 July 2008 # Whom: Wen Heping # # $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