summaryrefslogtreecommitdiff
path: root/databases/spatialite-tools/Makefile
blob: 45bb7303c8e9196152976f86789cca9fd23a017d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PORTNAME=	spatialite-tools
PORTVERSION=	5.0.1
PORTREVISION=	10
CATEGORIES=	databases geography
MASTER_SITES=	http://www.gaia-gis.it/gaia-sins/

MAINTAINER=	lbartoletti@FreeBSD.org
COMMENT=	Collection of CLI tools supporting SpatiaLite
WWW=		http://www.gaia-gis.it/fossil/spatialite-tools/index

LICENSE=	GPLv3

LIB_DEPENDS=	libgeos_c.so:graphics/geos \
		libproj.so:graphics/proj \
		libfreexl.so:textproc/freexl \
		libexpat.so:textproc/expat2 \
		libspatialite.so:databases/spatialite \
		libreadosm.so:astro/readosm

GNU_CONFIGURE=	yes
USES=		gmake gnome iconv minizip pkgconfig sqlite
USE_GNOME=	libxml2

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ARGS+=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"

.include <bsd.port.mk>