Ticket #31471: root.diff
File root.diff, 8.1 KB (added by cjones051073 (Chris Jones), 13 years ago) |
---|
-
Portfile
old new 5 5 6 6 name root 7 7 version 5.30.02 8 revision 08 revision 1 9 9 categories science 10 10 maintainers gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc 11 11 license LGPL-2.1+ … … 31 31 port:xorg-libX11 \ 32 32 port:xpm \ 33 33 port:zlib \ 34 port:gsl \35 34 path:bin/dot:graphviz \ 36 35 port:jpeg \ 37 36 port:libpng \ 38 port:tiff 37 port:giflib \ 38 port:tiff \ 39 port:gmp 39 40 40 41 patchfiles patch-configure.diff 41 42 … … 53 54 --with-cxx=${configure.cxx} \ 54 55 --with-ld=${configure.cxx} \ 55 56 --with-f77=${configure.f77} 56 57 57 # the build type (32 or 64 bit) -must- be for first argument 58 58 if {${build_arch} == "i386" || ${build_arch} == "ppc"} { 59 59 configure.pre_args macosx --prefix=${prefix} … … 67 67 --testdir=${prefix}/share/root/test \ 68 68 --tutdir=${prefix}/share/root/tutorials \ 69 69 --etcdir=${prefix}/etc/root \ 70 --disable-builtin-afterimage \71 70 --disable-builtin-freetype \ 72 71 --disable-builtin-glew \ 73 --disable-builtin-ftgl \74 72 --disable-builtin-pcre \ 75 73 --disable-builtin-zlib \ 74 --disable-builtin-lzma \ 76 75 --disable-fftw3 \ 77 76 --disable-krb5 \ 78 77 --disable-ldap \ … … 86 85 --disable-ssl \ 87 86 --disable-xml \ 88 87 --disable-python \ 88 --disable-fitsio \ 89 --disable-gsl-shared \ 90 --disable-clarens \ 91 --disable-pgsql \ 92 --disable-dcache \ 93 --disable-chirp \ 94 --disable-hdfs \ 95 --disable-ruby \ 89 96 --with-x11-libdir=${prefix}/lib \ 90 --with-xpm-libdir=${prefix}/lib 97 --with-xpm-libdir=${prefix}/lib \ 98 --enable-builtin-ftgl 91 99 92 100 pre-build { 93 101 build.args CC=${configure.cc} \ … … 97 105 98 106 universal_variant no 99 107 100 default_variants +ssl + builtin_ftgl +roofit +xml +opengl108 default_variants +ssl +roofit +xml +opengl +gsl 101 109 102 110 variant fftw3 description {Builds port with fftw3 support} { 103 111 configure.args-delete --disable-fftw3 … … 107 115 depends_lib-append port:fftw-3 108 116 } 109 117 110 # Build issues. Under discussion with ROOT team. 111 # variant kerberos5 description {Builds port with kerberos5 support} { 112 # configure.args-delete --disable-krb5 113 # configure.args-append --enable-krb5 \ 114 # --with-krb5-incdir="${prefix}/include" \ 115 # --with-krb5-libdir="${prefix}/lib" 116 # depends_lib-append port:kerberos5 117 # } 118 variant clarens description {Builds port with clarens support} { 119 configure.args-delete --disable-clarens 120 configure.args-append --enable-clarens 121 depends_lib-append port:xmlrpc-c 122 } 123 124 variant gsl description {Builds port with gsl support} { 125 configure.args-delete --disable-gsl-shared 126 configure.args-append --enable-gsl-shared \ 127 --with-gsl-incdir="${prefix}/include" \ 128 --with-gsl-libdir="${prefix}/lib" 129 depends_lib-append port:gsl 130 } 131 132 variant fitsio description {Builds port with fitsio support} { 133 configure.args-delete --disable-fitsio 134 configure.args-append --enable-fitsio \ 135 --with-cfitsio-incdir="${prefix}/include" \ 136 --with-cfitsio-libdir="${prefix}/lib" 137 depends_lib-append port:cfitsio 138 } 118 139 119 140 variant odbc description {Builds port with odbc support} { 120 141 configure.args-delete --disable-odbc 121 configure.args-append --enable-odbc \142 configure.args-append --enable-odbc \ 122 143 --with-odbc-incdir="${prefix}/include" \ 123 144 --with-odbc-libdir="${prefix}/lib" 124 depends_lib-append port: unixODBC145 depends_lib-append port:libiodbc 125 146 } 126 147 127 148 variant ldap description {Builds port with ldap support} { 128 149 configure.args-delete --disable-ldap 129 configure.args-append --enable-ldap \150 configure.args-append --enable-ldap \ 130 151 --with-ldap-incdir="${prefix}/include" \ 131 152 --with-ldap-libdir="${prefix}/lib" 132 153 depends_lib-append port:openldap … … 144 165 --with-opengl-libdir="${prefix}/lib" \ 145 166 --with-glew-incdir="${prefix}/include" \ 146 167 --with-glew-libdir="${prefix}/lib" 147 depends_lib-append port:glew 168 depends_lib-append port:glew port:mesa 148 169 } 149 170 150 171 variant python26 conflicts python31 python27 description {Builds port with python 2.6 support} { … … 195 216 depends_lib-append port:openssl 196 217 } 197 218 198 variant builtin_ftgl description {Builds port with builtin-ftgl support} {199 configure.args-delete --disable-builtin-ftgl200 configure.args-append --enable-builtin-ftgl201 }202 203 variant ftgl description {Builds port with ftgl support} {204 configure.args-append --with-ftgl-incdir="${prefix}/include" \205 --with-ftgl-libdir="${prefix}/lib"206 depends_lib-append port:ftgl207 }208 209 219 variant xml description {Builds port with xml support} { 210 220 configure.args-delete --disable-xml 211 221 configure.args-append --enable-xml \ … … 264 274 variant mysql description {Builds port with mysql support} { 265 275 configure.args-delete --disable-mysql 266 276 configure.args-append --enable-mysql \ 267 --with-mysql-incdir="${prefix}/include /" \277 --with-mysql-incdir="${prefix}/include" \ 268 278 --with-mysql-libdir="${prefix}/lib" 269 279 depends_lib-append port:mysql5 270 280 } 271 281 272 variant pythia description {Pythia support for root} { 282 variant pgsql description {Builds port with PostgreSQL support} { 283 configure.args-delete --disable-pgsql 284 configure.args-append --enable-pgsql \ 285 --with-pgsql-incdir="${prefix}/include/postgresql90" \ 286 --with-pgsql-libdir="${prefix}/lib/postgresql90" 287 depends_lib-append port:libpqxx port:postgresql90 288 } 289 290 variant pythia description {Pythia 8 support for root} { 273 291 configure.args-delete --disable-pythia8 274 292 configure.args-append --enable-pythia8 \ 275 293 --with-pythia8-incdir=${prefix}/include \ … … 287 305 depends_lib-append port:gcc45 288 306 } 289 307 308 # Build issues 290 309 #variant gcc46 conflicts gcc44 gcc45 description {Compile using MacPorts gcc 4.6} { 291 310 # configure.compiler macports-gcc-4.6 292 311 # depends_lib-append port:gcc46 293 312 #} 294 313 314 # Build issues. 315 # variant kerberos5 description {Builds port with kerberos5 support} { 316 # configure.args-delete --disable-krb5 317 # configure.args-append --enable-krb5 \ 318 # --with-krb5-incdir="${prefix}/include" \ 319 # --with-krb5-libdir="${prefix}/lib" 320 # depends_lib-append port:kerberos5 321 # } 322 323 # Build issues. 324 # variant ftgl description {Builds port with ftgl support} { 325 # configure.args-delete --enable-builtin-ftgl 326 # configure.args-append --disable-builtin-ftgl \ 327 # configure.args-append --with-ftgl-incdir="${prefix}/include" \ 328 # --with-ftgl-libdir="${prefix}/lib" 329 # depends_lib-append port:ftgl 330 # } 331 295 332 livecheck.type regex 296 333 livecheck.url [lindex ${master_sites} 0] 297 334 livecheck.regex ${name}_v(\[0-9a-z.\]+)\\.source