Ticket #21480: Portfile

File Portfile, 1.3 KB (added by dechaume@…, 15 years ago)
Line 
1# $Id$
2
3PortSystem 1.0
4
5name                cgnslib
6version             2.5.4
7set version_major   2.5
8set version_minor   4
9categories          science
10maintainers         cerfacs.fr:dechaume
11
12description         Computational fluid dynamics data container.
13long_description    The CFD General Notation System (CGNS) provides a general, \
14portable, and extensible standard for the storage and retrieval of \
15computational fluid dynamics (CFD) analysis data. It consists of a collection \
16of conventions, and free and open software implementing those conventions. It \
17is self-descriptive, machine-independent, well-documented, and administered by \
18an international steering committee.
19
20homepage            http://cgns.sourceforge.net/
21platforms           darwin
22distname            ${name}_${version_major}-${version_minor}
23master_sites        sourceforge:cgns
24
25checksums           md5 42063efdf726c81300a51c3495d3224e \
26                    sha1 d5f99f6df7409d923d8703fc3732b13bd1d89b20
27
28worksrcdir          ${name}_${version_major}
29
30# for DESTDIR
31patchfiles          patch-Makefile.in.diff
32
33configure.args-append --enable-lfs
34
35# cgns tools
36post-build {
37        system "cd ${worksrcpath}/tools && make"
38}
39post-destroot {
40        foreach bin {cgnsversion cgnspack cgnsdiff cgnscheck cgnslist} {
41          xinstall -m 755 ${worksrcpath}/tools/${bin} ${destroot}${prefix}/bin
42  }
43}