aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/R-cran-rgdal/Makefile
blob: 0f0c52c81d20087f6b9c70903fd8a98db4e8746f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
# $FreeBSD$

PORTNAME=   rgdal
DISTVERSION=    0.7-24
CATEGORIES= graphics
DISTNAME=   ${PORTNAME}_${DISTVERSION}

MAINTAINER= tota@FreeBSD.org
COMMENT=    Bindings for the Geospatial Data Abstraction Library

LICENSE=    GPLv2 GPLv3
LICENSE_COMB=   dual

LIB_DEPENDS=    gdal:${PORTSDIR}/graphics/gdal \
        proj:${PORTSDIR}/graphics/proj
RUN_DEPENDS=    R-cran-sp>=0.9.99:${PORTSDIR}/math/R-cran-sp

USE_R_MOD=  yes
R_MOD_AUTOPLIST=    yes

R_POSTCMD_INSTALL_OPTIONS+= --configure-args="--with-proj-lib=${LOCALBASE}/lib"

.include <bsd.port.mk>