summaryrefslogtreecommitdiff
path: root/math/R/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>1999-05-25 23:45:05 +0000
committerjlam <jlam@pkgsrc.org>1999-05-25 23:45:05 +0000
commitd85fb58285ed2541008f5680c3bdc68f68035014 (patch)
treedd515425ed359fe80f64c36b34bb6da33f7d3ed4 /math/R/Makefile
parentdcc5af6f12f52352d15b23e1a1b869e4891509a2 (diff)
downloadpkgsrc-d85fb58285ed2541008f5680c3bdc68f68035014.tar.gz
Updated R to 0.64.1. Too many changes from 0.62.1 to enumerate.
See NEWS file in distribution.
Diffstat (limited to 'math/R/Makefile')
-rw-r--r--math/R/Makefile30
1 files changed, 20 insertions, 10 deletions
diff --git a/math/R/Makefile b/math/R/Makefile
index d94c49d5dcd..07a3423c100 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -1,20 +1,21 @@
-# $NetBSD: Makefile,v 1.5 1999/04/26 18:56:15 garbled Exp $
+# $NetBSD: Makefile,v 1.6 1999/05/25 23:45:05 jlam Exp $
#
-DISTNAME= R-0.63.1
+DISTNAME= R-0.64.1
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/
+ http://stat.ethz.ch/CRAN/src/base/ \
+ http://www.stats.bris.ac.uk/R/src/base/ \
+ ftp://ftp.ci.tuwien.ac.at/pub/R/src/base/
EXTRACT_SUFX= .tgz
-MAINTAINER= lamj@stat.cmu.edu
+MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://lib.stat.cmu.edu/R/CRAN/
.if !exists(/usr/bin/f77)
@@ -33,16 +34,25 @@ CONFIGURE_ARGS+=--enable-readline --with-x
#
.if defined(PAPERSIZE)
R_PAPERSIZE?= ${PAPERSIZE}
+.endif
.if (${R_PAPERSIZE} == "Letterdj")
R_PAPERSIZE= Letter
.endif
-.endif
-LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
- R_PAPERSIZE="${R_PAPERSIZE}"
+.if (${OPSYS} == "SunOS")
+BSD_INSTALL?= /usr/ucb/install
+.else
+BSD_INSTALL?= /usr/bin/install
+.endif
+INSTALL_OWN_SCRIPT= ${BSD_INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
+INSTALL_SCRIPT= ${BSD_INSTALL} ${COPY} -m ${BINMODE}
+INSTALL_DATA= ${BSD_INSTALL} ${COPY} -m 644
+LDFLAGS+= -L${LOCALBASE}/lib # for -lreadline
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ R_PAPERSIZE="${R_PAPERSIZE}"
+MAKE_ENV+= INSTALL_OWN_SCRIPT="${INSTALL_OWN_SCRIPT}"
post-install:
- ${RMDIR} ${PREFIX}/share/R/library/modreg/data
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/R
.include "../../mk/bsd.pkg.mk"