summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2018-05-09 00:32:50 +0000
committerminskim <minskim@pkgsrc.org>2018-05-09 00:32:50 +0000
commit7d760b49c71727b43c6c95a13aebf14e7ae3c0f4 (patch)
tree2eb32ecd5b8ae9175ca01880cd005267f9cb019b /lang
parent0e1f41157ddd619fa91bfe5599f725bc7d3d4e90 (diff)
downloadpkgsrc-7d760b49c71727b43c6c95a13aebf14e7ae3c0f4.tar.gz
lang/R-sourcetools: Import version 0.1.7
Tools for the reading and tokenization of R code. The 'sourcetools' package provides both an R and C++ interface for the tokenization of R code, and helpers for interacting with the tokenized representation of R code.
Diffstat (limited to 'lang')
-rw-r--r--lang/R-sourcetools/DESCR4
-rw-r--r--lang/R-sourcetools/Makefile19
-rw-r--r--lang/R-sourcetools/distinfo6
3 files changed, 29 insertions, 0 deletions
diff --git a/lang/R-sourcetools/DESCR b/lang/R-sourcetools/DESCR
new file mode 100644
index 00000000000..9e486ba429e
--- /dev/null
+++ b/lang/R-sourcetools/DESCR
@@ -0,0 +1,4 @@
+Tools for the reading and tokenization of R code. The 'sourcetools'
+package provides both an R and C++ interface for the tokenization of R
+code, and helpers for interacting with the tokenized representation of
+R code.
diff --git a/lang/R-sourcetools/Makefile b/lang/R-sourcetools/Makefile
new file mode 100644
index 00000000000..6bc3bbc5baf
--- /dev/null
+++ b/lang/R-sourcetools/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/05/09 00:32:50 minskim Exp $
+
+DISTNAME= sourcetools_0.1.7
+CATEGORIES= lang
+
+MAINTAINER= minskim@NetBSD.org
+COMMENT= Tools for Reading, Tokenizing and Parsing R Code
+LICENSE= mit
+
+USE_LANGUAGES= c c++
+
+BUILDLINK_API_DEPENDS.R+= R>=3.0.2
+.include "../../math/R/Makefile.extension"
+
+post-configure:
+ ${ECHO} PKG_CFLAGS=${CFLAGS:Q} >> ${WRKSRC}/src/Makevars
+ ${ECHO} PKG_CXXFLAGS=${CXXFLAGS:Q} >> ${WRKSRC}/src/Makevars
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/R-sourcetools/distinfo b/lang/R-sourcetools/distinfo
new file mode 100644
index 00000000000..06b899b5c6b
--- /dev/null
+++ b/lang/R-sourcetools/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/05/09 00:32:50 minskim Exp $
+
+SHA1 (R/sourcetools_0.1.7.tar.gz) = bbdbad448223f9ba52f0ae827a6edf54fb572de9
+RMD160 (R/sourcetools_0.1.7.tar.gz) = 7348e4313e2c5e0d29cdf7d09f07bb60e2dec605
+SHA512 (R/sourcetools_0.1.7.tar.gz) = 8446aec2a22046044a886c16b752f1846ba8e24b07fbce23678ca324536b6cc19acb795eb381491712c2bd913f891518911b48f37c0a4bd47aad12e57f6eb31d
+Size (R/sourcetools_0.1.7.tar.gz) = 24155 bytes