1 | # $Id:$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name geomview |
---|
6 | version 1.9.4 |
---|
7 | categories science graphics x11 |
---|
8 | maintainers raphael@ira.uka.de |
---|
9 | description interactive 3D viewing program |
---|
10 | long_description Geomview is an interactive 3D viewing program for Unix. \ |
---|
11 | It lets you view and manipulate 3D objects: you use the \ |
---|
12 | mouse to rotate, translate, zoom in and out, etc. It \ |
---|
13 | can be used as a standalone viewer for static objects \ |
---|
14 | or as a display engine for other programs which produce \ |
---|
15 | dynamically changing geometry. It can display objects \ |
---|
16 | described in a variety of file formats. It comes with a \ |
---|
17 | wide selection of example objects, and you can create \ |
---|
18 | your own objects too. |
---|
19 | homepage http://www.geomview.org/ |
---|
20 | platforms darwin |
---|
21 | master_sites sourceforge |
---|
22 | checksums md5 29c7e6d678af7b9968980f92954419bb \ |
---|
23 | sha1 b5e04dfee5cef46655766c2456199905832cd45c \ |
---|
24 | rmd160 adf7c8ba745db9ff003e3ed74089379b2a72c712 |
---|
25 | patchfiles patch-iobuffer.c.diff \ |
---|
26 | patch-geomview.texi.diff \ |
---|
27 | patch-geomview-pt_BR.texi.diff |
---|
28 | |
---|
29 | post-extract { delete ${worksrcpath}/doc/geomview.html |
---|
30 | delete ${worksrcpath}/doc/geomview-pt_BR.html |
---|
31 | } |
---|
32 | |
---|
33 | configure.args --with-opengl=${x11prefix} \ |
---|
34 | --with-htmlbrowser=open \ |
---|
35 | --with-pdfviewer=open |
---|
36 | depends_lib port:openmotif \ |
---|
37 | port:zlib \ |
---|
38 | lib:libX11.6:XFree86 |
---|
39 | depends_build path:${prefix}/bin/tex:texlive \ |
---|
40 | port:texinfo |
---|
41 | |
---|
42 | platform darwin 9 { |
---|
43 | configure.ldflags-append -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\ |
---|
44 | /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib |
---|
45 | } |
---|
46 | |
---|
47 | variant no_zlib description {do not use zlib} { |
---|
48 | configure.args-append --without-zlib |
---|
49 | depends_lib-delete port:zlib |
---|
50 | } |
---|
51 | |
---|
52 | variant no_opengl description {do not use OpenGL} { |
---|
53 | configure.args-append --without-opengl |
---|
54 | configure.args-delete --with-opengl=${x11prefix} |
---|
55 | } |
---|