From b166c545b2f89da94d9072127658d407b1df90ca Mon Sep 17 00:00:00 2001
From: "ed.maros" <ed.maros@ligo.org>
Date: Tue, 1 Nov 2016 17:10:16 -0700
Subject: [PATCH] Updated to source distribution 2.5.1
---
science/ldas-tools-utilities/Portfile | 53 ++++++-----------------------------
1 file changed, 9 insertions(+), 44 deletions(-)
diff --git a/science/ldas-tools-utilities/Portfile b/science/ldas-tools-utilities/Portfile
index 0a8b928..2115bac 100644
a
|
b
|
|
1 | | # $Id$ |
| 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup compiler_blacklist_versions 1.0 |
5 | 5 | |
6 | 6 | name ldas-tools-utilities |
7 | | version 2.5.0 |
| 7 | version 2.5.1 |
8 | 8 | categories science |
9 | 9 | platforms darwin |
10 | 10 | maintainers ligo.org:ed.maros |
… |
… |
long_description ${description} |
15 | 15 | homepage https://wiki.ligo.org/DASWG/LDASTools |
16 | 16 | master_sites http://software.ligo.org/lscsoft/source/ |
17 | 17 | |
18 | | checksums rmd160 963611ade9082e5b32bbce4979f011e4f88beb70 \ |
19 | | sha256 34ef792dfa5ca32c333d350d9afeb6021ae0a67682842801f049efd96eaf9739 |
| 18 | checksums rmd160 e81be56d8d8e079ded4547f0dbe6bafe1cecac93 \ |
| 19 | sha256 cd19fcb17927173133d81777aa598c928f2854c998e82653fbc4922e72df771d |
20 | 20 | |
21 | | depends_lib port:ldas-tools-al \ |
22 | | port:ldas-tools-frameAPI \ |
| 21 | depends_lib port:ldas-tools-frameAPI \ |
23 | 22 | port:ldas-tools-diskcacheAPI |
24 | 23 | |
25 | | configure.args --disable-silent-rules \ |
| 24 | configure.args --disable-warnings-as-errors \ |
| 25 | --disable-silent-rules \ |
26 | 26 | --with-optimization=high \ |
27 | 27 | --disable-tcl \ |
28 | 28 | --disable-python \ |
… |
… |
configure.args --disable-silent-rules \ |
30 | 30 | --without-dot \ |
31 | 31 | --disable-latex |
32 | 32 | |
33 | | if {${os.major} < 13} { |
| 33 | if {${configure.cxx_stdlib} eq "libstdc++" } { |
34 | 34 | configure.args-append --disable-cxx11 |
35 | 35 | } |
36 | 36 | |
… |
… |
compiler.blacklist-append {clang < 500.2.75} llvm-gcc-4.2 gcc-4.2 |
39 | 39 | |
40 | 40 | use_parallel_build yes |
41 | 41 | |
42 | | #variant docs description {build documentation} { |
43 | | # configure.args-delete --disable-latex \ |
44 | | # --disable-dot \ |
45 | | # --disable-ldas-documentation \ |
46 | | # configure.args-append --docdir=${prefix}/share/doc/ldas-tools |
47 | | #} |
48 | | |
49 | | #------------------------------------------------------------------------ |
50 | | # Python variants |
51 | | #------------------------------------------------------------------------ |
52 | | set pythons_suffixes {27 34} |
53 | | |
54 | | set pythons_ports {} |
55 | | foreach s ${pythons_suffixes} { |
56 | | lappend pythons_ports python${s} |
57 | | } |
58 | | |
59 | | foreach s ${pythons_suffixes} { |
60 | | set p python${s} |
61 | | set v [string index ${s} 0].[string index ${s} 1] |
62 | | set i [lsearch -exact ${pythons_ports} ${p}] |
63 | | set c [lreplace ${pythons_ports} ${i} ${i}] |
64 | | set d ${frameworks_dir}/Python.framework/Versions/${v}/lib/python${v} |
65 | | eval [subst { |
66 | | variant ${p} description "Enable SWIG Python interface for Python ${v}" conflicts ${c} { |
67 | | |
68 | | depends_build-append port:swig-python |
69 | | depends_lib-append port:${p} port:py${s}-numpy |
70 | | configure.args-strsed s/--disable-python/--enable-python/ |
71 | | destroot.args-append pythondir="${d}" pyexecdir="${d}" |
72 | | |
73 | | } |
74 | | }] |
75 | | } |
76 | | |
77 | 42 | livecheck.type regex |
78 | 43 | livecheck.url ${master_sites} |
79 | | livecheck.regex {ldas-tools-filters-(\d+(?:\.\d+)*).tar.gz} |
| 44 | livecheck.regex {ldas-tools-utilities-(\d+(?:\.\d+)*).tar.gz} |