aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2015-11-08 19:28:37 +0800
committertota <tota@FreeBSD.org>2015-11-08 19:28:37 +0800
commitd42e0b111f391cd65451968b5abb47dc0416f807 (patch)
tree351765c71c979807b0290b949e7cec64f2e28976 /textproc
parent1d1ccb26650edcb370b4348d441ad0e9be28e4cb (diff)
downloadfreebsd-ports-gnome-d42e0b111f391cd65451968b5abb47dc0416f807.tar.gz
freebsd-ports-gnome-d42e0b111f391cd65451968b5abb47dc0416f807.tar.zst
freebsd-ports-gnome-d42e0b111f391cd65451968b5abb47dc0416f807.zip
- Add new port: textproc/R-cran-xml2
Work with XML files using a simple, consistent interface. Built on top of the 'libxml2' C library. WWW: https://cran.r-project.org/web/packages/xml2/
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/R-cran-xml2/Makefile23
-rw-r--r--textproc/R-cran-xml2/distinfo2
-rw-r--r--textproc/R-cran-xml2/pkg-descr4
4 files changed, 30 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index cde7a3b7e874..59f844d31991 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -15,6 +15,7 @@
SUBDIR += R-cran-rmarkdown
SUBDIR += R-cran-stringi
SUBDIR += R-cran-stringr
+ SUBDIR += R-cran-xml2
SUBDIR += R-cran-xtable
SUBDIR += R-cran-yaml
SUBDIR += ack
diff --git a/textproc/R-cran-xml2/Makefile b/textproc/R-cran-xml2/Makefile
new file mode 100644
index 000000000000..67b46f3a2bdb
--- /dev/null
+++ b/textproc/R-cran-xml2/Makefile
@@ -0,0 +1,23 @@
+# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= xml2
+PORTVERSION= 0.1.2
+CATEGORIES= textproc
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= tota@FreeBSD.org
+COMMENT= Parse XML
+
+LICENSE= GPLv2 GPLv3
+LICENSE_COMB= dual
+
+RUN_DEPENDS= R-cran-Rcpp>=0.11.4.6:${PORTSDIR}/devel/R-cran-Rcpp \
+ R-cran-BH>0:${PORTSDIR}/devel/R-cran-BH
+
+USES= cran:auto-plist
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|bin/bash|bin/sh|' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/textproc/R-cran-xml2/distinfo b/textproc/R-cran-xml2/distinfo
new file mode 100644
index 000000000000..6618401bec1e
--- /dev/null
+++ b/textproc/R-cran-xml2/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xml2_0.1.2.tar.gz) = 8c545c38394b5461317de40f8a6b0ccd38f97650d2ca7de76a6b1f68c6a7514a
+SIZE (xml2_0.1.2.tar.gz) = 74808
diff --git a/textproc/R-cran-xml2/pkg-descr b/textproc/R-cran-xml2/pkg-descr
new file mode 100644
index 000000000000..7199a9aa4c8f
--- /dev/null
+++ b/textproc/R-cran-xml2/pkg-descr
@@ -0,0 +1,4 @@
+Work with XML files using a simple, consistent interface. Built on
+top of the 'libxml2' C library.
+
+WWW: https://cran.r-project.org/web/packages/xml2/