Ticket #44337: R-Portfile.diff
File R-Portfile.diff, 2.3 KB (added by kjellpk (Kjell Konis), 10 years ago) |
---|
-
Portfile
old new 8 8 9 9 set major 3 10 10 set minor 1 11 set point 011 set point 1 12 12 13 13 #Remember to remove revision line when bumping version 14 14 version ${major}.${minor}.${point} 15 revision 116 17 15 18 16 categories math science 19 17 maintainers me.com:kjell.konis … … 34 32 master_sites http://cran.rstudio.com/src/base/R-3/ \ 35 33 http://cran.r-project.org/src/base/R-3/ 36 34 37 checksums rmd160 15d6c762baf36d4e2680599b5e976d0c068b7dbd\38 sha256 8a680390f84c58c01dcdefd682eaa0e90389f09e6d2f2e090c71af40065f5fe235 checksums rmd160 72e5d7a9ec4dc9c960321e7fc8d939cb59d63c31 \ 36 sha256 ce5c4d5e34414ce8f1ec2d5642861435fa1ddc4cd89bd336172bbe25a62c7a19 39 37 40 38 depends_build port:pkgconfig 41 39 … … 88 86 configure.args-append --without-blas --without-lapack 89 87 } 90 88 91 variant cairo requires x11 description {include cairo support in R's x11 graphics device} {89 variant cairo description {use cairo and pango} { 92 90 depends_lib-append path:lib/pkgconfig/cairo.pc:cairo \ 93 91 path:lib/pkgconfig/pango.pc:pango \ 94 92 path:lib/pkgconfig/glib-2.0.pc:glib2 \ 95 93 port:freetype \ 96 94 port:fontconfig \ 97 95 port:gettext 98 require_active_variants path:lib/pkgconfig/cairo.pc:cairo x1199 require_active_variants path:lib/pkgconfig/pango.pc:pango x11100 96 configure.args-delete --without-cairo 101 97 configure.args-append --with-cairo 102 98 } … … 187 183 --x-lib=${prefix}/lib 188 184 } 189 185 190 default_variants + recommended +x11186 default_variants +cairo +recommended +x11 191 187 192 if {[variant_isset x11]} { 193 default_variants-append +cairo 188 if {[variant_isset cairo] && [variant_isset x11]} { 189 require_active_variants path:lib/pkgconfig/cairo.pc:cairo x11 190 require_active_variants path:lib/pkgconfig/pango.pc:pango x11 194 191 } 195 192 196 193 if {![variant_isset accelerate] && ![variant_isset atlas] && ![variant_isset builtin_lapack]} {