Ticket #51771: Portfile-gds.diff
File Portfile-gds.diff, 3.1 KB (added by emaros, 8 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 PortGroup conflicts_build 1.0 5 PortGroup active_variants 1.1 6 PortGroup python 1.0 5 7 6 8 name gds 7 version 2.17.4 8 revision 2 9 version 2.17.7 9 10 categories science 10 11 platforms darwin 11 12 maintainers ligo.org:ed.maros … … 17 18 routines for gravitational wave data analysis. 18 19 19 20 homepage https://www.lsc-group.phys.uwm.edu/daswg/projects/lalsuite.html 20 master_sites http://software.ligo.org/lscsoft/source \ 21 http://www.ligo.caltech.edu/~jzweizig/gds-unshackled 21 master_sites http://software.ligo.org/lscsoft/source/ 22 22 23 checksums rmd160 91951e77886352e3649d13e52c7c4d8b56376f37\24 sha256 7adf49b74c0c380363ffef3249cf8b4edd2b3cce93f29d97640c92e538107c5c23 checksums rmd160 f0adb880b4b7f347e482c724aba7f7302c2af553 \ 24 sha256 ed35be0f76b3efd18322fe5a0c9f5880479dd03e286922642960935c7c8c43e1 25 25 26 26 depends_build-append port:pkgconfig \ 27 27 port:swig \ … … 33 33 port:fftw-3 \ 34 34 port:fftw-3-single \ 35 35 port:hdf5 \ 36 port:jsoncpp \ 36 37 port:ldas-tools \ 37 38 port:root5 \ 38 39 port:metaio 39 40 40 configure.python ${prefix}/bin/python2.7 41 configure.args --enable-online \ 42 --enable-dtt \ 43 --disable-python \ 44 --enable-only-dtt \ 45 --disable-root-objects \ 46 --disable-monitors 41 require_active_variants port:root5 python27 47 42 43 #------------------------------------------------------------------------ 44 # Fix things after PortGroup python 45 #------------------------------------------------------------------------ 46 use_configure yes 48 47 use_parallel_build yes 48 build.cmd make 49 build.target all 50 destroot.cmd ${build.cmd} 51 destroot.target install 52 destroot.destdir DESTDIR=${destroot} 53 destroot.args " " 54 destroot.pre_args ${destroot.target} 55 destroot.post_args ${destroot.destdir} 49 56 50 default_variants +python 51 52 variant python description {build with python support} { 53 configure.args-replace --disable-python --enable-python 54 configure.args-delete --enable-only-dtt 55 56 set pythondir "${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages" 57 58 destroot.args-append \ 59 pythondir="${pythondir}" \ 60 pyexecdir="${pythondir}" \ 61 pkgpythondir="${pythondir}/${name}" \ 62 pkgpyexecdir="${pythondir}/${name}" 63 } 57 configure.python ${prefix}/bin/python2.7 58 configure.args --enable-online \ 59 --enable-dtt \ 60 --enable-python \ 61 --enable-root-objects \ 62 --with-jsoncpp=${prefix} 63 64 destroot.args-append \ 65 pythondir="${python.pkgd}" \ 66 pyexecdir="${python.pkgd}" \ 67 pkgpythondir="${python.pkgd}/${name}" \ 68 pkgpyexecdir="${python.pkgd}/${name}" 64 69 70 # 65 71 # The macports version of sasl2 leads to a 5 minute latency for each 66 72 # socket connection. 67 73 conflicts_build cyrus-sasl2