summaryrefslogtreecommitdiff
path: root/graphics/librasterlite2/Makefile
blob: fa44d7e249dc8a776066cc1e8b8cf2c9d6041a6f (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Created by: lbartoletti <lbartoletti@FreeBSD.org>
# $FreeBSD$

PORTNAME=	librasterlite2
PORTVERSION=	1.0.0
DISTVERSIONSUFFIX=-rc0
PORTREVISION=	5
CATEGORIES=	graphics geography
MASTER_SITES=	http://www.gaia-gis.it/gaia-sins/

MAINTAINER=	lbartoletti@FreeBSD.org
COMMENT=	Library that stores and retrieves raster coverages using a SpatiaLite

LICENSE=	MPL11 GPLv2 LGPL21
LICENSE_COMB=	dual

LIB_DEPENDS=	libspatialite.so:databases/spatialite \
		libsqlite3.so:databases/sqlite3 \
		libgeotiff.so:graphics/libgeotiff \
		libjbig.so:graphics/jbigkit \
		libpng.so:graphics/png \
		libgif.so:graphics/giflib \
		libgeos.so:graphics/geos \
		libproj.so:graphics/proj \
		libtiff.so:graphics/tiff \
		libfreexl.so:textproc/freexl \
		libwebp.so:graphics/webp \
		libcairo.so:graphics/cairo \
		libcurl.so:ftp/curl

GNU_CONFIGURE=	yes
USES=		gmake iconv jpeg libtool pathfix pkgconfig
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

# Work around PKG_CHECK_MODULES before base r276898
.if !exists(/usr/libdata/pkgconfig/liblzma.pc)
CONFIGURE_ENV+=	LIBLZMA_CFLAGS=" " LIBLZMA_LIBS="-llzma"
.endif

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
LIBS+=		-lsqlite3 -lm

.include <bsd.port.mk>