Ticket #23238: Portfile

File Portfile, 1.3 KB (added by cristiano.fontana@…, 15 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4
5name                iAIDA
6version             1.0.17
7categories          science
8maintainers         gmail.com:cristiano.fontana
9license             LGPLv3
10description         An implementation in C++ of the AIDA Abstract Interfaces for Data Analysis
11long_description    iAIDA is an implementation in C++ of the AIDA Abstract Interfaces for Data Analysis, a set of interfaces designed for data analysis.
12homepage            http://iaida.dynalias.net/
13platforms           darwin
14distfiles           iAIDA-${version}.tgz
15master_sites        sourceforge:iaida
16
17checksums           md5 a352ea32ad61678cda6c94e299f94ca3
18
19depends_lib         port:grace \
20                    port:boost \
21                    port:zlib
22
23patchfiles          patch-configure.diff
24configure.args      --with-grace=${prefix} --with-boost=${prefix}
25
26post-patch {
27    reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/Makefile.in
28    reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/examples/Makefile.in
29    reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/include/Makefile.in
30    reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/src/Makefile.in
31    reinplace "s:@PREFIX_DIR@:${destroot}${prefix}:g" ${worksrcpath}/tests/Makefile.in
32}