diff options
author | markd <markd@pkgsrc.org> | 2007-03-14 11:50:17 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2007-03-14 11:50:17 +0000 |
commit | 026fef74287eca44cb4a564403613bc006ed2f28 (patch) | |
tree | 314e0033e2eddc015c1c7645312626cdb0f2746f /math/R/files | |
parent | a9a5afbacd83f08493f519406bf8055961a4c512 (diff) | |
download | pkgsrc-026fef74287eca44cb4a564403613bc006ed2f28.tar.gz |
Update R to version 2.4.1.
pkgsrc changes: no longer automatically generate the PLIST.
use (de)install templates for handling updating the index files
when adding/removing R packages.
Changes 2.4.1
This is a maintenance release and fixes a number of mostly minor bugs.
Changes 2.4.0
This release has many new features. One important aspect is that S4
classes now have their own internal type, and S4 method dispatch has
been completely revised to using cached generic functions, giving
substantial performance improvements. As a consequence, all packages
depending on "methods" need to be reinstalled.
Diffstat (limited to 'math/R/files')
-rw-r--r-- | math/R/files/pkg-index.tmpl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/math/R/files/pkg-index.tmpl b/math/R/files/pkg-index.tmpl new file mode 100644 index 00000000000..4a3ddedbb71 --- /dev/null +++ b/math/R/files/pkg-index.tmpl @@ -0,0 +1,25 @@ +# $NetBSD: pkg-index.tmpl,v 1.1 2007/03/14 11:50:34 markd Exp $ +# +# Rebuild R package indexes +# + +case ${STAGE} in +POST-INSTALL) + R CMD ${PERL5} @PREFIX@/lib/R/share/perl/build-help.pl --htmllists 2>/dev/null + ${CAT} @PREFIX@/lib/R/library/*/CONTENTS > @PREFIX@/lib/R/doc/html/search/index.txt 2>/dev/null + ;; +DEINSTALL) + if [ "${PKGBASE}" = "R" ] ; then + ${RM} -f @PREFIX@/lib/R/doc/html/packages.html + ${RM} -f @PREFIX@/lib/R/doc/html/search/index.txt + fi + ;; +POST-DEINSTALL) + if [ "${PKGBASE}" != "R" ] ; then + R CMD ${PERL5} @PREFIX@/lib/R/share/perl/build-help.pl --htmllists 2>/dev/null + ${CAT} @PREFIX@/lib/R/library/*/CONTENTS > @PREFIX@/lib/R/doc/html/search/index.txt 2>/dev/null + fi + ;; +*) + ;; +esac |