# $Id$ PortSystem 1.0 name iAIDA version 1.0.17 categories science maintainers pd.infn.it:cristiano.fontana license LGPLv3 description An implementation in C++ of the AIDA Abstract Interfaces for Data Analysis long_description iAIDA is an implementation in C++ of the AIDA Abstract Interfaces for Data Analysis, a set of interfaces designed for data analysis. homepage http://iaida.dynalias.net/ platforms darwin extract.suffix .tgz master_sites sourceforge:iaida checksums md5 a352ea32ad61678cda6c94e299f94ca3 depends_lib port:aida \ port:grace \ port:boost \ port:zlib patchfiles patch-configure.diff configure.args --with-grace=${prefix} --with-boost=${prefix} --with-aida=${prefix}/include post-patch { reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/Makefile.in reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/examples/Makefile.in reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/include/Makefile.in reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/src/Makefile.in reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/tests/Makefile.in } post-build { system "cd ${worksrcpath}/examples && make" system "cd ${worksrcpath}/tests && make" 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" { reinplace "s:../bin/aida-config:aida-config:g" ${file} } foreach file "${worksrcpath}/tests/runTests.py ${worksrcpath}/tests/runTests.py.in" { reinplace "s:logFile = entry+'.log':logFile = '/tmp/'+entry+'.log':g" ${file} } } post-destroot { xinstall -d ${destroot}/${prefix}/share/iAIDA/ file copy ${worksrcpath}/examples ${destroot}/${prefix}/share/iAIDA/ file copy ${worksrcpath}/tests ${destroot}/${prefix}/share/iAIDA/ file copy ${worksrcpath}/src ${destroot}/${prefix}/src/ file rename ${destroot}/${prefix}/src/src ${destroot}/${prefix}/src/iAIDA }