Ticket #47971: Portfile

File Portfile, 2.7 KB (added by emaros, 9 years ago)

Used different patch

Line 
1# $Id$
2
3PortSystem    1.0
4PortGroup     conflicts_build 1.0
5
6name          gds
7version       2.17.1
8categories    science
9platforms     darwin
10maintainers   ligo.org:ed.maros ram
11license       GPL
12
13description   LSC Algorithm Library
14long_description \
15  LIGO Scientific Collaboration Algorithm Library containing core \
16  routines for gravitational wave data analysis.
17
18homepage      https://www.lsc-group.phys.uwm.edu/daswg/projects/lalsuite.html
19master_sites  http://software.ligo.org/lscsoft/source \
20              http://www.ligo.caltech.edu/~jzweizig/gds-unshackled
21
22checksums     ${distname}${extract.suffix} \
23              rmd160 3ccb950d57415b2384291743e55df90bb8d504b0 \
24              sha256 aeb914eaf9b9f7bc2f14811cddfa1e708823255c950c380d88139ccff5d91653 \
25              patch-configure.diff \
26              rmd160  7ec5dce04c8d4dc7d23e7f3ab6d57b8391f39fdd \
27              sha256  798e4c52f4b2b7a830222bf3b0f405070b40329b63fa21874d7d05a0b0a7d28c \
28              patch-DTT-dtt-Makefile.in.diff \
29              rmd160 a1ac29fa3201022d6ad4687e2895c579b5af2d20 \
30              sha256 9020112773ac7b7c06d5c6cd7527c7b0a9e7bfe4e54e4a6df60ab514847c0a5e \
31              patch-DTT-src-awg-awgbase.py.in.diff \
32              rmd160 9990e3bc008e1ab18bcec660b6a96bd838c89093 \
33              sha256 54a78b60f5fa2129939565b058265dd1837583f5939259449c811a2c55bd6046
34
35depends_build-append port:pkgconfig \
36              port:swig \
37              port:swig-python
38
39depends_lib   port:python27 \
40              port:curl \
41              port:expat \
42              port:fftw-3 \
43              port:fftw-3-single \
44              port:hdf5 \
45              port:ldas-tools \
46              port:root5 \
47              port:metaio
48
49patchfiles    patch-configure.diff \
50              patch-DTT-dtt-Makefile.in.diff \
51              patch-DTT-src-awg-awgbase.py.in.diff
52
53configure.python ${prefix}/bin/python2.7
54configure.args --enable-online \
55               --enable-dtt \
56               --disable-python \
57               --enable-only-dtt \
58               --disable-root-objects \
59               --disable-monitors
60
61use_parallel_build yes
62
63default_variants    +python
64
65variant python description {build with python support} {
66  configure.args-replace --disable-python --enable-python
67  configure.args-delete  --enable-only-dtt
68
69  set pythondir "${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages"
70
71  destroot.args-append \
72              pythondir="${pythondir}" \
73              pyexecdir="${pythondir}" \
74              pkgpythondir="${pythondir}/${name}" \
75              pkgpyexecdir="${pythondir}/${name}"
76}
77
78#
79# The macports version of sasl2 leads to a 5 minute latency for each
80# socket connection.
81conflicts_build  cyrus-sasl2
82
83livecheck.type   regex
84livecheck.url    ${master_sites}
85livecheck.regex  {gds-(\d+(?:\.\d+)*).tar.gz}