source: trunk/dports/science/gvemod-ndview/Portfile

Last change on this file was 100906, checked in by raphael@…, 5 years ago

gvemod-crayola, gvemod-labeler, gvemod-ndview, orrery: bump revision for Tcl 8.6; fix compilation with Tcl 8.6

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
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: Portfile 100906 2012-12-31 13:38:53Z ryandesign@macports.org $
3
4PortSystem                  1.0
5
6name                        gvemod-ndview
7version                     0.2
8revision                    2
9categories                  science graphics x11
10maintainers                 raphael openmaintainer
11description                 A Geomview emodule for displaying projections \
12                            of higher dimensional objects.
13long_description            This package contains the NDview emodule and \
14                            the emodules of the src/bin/ndutils directory \
15                            of the original Geomview distribution. emodules \
16                            are kind of plugins which extend the \
17                            functionality of Geomview (an interactive 3d \
18                            viewing program). The modules are based on \
19                            Tcl/Tk and can be used as a tool-kit for \
20                            displaying projections of higher dimensional \
21                            objects.
22homepage                    http://www.geomview.org/
23license                     LGPL-2+
24platforms                   darwin
25master_sites                sourceforge
26master_sites.mirror_subdir  geomview
27livecheck.name              geomview
28livecheck.distname          ${name}
29
30checksums                   rmd160  5e95e2c308bc8019d0588ab689bbbc05371e7469 \
31                            sha256  6514f66d157a0ae33d00f17ff6f7cecb844e605c424dce6d22f2fe62c4b939f4
32
33patchfiles                  patch-wrappers.c.diff
34depends_lib                 port:geomview \
35                            port:tk
36# Work around case-inensitivity "NDview" Tcl script <-> "ndview" module
37post-extract {
38    move ${worksrcpath}/src/NDview/NDview ${worksrcpath}/src/NDview/NDview.tc
39    reinplace "s|module_tcl_DATA = NDview|module_tcl_DATA = NDview.tc|" \
40        ${worksrcpath}/src/NDview/Makefile.in
41}
42
43configure.cppflags-append   -DUSE_INTERP_RESULT
44
45post-destroot {
46    move ${destroot}${prefix}/libexec/geomview/tcl/NDview.tc \
47        ${destroot}${prefix}/libexec/geomview/tcl/NDview
48
49    set docdir ${destroot}${prefix}/share/doc/${name}
50    xinstall -d ${docdir}
51    xinstall -m 644 -W ${worksrcpath} \
52        AUTHORS \
53        COPYING \
54        ChangeLog \
55        NEWS \
56        README \
57        ${docdir}
58}
59
60platform darwin 9 { configure.ldflags-append \
61    -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
62        /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
63}
Note: See TracBrowser for help on using the repository browser.