Ticket #51623: Portfile-nds2-client.diff
File Portfile-nds2-client.diff, 3.8 KB (added by emaros, 8 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name nds2-client 6 version 0.1 1.67 revision 26 version 0.12.2 7 revision 1 8 8 categories science 9 9 platforms darwin 10 10 license GPL-2 11 maintainers ligo.org:ed.maros openmaintainer11 maintainers ligo.org:ed.maros ram openmaintainer 12 12 13 13 description Network Data Server Client 14 14 long_description \ 15 15 Client tool for accessing streamed LIGO data using the Network \ 16 16 Data Server version 2. 17 17 18 homepage https://w ww.lsc-group.phys.uwm.edu/daswg/projects/nds-client.html19 master_sites http s://www.lsc-group.phys.uwm.edu/daswg/download/software/source/18 homepage https://wiki.ligo.org/DASWG/NDSClient 19 master_sites http://software.ligo.org/lscsoft/source/ 20 20 21 checksums rmd160 ca470079f3d908cb95b379d257374e3b91863034\22 sha256 3abc8ec2ca58fc3184e46b14b81b1b87882b1abe4e739c7c0ae35e1ad77b5f2021 checksums rmd160 3c853077c9bf2508866e603470aadbe1dec09e86 \ 22 sha256 fc67bf36a34c5c8b9d1f422ce2b1442f04bb56b467cbecb8c86391575c4e0787 23 23 24 24 depends_build-append \ 25 25 port:pkgconfig 26 26 27 default_variants +doc +gssapi +swig_ python27 +swig_java27 default_variants +doc +gssapi +swig_java 28 28 29 29 configure.javac /usr/bin/javac -source 1.5 -target 1.5 30 30 configure.args --disable-silent-rules \ … … 35 35 --without-sasl \ 36 36 --without-gssapi 37 37 38 set pythons_suffixes {27 34}38 set pythons_suffixes {27} 39 39 40 40 set pythons_ports {} 41 41 foreach s ${pythons_suffixes} { … … 46 46 47 47 depends_build-append port:docbook-xsl \ 48 48 port:libxslt 49 configure.args-strsed s/--disable-doc/--enable-doc/ 50 49 configure.args-replace --disable-doc --enable-doc 51 50 } 52 51 53 52 foreach s ${pythons_suffixes} { … … 61 60 62 61 depends_build-append port:swig-python 63 62 depends_lib-append port:${p} port:py${s}-numpy 64 configure.args-strsed s/--disable-swig-python/--enable-swig-python/65 63 destroot.args-append pythondir="${d}" pyexecdir="${d}" 66 64 configure.args-replace --disable-swig-python --enable-swig-python 65 configure.python ${prefix}/bin/python${v} 67 66 } 68 67 }] 69 68 } 70 69 70 if {![variant_isset swig_python34]} { 71 default_variants +swig_python27 72 } 73 71 74 variant swig_octave description "Enable SWIG Octave interface" { 72 75 73 76 depends_build-append port:swig-octave 74 configure.args-strsed s/--disable-swig-octave/--enable-swig-octave/ 77 configure.args-replace --disable-swig-octave --enable-swig-octave 78 79 # At least as of Octave 3.2.4, the Octave C++ API does not work with clang. 80 compiler.blacklist-append *clang* 75 81 76 82 } 77 83 … … 80 86 # Need GNU Classpath to get jni.h header 81 87 depends_build-append bin:javac:gcc48 port:swig-java port:gnu-classpath 82 88 depends_lib-append bin:java:kaffe 83 configure.args- strsed s/--disable-swig-java/--enable-swig-java/89 configure.args-replace --disable-swig-java --enable-swig-java 84 90 85 91 } 86 92 87 93 variant sasl description "Use cyrus-sasl2 for authentication" conflicts gssapi { 88 94 89 configure.args- strsed s/--without-sasl/--with-sasl=${prefix}/95 configure.args-replace --without-sasl --with-sasl=${prefix} 90 96 depends_lib-append port:cyrus-sasl2 91 97 92 98 } 93 99 94 100 variant gssapi description "Use kerberos5 gssapi for authentication" conflicts sasl { 95 101 96 configure.args- strsed s/--without-gssapi/--with-gssapi=${prefix}/102 configure.args-replace --without-gssapi --with-gssapi=${prefix} 97 103 depends_lib-append port:kerberos5 98 104 99 105 }