freebsd-ports/graphics/libgaiagraphics/Makefile
Marcus von Appen a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00

35 lines
890 B
Makefile

# New ports collection makefile for: libgaiagraphics
# Date created: 2012-06-14
# Whom: 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
USE_GMAKE= yes
USES= iconv
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>