1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 113683 2013-11-23 02:18:18Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name r-curl |
---|
7 | version 1.95-4 |
---|
8 | revision 0 |
---|
9 | categories math net |
---|
10 | platforms darwin |
---|
11 | maintainers yahoo.fr:jul_bsd openmaintainer |
---|
12 | license BSD |
---|
13 | |
---|
14 | description R-interface to the libcurl library that provides HTTP facilities |
---|
15 | |
---|
16 | long_description The RCurl package is an R-interface to the libcurl \ |
---|
17 | library that provides HTTP facilities. This allows \ |
---|
18 | us to download files from Web servers, post forms, \ |
---|
19 | use HTTPS (the secure HTTP), use persistent \ |
---|
20 | connections, upload files, use binary content, \ |
---|
21 | handle redirects, password authentication, etc. |
---|
22 | |
---|
23 | # http://cran.r-project.org/web/packages/RCurl/index.html |
---|
24 | homepage http://www.omegahat.org/RCurl/ |
---|
25 | master_sites ${homepage} |
---|
26 | distname RCurl_${version} |
---|
27 | worksrcdir RCurl |
---|
28 | |
---|
29 | checksums rmd160 8d08b0d68d0a8fbf2c08732f0c5585723e8e90dd \ |
---|
30 | sha256 90c71ce8b7e4d40d7a2a78dd1057bd6f46c37dffe02d78adec5169dec35f90cb |
---|
31 | |
---|
32 | depends_lib port:curl port:R |
---|
33 | |
---|
34 | ## http://cran.r-project.org/doc/manuals/R-admin.html#OS-X-packages |
---|
35 | build {} |
---|
36 | destroot.cmd R |
---|
37 | destroot.target |
---|
38 | destroot.args CMD INSTALL -l ${destroot}${frameworks_dir}/R.framework/Versions/Current Rcurl |
---|
39 | |
---|
40 | livecheck.type regex |
---|
41 | livecheck.url ${homepage} |
---|
42 | livecheck.regex "<p align=right><a href=\"RCurl_(\\d+\.\\d+\.\\d+).tar.gz\">" |
---|