Ticket #40457: Portfile-neuron-iv.3

File Portfile-neuron-iv.3, 1.6 KB (added by neurodroid (Christoph Schmidt-Hieber), 10 years ago)

Portfile for the NEURON graphics toolkit (based on InterViews)

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$
3
4PortSystem          1.0
5
6name                neuron-iv
7version             18
8categories          science
9platforms           darwin
10license             {SGI Stanford}
11maintainers         gmx.de:christsc
12description         Graphics toolkit for NEURON based on InterViews
13long_description    This version of interviews has been hacked from the original \
14                    distribution to be portable to a few more platforms, and to use an \
15                    autoconfigure script.
16homepage            http://www.neuron.yale.edu
17master_sites        http://www.stimfit.org/neuron/
18distname            iv-${version}
19
20checksums           rmd160  542f86e95e7bfb25e871fea182d71dbc4e977a76 \
21                    sha256  a875692a20211e0856e9e283ab9ef5da022b4d49853aa7f2f734104f399e7af1
22
23depends_lib         port:xorg-libX11 \
24                    port:xorg-libXext
25
26configure.cflags-append \
27                    -mmacosx-version-min=10.5
28configure.cxxflags-append \
29                    -mmacosx-version-min=10.5
30configure.ldflags-append \
31                    -mmacosx-version-min=10.5
32configure.pre_args  --prefix=${applications_dir}/NEURON/iv
33
34post-destroot {
35    set docdir ${destroot}${prefix}/share/doc/${name}
36    xinstall -d ${docdir}
37    xinstall -m 644 ${worksrcpath}/Copyright ${docdir}
38}
39
40# Force installation of libtool la file
41pre-install {
42    set libdir ${destroot}${applications_dir}/NEURON/iv/${build_arch}/lib
43    xinstall -d ${libdir}
44    xinstall -m 755 ${worksrcpath}/src/lib/libIVhines.la ${libdir}
45}