Ticket #48133: Portfile.diff
File Portfile.diff, 4.6 KB (added by adfernandes (Andrew Fernandes), 9 years ago) |
---|
-
Portfile
7 7 name R 8 8 9 9 set major 3 10 set minor 111 set point 210 set minor 2 11 set point 1 12 12 13 13 #Remember to remove revision line when bumping version 14 14 version ${major}.${minor}.${point} … … 33 33 master_sites http://cran.rstudio.com/src/base/R-3/ \ 34 34 http://cran.r-project.org/src/base/R-3/ 35 35 36 checksums rmd160 b2aaa42daac1ae5d114995de514d211d78a4e0a6\37 sha256 bcd150afcae0e02f6efb5f35a6ab72432be82e849ec52ce0bb89d8c342a8fa7a36 checksums rmd160 dea095b5c7b32189b6768d5949243bd869564e9f \ 37 sha256 d59dbc3f04f4604a5cf0fb210b8ea703ef2438b3ee65fd5ab536ec5234f4c982 38 38 39 39 depends_build port:pkgconfig 40 40 41 41 depends_lib port:readline \ 42 42 port:icu \ 43 port:libiconv 43 port:libiconv \ 44 port:zlib 44 45 45 46 universal_variant no 46 47 … … 52 53 53 54 configure.pre_args --prefix=${frameworks_dir} 54 55 55 configure.args --enable- R-framework\56 configure.args --enable-memory-profiling \ 56 57 --enable-R-shlib \ 57 58 --enable-BLAS-shlib \ 58 --disable-openmp \59 --with-readline \60 --with-aqua \61 59 --without-tcltk \ 62 60 --without-cairo \ 63 --with- libpng\64 --without- jpeglib\61 --with-system-zlib \ 62 --without-internal-tzcode \ 65 63 --without-recommended-packages \ 66 --with-ICU \67 64 --without-x \ 68 65 --with-included-gettext \ 69 --without- internal-tzcode66 --without-system-xz #bug introduced in R-3.2.0, doesn't link to system copy, put port:xz back too 70 67 68 if {${os.major} < 13} { 69 configure.args-append --disable-openmp 70 } 71 71 72 platform darwin 13 { 72 73 configure.cflags-append -flax-vector-conversions 73 74 } 74 75 75 variant accelerate conflicts builtin_lapack description {build using the BLAS and Lapack in Apple's Accelerate framework} { 76 configure.args-append --with-blas="-framework Accelerate" \ 77 --with-lapack="-framework Accelerate" 76 variant accelerate conflicts atlas builtin_lapack description {build using the BLAS and Lapack in Apple's Accelerate framework} { 77 configure.args-append --with-blas="-framework Accelerate" --with-lapack 78 78 } 79 79 80 80 variant atlas conflicts accelerate builtin_lapack description {build using the BLAS in the atlas port} { … … 83 83 #See A.3.2 in R Installation and Administration for why atlas LAPACK not used 84 84 } 85 85 86 variant builtin_lapack conflicts accelerate description {build using reference BLAS and Lapack} {86 variant builtin_lapack conflicts accelerate atlas description {build using reference BLAS and Lapack} { 87 87 configure.args-append --without-blas --without-lapack 88 88 } 89 89 … … 93 93 path:lib/pkgconfig/glib-2.0.pc:glib2 \ 94 94 port:freetype \ 95 95 port:fontconfig \ 96 port:gettext 96 port:gettext \ 97 port:libpng \ 98 port:tiff \ 99 port:jpeg 97 100 configure.args-delete --without-cairo 98 101 configure.args-append --with-cairo 99 102 } … … 174 177 port:xorg-libXt \ 175 178 port:tiff \ 176 179 port:jpeg \ 177 port:libpng \ 178 port:zlib 180 port:libpng 179 181 configure.args-delete --without-x \ 180 182 --without-jpeglib 181 183 configure.args-append --with-x \ … … 192 194 } 193 195 194 196 if {![variant_isset accelerate] && ![variant_isset atlas] && ![variant_isset builtin_lapack]} { 195 default_variants-append + accelerate197 default_variants-append +builtin_lapack 196 198 } 197 199 198 200 test.run yes … … 249 251 livecheck.type regex 250 252 livecheck.url [lindex ${master_sites} 0] 251 253 livecheck.regex >${name}-(\[0-9.\]+)${extract.suffix}< 254 255 256