Ticket #39675: iAIDA.1.1.1.Portfile

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

Preliminary Portfile for iAIDA 1.1.1

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
7# there are still some open questions wrt. directory structure
8# probably the best move is to switch to gitbuh after a while
9# and stick to the official site for now
10PortGroup           github 1.0
11github.setup        apfeiffer1 iAIDA 4b4bbf3d8e
12
13name                iAIDA
14version             1.1.1
15categories          science
16maintainers         mojca gmail.com:apfeiffer1 openmaintainer
17license             LGPL-3
18description         An implementation in C++ of the AIDA Abstract Interfaces for Data Analysis
19long_description    iAIDA is an implementation in C++ of the AIDA Abstract Interfaces for Data Analysis, a set of interfaces designed for data analysis.
20homepage            http://iaida.dynalias.net/
21platforms           darwin
22# extract.suffix      .tgz
23# master_sites        http://iaida.dynalias.net/downloads/
24# master_sites        sourceforge:iaida
25
26checksums           rmd160  8793b66317c5af9de768a071d890017fc2c49749 \
27                    sha256  2d55d0601a3298d7c9e9ef4c972d00074a01c1b64936c12bc9c578a8c805c67e
28
29depends_lib         port:aida \
30                    port:grace \
31                    port:boost \
32                    port:root \
33                    port:openssl \
34                    port:expat \
35                    port:zlib
36
37configure.dir       ${workpath}/build
38build.dir           ${configure.dir}
39
40post-extract {
41    file mkdir ${configure.dir}
42}
43
44configure.post_args ${worksrcpath}/${name}
45
46# There is a chance that the author implements this in CMake, so let's wait a bit:
47#
48# post-build {
49#     system "cd ${worksrcpath}/examples && make ${build.args}"
50#     system "cd ${worksrcpath}/tests && make ${build.args}"
51#
52#     foreach f {tests/runTests.py tests/runTests.py.in} {
53#         reinplace "s:logFile = entry+'.log':logFile = '/tmp/'+entry+'.log':g" ${worksrcpath}/${f}
54#     }
55# }
56#
57# post-destroot {
58#     xinstall -d ${destroot}${prefix}/share/${name}
59#     file copy ${worksrcpath}/examples ${worksrcpath}/tests ${destroot}${prefix}/share/${name}
60#
61#     file copy ${worksrcpath}/src ${destroot}${prefix}/src/${name}
62# }