[86856] trunk/dports/math/R/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Nov 5 13:47:00 PDT 2011
Revision: 86856
http://trac.macports.org/changeset/86856
Author: ryandesign at macports.org
Date: 2011-11-05 13:46:58 -0700 (Sat, 05 Nov 2011)
Log Message:
-----------
R: maintainer update to 2.14.0, add license; see #31513
Modified Paths:
--------------
trunk/dports/math/R/Portfile
Modified: trunk/dports/math/R/Portfile
===================================================================
--- trunk/dports/math/R/Portfile 2011-11-05 20:15:36 UTC (rev 86855)
+++ trunk/dports/math/R/Portfile 2011-11-05 20:46:58 UTC (rev 86856)
@@ -3,10 +3,11 @@
PortSystem 1.0
name R
-version 2.13.1
-revision 1
+conflicts R-framework
+version 2.14.0
categories math science
maintainers epfl.ch:kjell.konis
+license GPL-2 GPL-3
platforms darwin
description R is GNU S - an interpreted language for statistical computing
@@ -25,14 +26,17 @@
http://cran.hu.r-project.org/src/base/R-2/ \
http://cran.r-project.org/src/base/R-2/
-checksums sha1 8b9d48c7a654186064f369652ea34a085eff239b \
- rmd160 3d83b907f6c81980a7e65bdf942936d6ce02a850
+checksums rmd160 f2f2805c8660d58050be1d11abf376843dbb40ea \
+ sha256 036204f56f8128e633a5d2fe56ebe0ba5a5e8501abe2056736d12a99bf69b910
+depends_build port:pkgconfig
+
depends_lib port:gettext \
port:icu \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:jpeg \
port:libiconv \
+ path:lib/pkgconfig/cairo.pc:cairo \
path:lib/pkgconfig/pango.pc:pango \
port:readline \
port:tcl \
@@ -68,8 +72,8 @@
depends_lib-append port:gcc45
}
-platform darwin 10 {
- variant aqua description {Enable quartz graphics device} {
+variant aqua description {Enable quartz graphics device} {
+ if {${os.platform} == "darwin" && ${os.major} == 10} {
# This variant uses a hack in "CFString.h" that does not define the problematic CF_FORMAT_FUNCTION
# and CF_FORMAT_ARGUMENT macros if __INTEL_COMPILER is defined. Currently, that is the ONLY place
# in the 10.6 SDK where the __INTEL_COMPILER macro is checked, but that may change in the future.
@@ -78,6 +82,9 @@
configure.args-append --with-aqua
patchfiles-append patch-QuartzDevice_h.diff
configure.objc /usr/bin/gcc-4.2
+ } else {
+ ui_error "The +aqua variant is for Snow Leopard (Mac OS X 10.6) only - for Aqua support on Lion (Mac OS X 10.7) use the R-framework port"
+ return -code error "incompatible variant"
}
}
@@ -87,7 +94,7 @@
default_variants-append +gcc44
}
-post-extract {
+post-patch {
reinplace "s|R_HOME|\"${prefix}/lib/R\"|" "${worksrcpath}/src/unix/Rscript.c"
}
@@ -97,7 +104,6 @@
--enable-BLAS-shlib \
--enable-R-shlib \
--disable-nls \
- --without-libintl-prefix \
--disable-R-framework \
--without-aqua \
--with-tcl-config=${prefix}/lib/tclConfig.sh \
@@ -148,3 +154,7 @@
reinplace "s|-dylib_file libRblas\.dylib:\$\(R_HOME\)/lib\$\(R_ARCH\)/libRblas\.dylib| |" \
"${destroot}${prefix}/lib/R/etc/${build_arch}/Makeconf"
}
+
+livecheck.type regex
+livecheck.url [lindex ${master_sites} 0]
+livecheck.regex >${name}-(\[0-9.\]+)${extract.suffix}<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111105/929702f1/attachment.html>
More information about the macports-changes
mailing list