source: trunk/dports/science/gvemod-xforms-example/Portfile

Last change on this file was 110364, checked in by jeremyhu@…, 4 years ago

gvemod-xforms-example: Set -std=gnu89 rather than falling back to llvm-gcc

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