summaryrefslogtreecommitdiff
path: root/textproc/R-gsubfn
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2016-02-25 19:43:57 +0000
committerfhajny <fhajny@pkgsrc.org>2016-02-25 19:43:57 +0000
commit54ad5928e093835c370bd7b762db27132d508c64 (patch)
tree78bbe456dd70f712bd50f1018aeef2b4509d56e7 /textproc/R-gsubfn
parentd4f8ffd9427763280fbd46e2003efa8d051971ff (diff)
downloadpkgsrc-54ad5928e093835c370bd7b762db27132d508c64.tar.gz
Import textproc/R-gsubfn 0.6-6 into pkgsrc.
gsubfn is like gsub but can take a replacement function or certain other objects instead of the replacement string. Matches and back references are input to the replacement function and replaced by the function output.
Diffstat (limited to 'textproc/R-gsubfn')
-rw-r--r--textproc/R-gsubfn/DESCR4
-rw-r--r--textproc/R-gsubfn/Makefile17
-rw-r--r--textproc/R-gsubfn/distinfo6
3 files changed, 27 insertions, 0 deletions
diff --git a/textproc/R-gsubfn/DESCR b/textproc/R-gsubfn/DESCR
new file mode 100644
index 00000000000..43063f884ea
--- /dev/null
+++ b/textproc/R-gsubfn/DESCR
@@ -0,0 +1,4 @@
+gsubfn is like gsub but can take a replacement function or certain
+other objects instead of the replacement string. Matches and back
+references are input to the replacement function and replaced by
+the function output.
diff --git a/textproc/R-gsubfn/Makefile b/textproc/R-gsubfn/Makefile
new file mode 100644
index 00000000000..07d3937d687
--- /dev/null
+++ b/textproc/R-gsubfn/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2016/02/25 19:43:57 fhajny Exp $
+
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= ${R_HOMEPAGE_BASE}/gsubfn/
+COMMENT= R package used for string matching, substitution and parsing
+LICENSE= gnu-gpl-v2
+
+R_PKGNAME= gsubfn
+R_PKGVER= 0.6-6
+
+DEPENDS+= R-proto-[0-9]*:../../devel/R-proto
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/R-gsubfn/distinfo b/textproc/R-gsubfn/distinfo
new file mode 100644
index 00000000000..e7fffbfb711
--- /dev/null
+++ b/textproc/R-gsubfn/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/02/25 19:43:57 fhajny Exp $
+
+SHA1 (R/gsubfn_0.6-6.tar.gz) = 0a6fba7a3490e62b617d67663ef9f1a39184aa41
+RMD160 (R/gsubfn_0.6-6.tar.gz) = e95c27bb4a4c40f189b4fe2227ee13ef7540ba6d
+SHA512 (R/gsubfn_0.6-6.tar.gz) = 72f86f6d00cf5be69e68d4f24922ebb3c91bddd6a770db252ff1b172ebaf434f9b2decb19543b7bceae2d4eba49d70bab30e162f3fcf0babfa686b0553b166ba
+Size (R/gsubfn_0.6-6.tar.gz) = 313330 bytes