mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
de78af3ac5
Reviewed by: exp8 run on pointyhat Supported by: miwi
44 lines
1.1 KiB
Makefile
44 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= 3
|
|
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.14:${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>
|