Ticket #39675: iAIDA.1.1.0.Portfile

File iAIDA.1.1.0.Portfile, 2.2 KB (added by mojca (Mojca Miklavec), 11 years ago)

Portfile fo iAIDA 1.1.0 - builds, but doesn't destroot

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 96870 2012-08-20 19:18:44Z macsforever2000@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                iAIDA
8version             1.1.0
9categories          science
10maintainers         mojca openmaintainer
11license             LGPL-3
12description         An implementation in C++ of the AIDA Abstract Interfaces for Data Analysis
13long_description    iAIDA is an implementation in C++ of the AIDA Abstract Interfaces for Data Analysis, a set of interfaces designed for data analysis.
14homepage            http://iaida.dynalias.net/
15platforms           darwin
16extract.suffix      .tgz
17# master_sites        sourceforge:iaida
18master_sites        http://iaida.dynalias.net/downloads/
19
20checksums           rmd160  d54a0efd61c12f1310c6aaca6cdf15f2f4f2f093 \
21                    sha256  a5ba6dda227b9f0aa5787d55c8fae530d4a1e27207e4b01e9b9ab5fbdd6052c5
22
23depends_lib         port:aida \
24                    port:grace \
25                    port:boost \
26                    port:root \
27                    port:openssl \
28                    port:expat \
29                    port:zlib
30
31# universal_variant   no
32
33configure.dir       ${workpath}/build
34build.dir           ${configure.dir}
35
36post-extract {
37    file mkdir ${configure.dir}
38}
39
40configure.post_args ${worksrcpath}
41
42# post-build {
43#     system "cd ${worksrcpath}/examples && make ${build.args}"
44#     system "cd ${worksrcpath}/tests && make ${build.args}"
45#
46#     foreach f {examples/Makefile examples/Makefile.in tests/Makefile tests/Makefile.in tests/runTests.py tests/runTests.py.in} {
47#         reinplace "s:../bin/aida-config:aida-config:g" ${worksrcpath}/${f}
48#     }
49#
50#     foreach f {tests/runTests.py tests/runTests.py.in} {
51#         reinplace "s:logFile = entry+'.log':logFile = '/tmp/'+entry+'.log':g" ${worksrcpath}/${f}
52#     }
53# }
54#
55# post-destroot {
56#     xinstall -d ${destroot}${prefix}/share/${name}
57#     file copy ${worksrcpath}/examples ${worksrcpath}/tests ${destroot}${prefix}/share/${name}
58#
59#     file copy ${worksrcpath}/src ${destroot}${prefix}/src/${name}
60# }