Ticket #47967: Portfile-ldas-tools.diff
File Portfile-ldas-tools.diff, 2.7 KB (added by emaros, 9 years ago) |
---|
-
Portfile
old new 1 # $Id: Portfile 12 8362 2014-11-19 22:04:56Z ram@macports.org $1 # $Id: Portfile 126610 2014-10-12 20:22:46Z ram@macports.org $ 2 2 3 3 PortSystem 1.0 4 4 PortGroup compiler_blacklist_versions 1.0 5 5 6 6 name ldas-tools 7 version 2. 1.17 version 2.3.3 8 8 categories science 9 9 platforms darwin 10 maintainers ramligo.org:ed.maros10 maintainers ligo.org:ed.maros 11 11 12 12 description Suite of LDAS tools 13 13 long_description ${description} … … 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 0b1f3b505c0628c9314d59171497af9d2f42fee5\19 sha256 a cf33ca309a1e687b234aca69606a2efb752c45d6ddbad6b8b3161e211b8272e18 checksums rmd160 e4de880d6232bb913ea3eb8c447dc6eeb4601d73 \ 19 sha256 ae9ecef771389d8bfcb30a246d44df814c3dfb8f0d191a470bce7e1bc7c8686b 20 20 21 21 configure.args --disable-silent-rules \ 22 22 --with-optimization=high \ … … 24 24 --disable-python \ 25 25 --without-doxygen \ 26 26 --without-dot \ 27 --disable-perl \ 28 --disable-latex \ 29 --disable-ldas-documentation 27 --disable-latex 28 29 if {${os.major} < 13} { 30 configure.args-append --disable-cxx11 31 } 30 32 31 33 depends_lib port:openssl \ 32 34 port:zlib \ … … 45 47 # configure.args-append --docdir=${prefix}/share/doc/ldas-tools 46 48 #} 47 49 50 #------------------------------------------------------------------------ 51 # Python varients 52 #------------------------------------------------------------------------ 53 set pythons_suffixes {27 34} 54 55 set pythons_ports {} 56 foreach s ${pythons_suffixes} { 57 lappend pythons_ports python${s} 58 } 59 60 foreach s ${pythons_suffixes} { 61 set p python${s} 62 set v [string index ${s} 0].[string index ${s} 1] 63 set i [lsearch -exact ${pythons_ports} ${p}] 64 set c [lreplace ${pythons_ports} ${i} ${i}] 65 set d ${frameworks_dir}/Python.framework/Versions/${v}/lib/python${v} 66 eval [subst { 67 variant ${p} description "Enable SWIG Python interface for Python ${v}" conflicts ${c} { 68 69 depends_build-append port:swig-python 70 depends_lib-append port:${p} port:py${s}-numpy 71 configure.args-strsed s/--disable-python/--enable-python/ 72 destroot.args-append pythondir="${d}" pyexecdir="${d}" 73 74 } 75 }] 76 } 77 48 78 livecheck.type regex 49 79 livecheck.url ${master_sites} 50 80 livecheck.regex {ldas-tools-(\d+(?:\.\d+)*).tar.gz}