aboutsummaryrefslogtreecommitdiffstats
path: root/math/R-project/Makefile
blob: 1b5a604292b72efd0d3edc1a4c0567d583efed5a (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:    R (letter)
# Date created:         Fri Feb  9 10:50:25 EST 2001
# Whom:             Maurice Castro <maurice@serc.rmit.edu.au>
#
# $FreeBSD$
#

PORTNAME=   R
PORTVERSION=    1.6.2
CATEGORIES= math
MASTER_SITES=   http://cran.r-project.org/src/base/ \
        ftp://cran.r-project.org/pub/R/src/base/ \
        http://cran.at.r-project.org/src/base/ \
        http://cran.au.r-project.org/src/base/ \
        http://cran.ch.r-project.org/src/base/ \
        http://cran.dk.r-project.org/src/base/ \
        http://cran.hu.r-project.org/src/base/ \
        http://cran.uk.r-project.org/src/base/ \
        http://cran.us.r-project.org/src/base/ \
        ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/src/base/ \
        http://lib.stat.cmu.edu/R/CRAN/src/base/
PKGNAMESUFFIX=  -${PAPERSIZE}
EXTRACT_SUFX=   .tgz

MAINTAINER= maurice@serc.rmit.edu.au
COMMENT=    A language for statistical computing and graphics

LIB_DEPENDS=    tcl84:${PORTSDIR}/lang/tcl84 \
        tk84:${PORTSDIR}/x11-toolkits/tk84

GNU_CONFIGURE=  yes
USE_XLIB=   yes
USE_PERL5=  yes
CONFIGURE_ENV=  R_PAPERSIZE=${PAPERSIZE}

PAPERSIZE?= letter
.if ${PAPERSIZE} != letter && ${PAPERSIZE} != a4
.BEGIN:
    @${ECHO} "Invalid value for PAPERSIZE: \"${PAPERSIZE}\""
    @${ECHO} "Possible values are:  a4 and letter."
    @${FALSE}
.endif

MAN1=   R.1

test check: build
    @(cd ${WRKSRC}; make check)
fullcheck: build
    @(cd ${WRKSRC}; make fullcheck)

.include <bsd.port.mk>