diff options
author | frueauf <frueauf> | 1998-12-04 11:36:03 +0000 |
---|---|---|
committer | frueauf <frueauf> | 1998-12-04 11:36:03 +0000 |
commit | ded2a63acefe7d72ba559a31ba7971d8279dab1f (patch) | |
tree | a7b8f89a34d54708fc828eaa62c77a9d5b135201 /math/R/Makefile | |
parent | 418c39d745328dc1d3855f189d23c6f3076d3a51 (diff) | |
download | pkgsrc-ded2a63acefe7d72ba559a31ba7971d8279dab1f.tar.gz |
Initial addition of R-0.63.0, a language for data analysis and graphics.
Provided in pr 6493 by Johnny C. Lam.
Diffstat (limited to 'math/R/Makefile')
-rw-r--r-- | math/R/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/math/R/Makefile b/math/R/Makefile new file mode 100644 index 00000000000..9c0e89881ab --- /dev/null +++ b/math/R/Makefile @@ -0,0 +1,52 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/12/04 11:36:03 frueauf Exp $ +# + +DISTNAME= R-0.63.0 +WRKSRC= ${WRKDIR}/R-0.63 +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= lamj@stat.cmu.edu +HOMEPAGE= http://lib.stat.cmu.edu/R/CRAN/ + +.if !exists(/usr/bin/f77) +BUILD_DEPENDS+= f2c-19980516p1:../../lang/f2c +.endif +DEPENDS+= readline-2.2:../../devel/readline + +USE_PERL5= yes +USE_GMAKE= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--enable-readline --with-x + +.include "../../mk/bsd.prefs.mk" + +# R_PAPERSIZE can be: A4, Letter, Legal, Executive +# +.if defined(PAPERSIZE) +R_PAPERSIZE?= ${PAPERSIZE} +.if (${R_PAPERSIZE} == "Letterdj") +R_PAPERSIZE= Letter +.endif +.endif + +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ + DLLFLAGS="${LDFLAGS}" \ + R_PAPERSIZE=${R_PAPERSIZE} + +post-build: + ${TOUCH} ${WRKSRC}/library/modreg/data/.keep_me + +.include "../../mk/bsd.pkg.mk" |