source: trunk/dports/science/maniview/Portfile

Last change on this file was 109154, checked in by ryandesign@…, 4 years ago

maniview: use a patchfile instead of reinplace, for the usual reasons

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 109154 2013-08-08 18:48:04Z ryandesign@macports.org $
3
4PortSystem                  1.0
5
6name                        maniview
7version                     2.0.2
8revision                    1
9categories                  science graphics x11
10maintainers                 raphael openmaintainer
11description                 a Geomview module for viewing 3D manifolds
12long_description            This is maniview, a Geomview module for viewing \
13                            3D manifolds. emodules are kind of plugins \
14                            which extend the functionality of Geomview (an \
15                            interactive 3d viewing program).
16homepage                    http://www.geomview.org/
17license                     LGPL-2+
18platforms                   darwin
19master_sites                sourceforge:project/geomview/maniview/${version}
20livecheck.name              geomview
21livecheck.distname          ${name}
22
23checksums                   rmd160  7b82bc829971add72f588d8aa3a0e793dfec96a8 \
24                            sha256  63c68f65d2e60366560bf2c0c6aeced7698b9fbddc07c99831e3378d852a4166
25
26depends_lib                 port:geomview \
27                            port:xforms
28
29# Conflicts with POSIX getline
30patchfiles-append           patch-maniview.c.diff
31
32configure.cflags-append -std=gnu89
33
34post-destroot {
35    delete ${destroot}${prefix}/share/geomview/groups
36
37    set docdir ${destroot}${prefix}/share/doc/${name}
38    xinstall -d ${docdir}
39    xinstall -m 644 -W ${worksrcpath} \
40        AUTHORS \
41        COPYING \
42        ChangeLog \
43        NEWS \
44        README \
45        ${docdir}
46}
47
48platform darwin 9 { configure.ldflags-append \
49    -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
50        /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
51}
Note: See TracBrowser for help on using the repository browser.