source: trunk/dports/graphics/osgswig-devel/Portfile

Last change on this file was 69969, checked in by nox@…, 7 years ago

Relinquish maintainership of various ports

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 69969 2010-07-24 12:49:28Z ryandesign@macports.org $
2
3PortSystem      1.0
4PortGroup       cmake 1.0
5
6name            osgswig-devel
7version         222
8revision        1
9platforms       darwin
10categories      graphics
11license         MIT
12maintainers     nomaintainer
13description     SWIG based bindings for OpenSceneGraph
14
15long_description \
16    The osgSWIG project utilises SWIG to generate bindings for this C++-based \
17    scene graph for various higher-level languages. Our main target is \
18    currently Python, but others of interest are Java, Ruby, and Lua.
19
20homepage        http://code.google.com/p/osgswig/
21fetch.type      svn
22svn.url         http://osgswig.googlecode.com/svn/trunk/
23svn.revision    ${version}
24
25worksrcdir      trunk
26
27patchfiles \
28    patch-import-modules.diff \
29    patch-src-osg.i.diff \
30    patch-src-osgAnimation.i.diff \
31    patch-src-python-CMakeLists.txt.diff
32
33post-patch {
34    reinplace s:@FRAMEWORKS_DIR@:${frameworks_dir}: \
35        ${worksrcpath}/src/python/CMakeLists.txt
36}
37
38depends_lib \
39    path:lib/pkgconfig/openscenegraph.pc:OpenSceneGraph \
40    port:python26 \
41    port:swig \
42    port:swig-python
43
44destroot {
45    set site_packages \
46        ${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages
47    xinstall -d ${destroot}${site_packages}
48    copy ${worksrcpath}/lib/python/osgswig-0.9.1 \
49        ${destroot}${site_packages}/
50    move ${destroot}${site_packages}/osgswig-0.9.1/osg.pth \
51        ${destroot}${site_packages}
52}
53
54livecheck.type  regex
55livecheck.url   ${svn.url}
56livecheck.regex {Revision (\d+):}
Note: See TracBrowser for help on using the repository browser.