source: trunk/dports/devel/opal/Portfile

Last change on this file was 88903, checked in by dports@…, 6 years ago

opal: pointless whitespace change to force portindex to reindex the
port (see #32884)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 88903 2012-01-15 00:07:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                opal
7version             0.4.0
8categories          devel
9maintainers         snc openmaintainer
10license             {BSD LGPL-2.1+}
11
12homepage            http://opal.sourceforge.net/
13master_sites        sourceforge
14distname            ${name}-${version}-src
15use_zip             yes
16
17description         A high-level interface for low-level physics engines
18
19long_description    OPAL is a high-level interface for low-level physics\
20                    engines used in games, robotics simulations, and other\
21                    3D applications.  Features a simple C++ API, intuitive\
22                    objects (e.g. Solids, Joints, Motors, Sensors), and\
23                    XML-based file storage for complex objects.
24 
25platforms           darwin
26depends_build       port:scons
27depends_lib         port:ode
28
29checksums           rmd160  e9a1ab4a08198aeebfe5784868a2ae68b0b145fc \
30                    sha256  ebc2eff1aafd19be621108d2d488b90edcb55ad5249dfdf806e3bdf53407afaf
31
32patchfiles-append patch-SConstruct.diff
33post-patch {
34    reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/SConstruct
35    reinplace "s|@CXX@|${configure.cxx}|" ${worksrcpath}/SConstruct
36    reinplace "s|@CXXFLAGS@|${configure.cxxflags}|" ${worksrcpath}/SConstruct
37}
38
39use_configure       no
40
41use_parallel_build  yes
42build.cmd           scons
43build.target
44build.args          extra_include_path=${prefix}/include \
45                    extra_lib_path=${prefix}/lib \
46                    ODE
47
48destroot.cmd        scons
49destroot.destdir    prefix=${destroot}${prefix}
50destroot.args       ${build.args}
Note: See TracBrowser for help on using the repository browser.