freebsd-ports/math/saga/Makefile
Sergey A. Osokin 5a31d65d80 Update from 1.6.0 to 1.7.2.
Since port isn't updated regularly and previous update was made a
year ago with a maintainer timeout, pass the maintainership to the
submitter of the last two updates.

Bump PORTREVISIONs in dependent ports.

Submitted by:	glebius
PR:		ports/149072
2010-08-03 13:35:21 +00:00

43 lines
1.1 KiB
Makefile

# Ports collection makefile for: saga
# Date created: 13 November 2009
# Whom: rhurlin
#
# $FreeBSD$
#
PORTNAME= saga
PORTVERSION= 2.0.4
PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}_src_linux
MAINTAINER= rhurlin@gwdg.de
COMMENT= System for Automated Geoscientific Analyses
LIB_DEPENDS= proj.6:${PORTSDIR}/graphics/proj \
gdal.15:${PORTSDIR}/graphics/gdal \
jasper.4:${PORTSDIR}/graphics/jasper \
tiff.4:${PORTSDIR}/graphics/tiff
WRKSRC= ${WRKDIR}/${PORTNAME}-2.0
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
USE_WX= 2.8
post-patch:
@for f in `${FIND} '${WRKSRC}' -name Makefile.in` \
${WRKSRC}/configure; do \
${REINPLACE_CMD} -e's|wx-config |${WX_CONFIG} |g' "$$f"; \
done
@${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' \
${WRKSRC}/src/saga_core/saga_api/api_memory.cpp \
${WRKSRC}/src/modules_projection/pj_georeference/pj_georeference/lmdif0.c
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>