1998-11-20 04:15:15 +00:00
|
|
|
# New ports collection makefile for: R (letter)
|
1998-07-17 20:41:56 +00:00
|
|
|
# Version required: R-0.62.2
|
1998-06-28 23:37:44 +00:00
|
|
|
# Date created: Tue Jun 23 07:36:55 EST 1998
|
1998-05-04 17:53:35 +00:00
|
|
|
# Whom: Maurice Castro <maurice@serc.rmit.edu.au>
|
|
|
|
#
|
1999-08-25 07:05:28 +00:00
|
|
|
# $FreeBSD$
|
1998-05-04 17:53:35 +00:00
|
|
|
#
|
|
|
|
|
1998-07-17 20:41:56 +00:00
|
|
|
DISTNAME= R-0.62.2
|
1998-11-20 04:15:15 +00:00
|
|
|
PKGNAME= R-${PAPERSIZE}-0.62.2
|
1998-05-04 17:53:35 +00:00
|
|
|
CATEGORIES= math
|
1998-07-17 20:41:56 +00:00
|
|
|
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/ \
|
1998-06-28 23:37:44 +00:00
|
|
|
http://www.stat.unipg.it/pub/stat/statlib/R/CRAN/src/base/ \
|
|
|
|
ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/src/base/ \
|
1998-07-17 20:41:56 +00:00
|
|
|
ftp://dola.snu.ac.kr/pub/R/CRAN/src/base/ \
|
|
|
|
http://www.stat.math.ethz.ch/R-CRAN/src/base/
|
1998-05-04 17:53:35 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= maurice@serc.rmit.edu.au
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
1999-02-13 00:19:51 +00:00
|
|
|
USE_XLIB= yes
|
1998-05-04 17:53:35 +00:00
|
|
|
USE_PERL5= yes
|
|
|
|
|
|
|
|
CONFIGURE_ENV= R_PAPERSIZE=${PAPERSIZE}
|
|
|
|
|
1998-11-20 04:15:15 +00:00
|
|
|
PAPERSIZE?= letter
|
|
|
|
.if ${PAPERSIZE} != letter && ${PAPERSIZE} != a4
|
|
|
|
.BEGIN:
|
|
|
|
@${ECHO} "Invalid value for PAPERSIZE: \"${PAPERSIZE}\""
|
|
|
|
@${ECHO} "Possible values are: a4 and letter."
|
|
|
|
@${FALSE}
|
1998-05-04 17:53:35 +00:00
|
|
|
.endif
|
|
|
|
|
1998-06-28 23:37:44 +00:00
|
|
|
ALL_TARGET=all help html
|
|
|
|
|
1998-07-17 20:41:56 +00:00
|
|
|
MAN1= R.1 Rdconv.1
|
|
|
|
|
|
|
|
test:
|
|
|
|
@(cd ${WRKSRC}; make test-All)
|
|
|
|
|
1998-05-04 17:53:35 +00:00
|
|
|
do-install:
|
1998-07-17 20:41:56 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/R.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/Rdconv.1 ${PREFIX}/man/man1
|
1998-05-07 06:08:25 +00:00
|
|
|
${SED} 's:PREFIX:${PREFIX}:;s:DEFAULTPAPER:${PAPERSIZE}:' ${FILESDIR}/R > ${PREFIX}/bin/R
|
1999-08-22 19:01:07 +00:00
|
|
|
(cd ${WRKSRC}; find . -type d -exec ${CHMOD} a+rx \{\} \; )
|
|
|
|
(cd ${WRKSRC}; find . -type f -exec ${CHMOD} a+r \{\} \; )
|
|
|
|
${CHMOD} a+x ${PREFIX}/bin/R
|
1998-05-04 17:53:35 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/R
|
|
|
|
${MKDIR} ${PREFIX}/share/R/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/R.binary ${PREFIX}/share/R/bin
|
|
|
|
(cd ${WRKSRC}; tar cpf - afm ) | (cd ${PREFIX}/share/R; tar xpf - )
|
|
|
|
(cd ${WRKSRC}; tar cpf - etc ) | (cd ${PREFIX}/share/R; tar xpf - )
|
1998-06-28 23:37:44 +00:00
|
|
|
(cd ${WRKSRC}; tar cpf - doc ) | (cd ${PREFIX}/share/R; tar xpf - )
|
1998-05-04 17:53:35 +00:00
|
|
|
(cd ${WRKSRC}; tar cpf - include ) | (cd ${PREFIX}/share/R; tar xpf - )
|
|
|
|
(cd ${WRKSRC}; tar cpf - library ) | (cd ${PREFIX}/share/R; tar xpf - )
|
|
|
|
(cd ${WRKSRC}; tar cpf - demos ) | (cd ${PREFIX}/share/R; tar xpf - )
|
|
|
|
(cd ${WRKSRC}; tar cpf - cmd ) | (cd ${PREFIX}/share/R; tar xpf - )
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|