# $Id$ PortSystem 1.0 name iAIDA version 1.0.22 categories science maintainers pd.infn.it:cristiano.fontana license LGPL-3 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 rmd160 fc7b97410ca75c11ed43a350b3e6c2e124ecbe8d \ sha256 6c1e55a141dbc431252174eb897114201859ce01f5aebb3f83984561dbb3cb61 depends_lib port:aida \ port:grace \ port:boost \ port:root \ port:openssl \ port:expat \ port:zlib universal_variant no post-patch { reinplace "s:-install_name @PREFIX_DIR@/lib/:-install_name ${prefix}/lib/:g" ${worksrcpath}/src/Makefile.in foreach d {"" /examples /include /src /tests} { reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}${d}/Makefile.in } } configure.args --with-grace=${prefix} \ --with-boost=${prefix} \ --with-aida=${prefix}/include build.args CXX=${configure.cxx} post-build { system "cd ${worksrcpath}/examples && make ${build.args}" system "cd ${worksrcpath}/tests && make ${build.args}" foreach f {examples/Makefile examples/Makefile.in tests/Makefile tests/Makefile.in tests/runTests.py tests/runTests.py.in} { reinplace "s:../bin/aida-config:aida-config:g" ${worksrcpath}/${f} } foreach f {tests/runTests.py tests/runTests.py.in} { reinplace "s:logFile = entry+'.log':logFile = '/tmp/'+entry+'.log':g" ${worksrcpath}/${f} } } post-destroot { xinstall -d ${destroot}${prefix}/share/${name} file copy ${worksrcpath}/examples ${worksrcpath}/tests ${destroot}${prefix}/share/${name} file copy ${worksrcpath}/src ${destroot}${prefix}/src/${name} }