Ticket #48991: Portfile-ldas-tools.diff
File Portfile-ldas-tools.diff, 2.0 KB (added by emaros, 9 years ago) |
---|
-
Portfile
old new 4 4 PortGroup compiler_blacklist_versions 1.0 5 5 6 6 name ldas-tools 7 version 2.4. 07 version 2.4.2 8 8 categories science 9 9 platforms darwin 10 10 maintainers ligo.org:ed.maros … … 15 15 homepage http://www.ldas-sw.ligo.caltech.edu 16 16 master_sites http://software.ligo.org/lscsoft/source/ 17 17 18 checksums rmd160 9b250e836b502379ff24124d1bf67e2c3e164feb \ 19 sha256 d49438554a9628ff320e889e55fb3a60a6596c4ab581eb089b4356e9e5e51b86 18 checksums rmd160 54dec09d6d9d3e55c881af7574226f2d640a5e96 \ 19 sha256 17b9514c8aa2092f70f7d8c7315a7d46008a285d47b730ad2d7a8eb2c89e9a36 20 21 patchfiles patch-libraries-ldastoolsal-src-AtExit.cc.diff \ 22 patch-libraries-ldastoolsal-src-TaskThread.cc.diff 20 23 21 24 configure.args --disable-silent-rules \ 22 25 --with-optimization=high \ … … 47 50 # configure.args-append --docdir=${prefix}/share/doc/ldas-tools 48 51 #} 49 52 53 default_variants +python27 54 50 55 #------------------------------------------------------------------------ 51 56 # Python variants 52 57 #------------------------------------------------------------------------ 53 set pythons_ suffixes {27 34}58 set pythons_versions { 27 34 } 54 59 55 60 set pythons_ports {} 56 foreach s ${pythons_ suffixes} {61 foreach s ${pythons_versions} { 57 62 lappend pythons_ports python${s} 58 63 } 59 64 60 foreach s ${pythons_ suffixes} {65 foreach s ${pythons_versions} { 61 66 set p python${s} 62 67 set v [string index ${s} 0].[string index ${s} 1] 63 68 set i [lsearch -exact ${pythons_ports} ${p}] … … 66 71 eval [subst { 67 72 variant ${p} description "Enable SWIG Python interface for Python ${v}" conflicts ${c} { 68 73 74 configure.python "${prefix}/bin/python${v}" 69 75 depends_build-append port:swig-python 70 76 depends_lib-append port:${p} port:py${s}-numpy 71 77 configure.args-strsed s/--disable-python/--enable-python/