summaryrefslogtreecommitdiff
path: root/math/R/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-08-16 19:04:42 +0000
committerjlam <jlam@pkgsrc.org>2000-08-16 19:04:42 +0000
commit32d4c82932151684811998e2161ddf6586af7e37 (patch)
tree881379548753c013f8bcc1f015d21e3b4fe4acbf /math/R/Makefile
parent830a33d91d2da3753ecc8c80f506ab1691046835 (diff)
downloadpkgsrc-32d4c82932151684811998e2161ddf6586af7e37.tar.gz
Update R to 1.1.1. This is primarily a bugfix release from version 1.1.0,
particularly fixing the table editor, but also contains a few additions: o data(), example() and help() now search the loaded packages, then in their .lib.loc argument, the latter as pre-0.99.0. See their help pages for the precise details. o help() has a new argument `try.all.packages' set by the option "help.try.all.packages". If help is not found in the normal path and this is TRUE then a search is made of all packages for possible matches. o prop.trend.test() - test for trend in proportions. o write.table() has new argument `dec' for setting the decimal separator (SPSS/Windows and probably others want commas in continental European locales). o Advance warning: save(, oldstyle=TRUE) will no longer be available after this release. o Symbols can now be coerced to expressions, making as.expression(quote(a)) work
Diffstat (limited to 'math/R/Makefile')
-rw-r--r--math/R/Makefile26
1 files changed, 23 insertions, 3 deletions
diff --git a/math/R/Makefile b/math/R/Makefile
index 4dc1788f988..a5bebbb0937 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2000/08/11 23:02:37 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2000/08/16 19:04:42 jlam Exp $
#
-DISTNAME= R-1.1.0
+DISTNAME= R-1.1.1
CATEGORIES= math
MASTER_SITES= http://cran.r-project.org/src/base/ \
ftp://cran.r-project.org/pub/R/src/base/ \
@@ -66,10 +66,30 @@ CONFIGURE_ENV+= R_PAPERSIZE="${R_PAPERSIZE}"
INSTALL_DATA= ${INSTALL} ${COPY} -m ${SHAREMODE}
INSTALL_SCRIPT= ${INSTALL} ${COPY} -m ${BINMODE}
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+R_LIBDIR= ${PREFIX}/lib/R
+INSTALL_DIRS= ${R_LIBDIR}
+
pre-configure:
cd ${WRKSRC} && autoreconf
+# Generate the PLIST dynamically as it changes in each version only in a
+# specific subtree. This will make maintaining this package a little easier
+# when updating.
+#
post-install:
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/R
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${R_LIBDIR}
+ ${RM} -f ${PLIST_SRC}
+ ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}
+ ( cd ${PREFIX}; \
+ for dir in ${INSTALL_DIRS}; do \
+ ${FIND} $${dir#${PREFIX}/} \( -type f -or -type l \) -print; \
+ done; \
+ ) | sort -u >> ${PLIST_SRC}
+ ( cd ${PREFIX}; \
+ for dir in ${INSTALL_DIRS}; do \
+ ${FIND} $${dir#${PREFIX}/} -type d -print; \
+ done; \
+ ) | sort -ur | ${SED} -e "s,^,@dirrm ," >> ${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"