aboutsummaryrefslogtreecommitdiffstats
path: root/math/R/Makefile
blob: 85d7324976c539287cb79de0221bada158e050a5 (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
# New ports collection makefile for:    R (letter)
# Version required:     R-0.64.2
# Date created:         Tue Jun 23 07:36:55 EST 1998
# Whom:             Maurice Castro <maurice@serc.rmit.edu.au>
#
# $FreeBSD$
#

DISTNAME=   R-0.64.2
PKGNAME=    R-${PAPERSIZE}-0.64.2
CATEGORIES= math
MASTER_SITES=   http://lib.stat.cmu.edu/R/CRAN/src/base/ \
        ftp://ftp.biostat.washington.edu/mirrors/R/CRAN/src/base/ \
        http://cran.stat.wisc.edu/src/base/ \
        ftp://ftp.ci.tuwien.ac.at/R/src/base/ \
        http://SunSITE.auc.dk/R/src/base/ \
        http://www.stat.unipg.it/pub/stat/statlib/R/CRAN/src/base/ \
        ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/src/base/ \
        ftp://dola.snu.ac.kr/pub/R/CRAN/src/base/ \
        http://www.stat.math.ethz.ch/R-CRAN/src/base/
EXTRACT_SUFX=   .tgz

MAINTAINER= maurice@serc.rmit.edu.au

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

ALL_TARGET=all help html

MAN1=   R.1 Rd2txt.1 Rdconv.1
MLINKS= Rdconv.1 Sd2Rd.1 \
    Rdconv.1 Rdindex.1

test:
    @(cd ${WRKSRC}; make test-All)

.include <bsd.port.mk>