# Created by: lbartoletti <coder@tuxfamily.org>
# $FreeBSD: head/graphics/libgaiagraphics/Makefile 412346 2016-04-01 14:00:51Z mat $

PORTNAME=	libgaiagraphics
PORTVERSION=	0.5
PORTREVISION=	3
CATEGORIES=	graphics geography
MASTER_SITES=	http://www.gaia-gis.it/gaia-sins/

MAINTAINER=	coder@tuxfamily.org
COMMENT=	Library supporting common-utility raster handling methods

LIB_DEPENDS=	libpng.so:graphics/png \
		libtiff.so:graphics/tiff \
		libgeotiff.so:graphics/libgeotiff \
		libcairo.so:graphics/cairo

USES=		gmake iconv jpeg pathfix pkgconfig libtool
USE_LDCONFIG=	yes

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

.include <bsd.port.mk>