freebsd-ports/graphics/libgaiagraphics/Makefile
2013-09-02 16:21:38 +00:00

30 lines
810 B
Makefile

# Created by: lbartoletti <coder@tuxfamily.org>
# $FreeBSD$
PORTNAME= libgaiagraphics
PORTVERSION= 0.4b
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= png15:${PORTSDIR}/graphics/png \
tiff:${PORTSDIR}/graphics/tiff \
geotiff:${PORTSDIR}/graphics/libgeotiff \
jpeg:${PORTSDIR}/graphics/jpeg \
cairo:${PORTSDIR}/graphics/cairo
GNU_CONFIGURE= yes
USES= iconv gmake pkgconfig
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -liconv
CONFIGURE_ARGS+=CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>