a3a0715f38
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here Reviewed by: zeising
35 lines
890 B
Makefile
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>
|