1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name iAIDA |
---|
6 | version 1.0.17 |
---|
7 | categories science |
---|
8 | maintainers pd.infn.it:cristiano.fontana |
---|
9 | license LGPLv3 |
---|
10 | description An implementation in C++ of the AIDA Abstract Interfaces for Data Analysis |
---|
11 | long_description iAIDA is an implementation in C++ of the AIDA Abstract Interfaces for Data Analysis, a set of interfaces designed for data analysis. |
---|
12 | homepage http://iaida.dynalias.net/ |
---|
13 | platforms darwin |
---|
14 | extract.suffix .tgz |
---|
15 | master_sites sourceforge:iaida |
---|
16 | |
---|
17 | checksums md5 a352ea32ad61678cda6c94e299f94ca3 |
---|
18 | |
---|
19 | depends_lib port:aida \ |
---|
20 | port:grace \ |
---|
21 | port:boost \ |
---|
22 | port:zlib |
---|
23 | |
---|
24 | patchfiles patch-configure.diff |
---|
25 | configure.args --with-grace=${prefix} --with-boost=${prefix} --with-aida=${prefix}/include |
---|
26 | |
---|
27 | post-patch { |
---|
28 | reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/Makefile.in |
---|
29 | reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/examples/Makefile.in |
---|
30 | reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/include/Makefile.in |
---|
31 | reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/src/Makefile.in |
---|
32 | reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/tests/Makefile.in |
---|
33 | } |
---|
34 | |
---|
35 | post-build { |
---|
36 | system "cd ${worksrcpath}/examples && make" |
---|
37 | system "cd ${worksrcpath}/tests && make" |
---|
38 | |
---|
39 | foreach file "${worksrcpath}/examples/Makefile ${worksrcpath}/examples/Makefile.in ${worksrcpath}/tests/Makefile ${worksrcpath}/tests/Makefile.in ${worksrcpath}/tests/runTests.py ${worksrcpath}/tests/runTests.py.in" { |
---|
40 | reinplace "s:../bin/aida-config:aida-config:g" ${file} |
---|
41 | } |
---|
42 | |
---|
43 | foreach file "${worksrcpath}/tests/runTests.py ${worksrcpath}/tests/runTests.py.in" { |
---|
44 | reinplace "s:logFile = entry+'.log':logFile = '/tmp/'+entry+'.log':g" ${file} |
---|
45 | } |
---|
46 | } |
---|
47 | |
---|
48 | post-destroot { |
---|
49 | xinstall -d ${destroot}/${prefix}/share/iAIDA/ |
---|
50 | |
---|
51 | file copy ${worksrcpath}/examples ${destroot}/${prefix}/share/iAIDA/ |
---|
52 | file copy ${worksrcpath}/tests ${destroot}/${prefix}/share/iAIDA/ |
---|
53 | |
---|
54 | file copy ${worksrcpath}/src ${destroot}/${prefix}/src/ |
---|
55 | file rename ${destroot}/${prefix}/src/src ${destroot}/${prefix}/src/iAIDA |
---|
56 | } |
---|