audio/cd2mp3 [1] audio/mp3unicode [2] databases/spatialite [3] deskutils/aspostit devel/bennugd-modules [4] net/hinfo www/caudium14 [5] Approved by: shaun (mentor) mark@foster.cc (maintainer[1]) makc (maintainer[2]) wenheping@gmail.com (maintainer[3]) amdmi3 (maintainer[4]) johans (maintainer[5])
32 lines
844 B
Makefile
32 lines
844 B
Makefile
# New ports collection makefile for: spatialite
|
|
# Date created: 11 July 2008
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= spatialite
|
|
PORTVERSION= 2.2
|
|
PORTREVISION= 5
|
|
CATEGORIES= databases geography
|
|
MASTER_SITES= http://www.gaia-gis.it/${PORTNAME}-${PORTVERSION}/
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= Spatial Extensions for SQLite
|
|
|
|
LIB_DEPENDS= geos_c.8:${PORTSDIR}/graphics/geos \
|
|
proj.6:${PORTSDIR}/graphics/proj \
|
|
iconv.3:${PORTSDIR}/converters/libiconv
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -liconv
|
|
CONFIGURE_ARGS+=CFLAGS="${CFLAGS}" 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
|
|
|
|
.include <bsd.port.mk>
|