Ticket #2889: Portfile

File Portfile, 2.3 KB (added by jmpp@…, 19 years ago)

Portfile

Line 
1# $Id: $
2
3PortSystem 1.0
4
5name       inventor
6version    2.1.5-10
7categories      devel graphics x11
8platforms       darwin
9maintainers     cssdev@mac.com
10
11description     SGI Open InventorTM graphics toolkit
12long_description    Open InventorTM is an object-oriented 3D toolkit offering a comprehensive \
13                    solution to interactive graphics programming problems. It presents a \
14                    programming model based on a 3D  scene database that dramatically simplifies \
15                    graphics programming. It includes a rich set of objects such as cubes, \
16                    polygons, text, materials, cameras, lights, trackballs, handle boxes, 3D \
17                    viewers, and editors that speed up your programming time and extend your \
18                    3D programming capabilities.
19
20homepage            http://oss.sgi.com/projects/inventor/
21master_sites        ftp://oss.sgi.com/projects/inventor/download/
22checksums           md5 82208096f1e0b111160e864e239c3a51
23distname            ${name}-${version}.src
24worksrcdir          ${name}
25
26depends_lib         lib:libX11.6:XFree86 \
27                    lib:libXm.4:openmotif \
28                    port:freetype \
29                    lib:libjpeg.62:jpeg \
30                    lib:libdl:dlcompat
31
32patchfiles          patch-BarChart-GNUmakefile.diff \
33                    patch-Decal-GNUmakefile.diff \
34                    patch-GeneralizedCylinder-GNUmakefile.diff \
35                    patch-SceneViewer-GNUmakefile.diff \
36                    patch-drop-GNUmakefile.diff \
37                    patch-flfreetype.h.diff \
38                    patch-gview-GNUmakefile.diff \
39                    patch-ivcat-GNUmakefile.diff \
40                    patch-ivcommondefs.diff \
41                    patch-ivdowngrade-GNUmakefile.diff \
42                    patch-ivfix-GNUmakefile.diff \
43                    patch-ivinfo-GNUmakefile.diff \
44                    patch-ivman-GNUmakefile.diff \
45                    patch-ivview-GNUmakefile.diff \
46                    patch-localrules.apple.diff \
47                    patch-maze-GNUmakefile.diff \
48                    patch-noodle-GNUmakefile.diff \
49                    patch-qmorf-GNUmakefile.diff \
50                    patch-revo-GNUmakefile.diff \
51                    patch-soxt-GNUmakefile.diff \
52                    patch-textomatic-GNUmakefile.diff \
53                    patch-widgets-GNUmakefile.componentTest.diff
54
55post-patch {
56           reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/make/ivcommondefs
57}
58
59use_configure   no
60
61build.env       DYLD_LIBRARY_PATH=${worksrcpath}/lib IVROOT=${destroot}
62
63destroot.env    ${build.env}
64
65post-destroot {
66              xinstall -m 755 -d ${destroot}${prefix}/share/${name}
67              xinstall -m 644 -W ${worksrcpath} COPYING FAQ.misc KNOWN.BUGS \
68              ${destroot}${prefix}/share/${name}
69}