1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name freevr |
---|
5 | version 0.5g |
---|
6 | description virtual reality interface and integration library |
---|
7 | categories graphics devel x11 |
---|
8 | long_description FreeVR is an open-source virtual reality interface \ |
---|
9 | and integration library. It has been designed to work with a wide \ |
---|
10 | variety of input and output hardware, with many device interfaces \ |
---|
11 | already implemented. One of the design goals was for FreeVR \ |
---|
12 | applications to be easily run in existing virtual reality \ |
---|
13 | facitilies, as well as newly established VR systems. The other \ |
---|
14 | major design goal is to make it easier for VR applications to be \ |
---|
15 | shared among active VR research sites using different hardware \ |
---|
16 | from each other. |
---|
17 | |
---|
18 | homepage http://www.freevr.org/ |
---|
19 | platforms darwin |
---|
20 | maintainers css@macports.org |
---|
21 | master_sites http://www.aces.dri.edu/freevr/Downloads/ |
---|
22 | distname ${name}_${version}-alpha |
---|
23 | worksrcdir ${name}_${version} |
---|
24 | checksums md5 c6d4a726cb62e89a77e5318f36b4b39f |
---|
25 | use_configure no |
---|
26 | depends_lib lib:libX11:XFree86 |
---|
27 | |
---|
28 | patch { |
---|
29 | reinplace "s|/sw|${prefix}|" \ |
---|
30 | ${worksrcpath}/src/Make-config |
---|
31 | } |
---|
32 | |
---|
33 | build.dir ${worksrcpath}/src |
---|
34 | variant darwin { |
---|
35 | build.target darwin-X-glx |
---|
36 | } |
---|
37 | |
---|
38 | destroot { |
---|
39 | xinstall -m 755 -s ${worksrcpath}/src/travel ${destroot}${prefix}/bin |
---|
40 | xinstall -m 644 ${worksrcpath}/src/libfreevr.a ${destroot}${prefix}/lib |
---|
41 | eval xinstall -m 644 -W ${worksrcpath}/src \ |
---|
42 | [glob ${worksrcpath}/src/vr_*.h] freevr.h ${destroot}${prefix}/include |
---|
43 | } |
---|