source: trunk/dports/science/gvemodules-xforms/Portfile

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

gvemodules-xforms: 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: 2.0 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 110363 2013-08-30 18:03:06Z ryandesign@macports.org $
3
4PortSystem                  1.0
5
6name                        gvemodules-xforms
7version                     0.2
8revision                    1
9categories                  science graphics x11
10maintainers                 raphael openmaintainer
11description                 XForms based emodules of the original Geomview \
12                            distribution
13long_description            This package contains XForms based emodules of \
14                            the original Geomview distribution. emodules \
15                            are kind of plugins which extend the functionality \
16                            of Geomview (an interactive 3d viewing program). \
17                            The modules are based on XForms and can be used as \
18                            a tool-kit for displaying projections of higher \
19                            dimensional objects.
20homepage                    http://www.geomview.org/
21license                     LGPL-2+
22platforms                   darwin
23master_sites                sourceforge
24master_sites.mirror_subdir  geomview
25livecheck.name              geomview
26livecheck.distname          ${name}
27
28checksums                   rmd160  b5f53ed3bee35f8727309b15723d66f0b0dc07d3 \
29                            sha256  9fe5462c6868007d76f82774e6d3ce3d18789bb83687794665a4fe78607887d3
30
31depends_lib                 port:geomview \
32                            port:xforms
33
34configure.cflags-append -std=gnu89
35
36platform darwin 9 { configure.ldflags-append \
37    -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
38        /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
39}
40
41post-destroot {
42    set docdir ${destroot}${prefix}/share/doc/${name}
43    xinstall -d ${docdir}
44    xinstall -m 644 -W ${worksrcpath} \
45        AUTHORS \
46        COPYING \
47        ChangeLog \
48        NEWS \
49        README \
50        ${docdir}
51}
Note: See TracBrowser for help on using the repository browser.