source: trunk/dports/science/geomview/Portfile

Last change on this file was 132921, checked in by raphael@…, 2 years ago

geomview: update to version 1.9.5; use xz; remove legacy compatibility variant

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# $Id: Portfile 132921 2015-02-13 17:40:19Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           xcodeversion 1.0
5
6name                geomview
7version             1.9.5
8categories          science graphics x11
9license             LGPL-2.1
10maintainers         raphael openmaintainer
11description         interactive 3D viewing program
12long_description    Geomview is an interactive 3D viewing program for Unix. \
13                    It lets you view and manipulate 3D objects: you use the \
14                    mouse to rotate, translate, zoom in and out, etc. It \
15                    can be used as a standalone viewer for static objects \
16                    or as a display engine for other programs which produce \
17                    dynamically changing geometry. It can display objects \
18                    described in a variety of file formats. It comes with a \
19                    wide selection of example objects, and you can create \
20                    your own objects too.
21homepage            http://www.geomview.org/
22platforms           darwin
23master_sites        sourceforge:project/geomview/geomview/${version}
24
25use_xz              yes
26
27checksums           rmd160  fa1b3387e096b841e8c3981ffa8d28cb3d912829 \
28                    sha256  dd1c2c55fb034c947792c726e241505503a896dcc609a7d51506fd47f0025402
29
30patchfiles          patch-iobuffer.c.diff
31
32configure.args      --without-opengl \
33                    --with-htmlbrowser=open \
34                    --with-pdfviewer=open
35
36depends_lib         port:openmotif \
37                    port:zlib \
38                    port:xorg-libXt \
39                    port:xorg-libXmu \
40                    port:xorg-libsm \
41                    port:xorg-libXext \
42                    port:xorg-libX11 \
43                    port:xorg-libXau \
44                    port:xorg-libXdmcp
45
46minimum_xcodeversions   {9 3.1}
47
48build.env           LANG=C
49
50post-destroot {
51    set docdir ${destroot}${prefix}/share/doc/${name}
52    xinstall -m 644 -W ${worksrcpath} \
53        AUTHORS \
54        COPYING \
55        ChangeLog \
56        NEWS \
57        README \
58        ${destroot}${prefix}/share/doc/${name}
59}
60
61variant opengl description {Use OpenGL} {
62    configure.args-delete       --without-opengl
63    configure.args-append       --with-opengl=${prefix}
64    depends_lib-append          port:mesa port:libGLU
65}
66
67default_variants +opengl
Note: See TracBrowser for help on using the repository browser.