Ticket #40457: Portfile-neuron-iv.4

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

Portfile for the NEURON graphics toolkit (based on InterViews) - updated to IV 19

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             19
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  8106398a77a011f81ca9f05533926537a0b80bfb \
21                    sha256  3cb76ad00ebf4282d4c586540f54624fef7ecf8cd3fa2e6b3075d8fdacdc42e0
22
23depends_lib         port:xorg-libX11 \
24                    port:xorg-libXext
25
26configure.compiler gcc
27
28configure.cflags-append \
29                    -mmacosx-version-min=10.5
30configure.cxxflags-append \
31                    -mmacosx-version-min=10.5
32configure.ldflags-append \
33                    -mmacosx-version-min=10.5
34configure.pre_args  --prefix=${applications_dir}/NEURON/iv
35
36post-destroot {
37    set docdir ${destroot}${prefix}/share/doc/${name}
38    xinstall -d ${docdir}
39    xinstall -m 644 ${worksrcpath}/Copyright ${docdir}
40}
41
42# Force installation of libtool la file
43pre-install {
44    set libdir ${destroot}${applications_dir}/NEURON/iv/${build_arch}/lib
45    xinstall -d ${libdir}
46    xinstall -m 755 ${worksrcpath}/src/lib/libIVhines.la ${libdir}
47}