1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name opal |
---|
6 | version 0.4.0 |
---|
7 | revision 1 |
---|
8 | categories devel |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | |
---|
12 | homepage http://opal.sourceforge.net/ |
---|
13 | master_sites sourceforge:opal |
---|
14 | distname ${name}-${version}-src |
---|
15 | worksrcdir ${name}-${version}-src |
---|
16 | use_zip yes |
---|
17 | |
---|
18 | description A high-level interface for low-level physics engines |
---|
19 | |
---|
20 | long_description OPAL is a high-level interface for low-level physics\ |
---|
21 | engines used in games, robotics simulations, and other\ |
---|
22 | 3D applications. Features a simple C++ API, intuitive\ |
---|
23 | objects (e.g. Solids, Joints, Motors, Sensors), and\ |
---|
24 | XML-based file storage for complex objects. |
---|
25 | |
---|
26 | |
---|
27 | checksums md5 f000ba644185f49cafcfb3480cc1063a \ |
---|
28 | sha1 550359a1fb1f75f5e343d123383cbc659136dabd \ |
---|
29 | rmd160 e9a1ab4a08198aeebfe5784868a2ae68b0b145fc |
---|
30 | |
---|
31 | depends_build port:scons |
---|
32 | |
---|
33 | depends_lib port:ode |
---|
34 | |
---|
35 | use_configure no |
---|
36 | |
---|
37 | use_parallel_build yes |
---|
38 | |
---|
39 | build.cmd scons |
---|
40 | build.target |
---|
41 | #build.args DESTDIR=${destroot}\ |
---|
42 | prefix=${prefix} |
---|
43 | build.args extra_include_path=/opt/local/include/\ |
---|
44 | extra_lib_path=/opt/local/lib\ |
---|
45 | ODE |
---|
46 | |
---|
47 | patchfiles patch-src-SConstruct.diff |
---|
48 | pre-build { |
---|
49 | reinplace "s|@prefix@|${prefix}|" ${workpath}/${distname}/SConstruct |
---|
50 | } |
---|
51 | |
---|
52 | destroot.cmd scons |
---|
53 | destroot.destdir prefix=${destroot}${prefix} |
---|
54 | destroot.args ${build.args} |
---|