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 19 |
---|
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 8106398a77a011f81ca9f05533926537a0b80bfb \ |
---|
21 | sha256 3cb76ad00ebf4282d4c586540f54624fef7ecf8cd3fa2e6b3075d8fdacdc42e0 |
---|
22 | |
---|
23 | depends_lib port:xorg-libX11 \ |
---|
24 | port:xorg-libXext |
---|
25 | |
---|
26 | configure.compiler gcc |
---|
27 | |
---|
28 | configure.cflags-append \ |
---|
29 | -mmacosx-version-min=10.5 |
---|
30 | configure.cxxflags-append \ |
---|
31 | -mmacosx-version-min=10.5 |
---|
32 | configure.ldflags-append \ |
---|
33 | -mmacosx-version-min=10.5 |
---|
34 | configure.pre_args --prefix=${applications_dir}/NEURON/iv |
---|
35 | |
---|
36 | post-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 |
---|
43 | pre-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 | } |
---|