source: trunk/dports/devel/inventor/Portfile @ 102822

Last change on this file since 102822 was 102822, checked in by jmr@…, 6 years ago

jpeg: update to version 9, rev bump dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 KB
Line 
1# $Id: Portfile 102822 2013-02-09 00:51:24Z jmr@macports.org $
2
3PortSystem 1.0
4
5name       inventor
6version    2.1.5-10
7revision        9
8categories      devel graphics x11
9platforms       darwin
10maintainers     css
11
12description     SGI Open InventorTM graphics toolkit
13long_description    Open InventorTM is an object-oriented 3D toolkit offering a comprehensive \
14                    solution to interactive graphics programming problems. It presents a \
15                    programming model based on a 3D  scene database that dramatically simplifies \
16                    graphics programming. It includes a rich set of objects such as cubes, \
17                    polygons, text, materials, cameras, lights, trackballs, handle boxes, 3D \
18                    viewers, and editors that speed up your programming time and extend your \
19                    3D programming capabilities.
20
21homepage            http://oss.sgi.com/projects/inventor/
22master_sites        ftp://oss.sgi.com/projects/inventor/download/
23checksums           md5 82208096f1e0b111160e864e239c3a51
24distname            ${name}-${version}.src
25worksrcdir          ${name}
26
27depends_lib         port:xorg-libXi \
28                    port:xorg-libXt \
29                    port:freetype \
30                    port:jpeg \
31                    port:glw
32
33patchfiles          patch-BarChart-GNUmakefile.diff \
34                    patch-Decal-GNUmakefile.diff \
35                    patch-GeneralizedCylinder-GNUmakefile.diff \
36                    patch-SceneViewer-GNUmakefile.diff \
37                    patch-SoCalcParse.y.diff \
38                    patch-SoGLTextureImageElement.c++.diff \
39                    patch-drop-GNUmakefile.diff \
40                    patch-flfreetype.h.diff \
41                    patch-gview-GNUmakefile.diff \
42                    patch-ivcat-GNUmakefile.diff \
43                    patch-ivcommondefs.diff \
44                    patch-ivdowngrade-GNUmakefile.diff \
45                    patch-ivfix-GNUmakefile.diff \
46                    patch-ivinfo-GNUmakefile.diff \
47                    patch-ivman-GNUmakefile.diff \
48                    patch-ivview-GNUmakefile.diff \
49                    patch-lib-GNUmakefile.diff \
50                    patch-libSoXt-GNUmakefile.diff \
51                    patch-localrules.apple.diff \
52                    patch-machine.h.diff \
53                    patch-maze-GNUmakefile.diff \
54                    patch-noodle-GNUmakefile.diff \
55                    patch-qmorf-GNUmakefile.diff \
56                    patch-revo-GNUmakefile.diff \
57                    patch-soxt-GNUmakefile.diff \
58                    patch-textomatic-GNUmakefile.diff \
59                    patch-widgets-GNUmakefile.componentTest.diff \
60                    patch-SoPath.h.diff \
61                    patch-SoGLwDrawA.c.diff \
62                    patch-LP64.diff
63
64post-patch {
65        reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/make/ivcommondefs
66        reinplace "s|/usr/X11R6|${prefix}|" ${worksrcpath}/make/ivcommondefs
67}
68
69universal_variant       no
70use_configure   no
71build.env       DYLD_LIBRARY_PATH=${worksrcpath}/lib IVROOT=${destroot}
72
73destroot.env    ${build.env}
74
75post-destroot {
76              xinstall -m 755 -d ${destroot}${prefix}/share/${name}
77              xinstall -m 644 -W ${worksrcpath} COPYING FAQ.misc KNOWN.BUGS \
78              ${destroot}${prefix}/share/${name}
79}
80
81variant debug description {build with debug information} {
82    build.env-append      LIBTYPE=debug
83    patchfiles-append     patch-SoV1NkCatalog.c++.diff \
84                          patch-SoText3V2.c++.diff
85}
86
87variant imagelib description {include the image library} {
88        post-destroot {
89                xinstall -m 644 -W ${worksrcpath}/libimage libimage.a \
90                        ${destroot}${prefix}/lib
91                xinstall -m 644 -W ${worksrcpath}/libimage image.h \
92                        ${destroot}${prefix}/include
93                system "ranlib ${destroot}${prefix}/lib/libimage.a"
94        }
95}
Note: See TracBrowser for help on using the repository browser.