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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name neuron-iv |
---|
7 | version 18 |
---|
8 | categories science |
---|
9 | platforms darwin |
---|
10 | license {SGI Stanford} |
---|
11 | maintainers gmx.de:christsc |
---|
12 | description Graphics toolkit for NEURON based on InterViews |
---|
13 | long_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. |
---|
16 | homepage http://www.neuron.yale.edu |
---|
17 | master_sites http://www.stimfit.org/neuron/ |
---|
18 | distname iv-${version} |
---|
19 | |
---|
20 | checksums rmd160 542f86e95e7bfb25e871fea182d71dbc4e977a76 \ |
---|
21 | sha256 a875692a20211e0856e9e283ab9ef5da022b4d49853aa7f2f734104f399e7af1 |
---|
22 | |
---|
23 | depends_lib port:xorg-libX11 \ |
---|
24 | port:xorg-libXext |
---|
25 | |
---|
26 | configure.cflags-append \ |
---|
27 | -mmacosx-version-min=10.5 |
---|
28 | configure.cxxflags-append \ |
---|
29 | -mmacosx-version-min=10.5 |
---|
30 | configure.ldflags-append \ |
---|
31 | -mmacosx-version-min=10.5 |
---|
32 | configure.pre_args --prefix=${applications_dir}/NEURON/iv |
---|
33 | |
---|
34 | post-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 |
---|
41 | pre-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 | } |
---|