summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authoralnsn <alnsn@pkgsrc.org>2011-05-10 18:55:55 +0000
committeralnsn <alnsn@pkgsrc.org>2011-05-10 18:55:55 +0000
commit6aaa7882354100d04148fca777596ed48b74c600 (patch)
tree56b5b120e7691b6295b36ce5fc720ac29b586748 /math
parent436d21f718d054fcd70b1b4b2cf1d9c16bec10f8 (diff)
downloadpkgsrc-6aaa7882354100d04148fca777596ed48b74c600.tar.gz
Update math/R-CGIwithR to version 0.73-0.
Approved by wiz@. Version 0.73-0 * Identify the contents of file uploads with a class "FileUploadContent" * Don't collapse duplicate parameter values that correspond to file uploads in MultiPartFormData objects. * $ operator for MultiPartFormData extended to handle the case of multiple elements for the same parameter, specifically file uploads. * Added parameters to some functions to allow caller to specify content of the submitted form that is usually provide via environment variables or standard in. This facilitates debugging. Version 0.72-2 * Deal with repeated parameters.
Diffstat (limited to 'math')
-rw-r--r--math/R-CGIwithR/MESSAGE4
-rw-r--r--math/R-CGIwithR/Makefile11
-rw-r--r--math/R-CGIwithR/distinfo8
3 files changed, 17 insertions, 6 deletions
diff --git a/math/R-CGIwithR/MESSAGE b/math/R-CGIwithR/MESSAGE
new file mode 100644
index 00000000000..fffb2666b80
--- /dev/null
+++ b/math/R-CGIwithR/MESSAGE
@@ -0,0 +1,4 @@
+After the installation of this R package is complete
+copy the files R.cgi and .Rprofile in
+ ${PREFIX}/lib/R/library/CGIwithR/cgi-bin/
+to the cgi-bin area of your Web server.
diff --git a/math/R-CGIwithR/Makefile b/math/R-CGIwithR/Makefile
index 93edfd75a08..e3b1acb12a6 100644
--- a/math/R-CGIwithR/Makefile
+++ b/math/R-CGIwithR/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/10/13 11:12:52 markd Exp $
+# $NetBSD: Makefile,v 1.4 2011/05/10 18:55:55 alnsn Exp $
#
CATEGORIES= math
@@ -9,12 +9,19 @@ HOMEPAGE= ${R_HOMEPAGE_BASE}/CGIwithR/
COMMENT= Facilities for the use of R to write CGI scripts
R_PKGNAME= CGIwithR
-R_PKGVER= 0.72
+R_PKGVER= 0.73-0
REPLACE_INTERPRETER+= r
REPLACE.r.old= .*R
REPLACE.r.new= ${PREFIX}/bin/R
REPLACE_FILES.r= inst/examples/dangerous.R inst/examples/trivial.R
+SUBST_CLASSES+= fix-paths
+SUBST_STAGE.fix-paths= post-patch
+SUBST_MESSAGE.fix-paths= Fixing absolute paths.
+SUBST_FILES.fix-paths= inst/cgi-bin/R.cgi
+SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g'
+
.include "../../math/R/Makefile.extension"
+.include "../../print/ghostscript/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/R-CGIwithR/distinfo b/math/R-CGIwithR/distinfo
index 08ec9829c8c..90e213913ea 100644
--- a/math/R-CGIwithR/distinfo
+++ b/math/R-CGIwithR/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2008/10/13 11:12:52 markd Exp $
+$NetBSD: distinfo,v 1.3 2011/05/10 18:55:55 alnsn Exp $
-SHA1 (R/CGIwithR_0.72.tar.gz) = 65836773c7c48a0d9c12694773addc9cc0ca30f5
-RMD160 (R/CGIwithR_0.72.tar.gz) = ee08acb17eac32f2a1928b0a4c7b5f31b7258669
-Size (R/CGIwithR_0.72.tar.gz) = 188770 bytes
+SHA1 (R/CGIwithR_0.73-0.tar.gz) = 70def800a7894a300b59c96df0169849fdcc07c6
+RMD160 (R/CGIwithR_0.73-0.tar.gz) = dbd075191e2bb31e81e609baccc4f9e557db1a0f
+Size (R/CGIwithR_0.73-0.tar.gz) = 191630 bytes