1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup xcode 1.0 |
---|
5 | |
---|
6 | name ois |
---|
7 | version 1.3 |
---|
8 | categories devel |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | license zlib |
---|
12 | |
---|
13 | description An Object Oriented Input System (OIS) |
---|
14 | |
---|
15 | long_description Object Oriented Input System (OIS) is meant \ |
---|
16 | to be a cross platform, simple solution for \ |
---|
17 | using all kinds of Input Devices (Keyboards, \ |
---|
18 | Mice, Joysticks, etc) and feedback devices \ |
---|
19 | (e.g. force feedback). Written in C++ using \ |
---|
20 | Object Oriented Design pattern. \ |
---|
21 | NOTE: \ |
---|
22 | This version includes Cocoa 64-bit patches \ |
---|
23 | based on a submission by David Rogers \ |
---|
24 | (masterfalcon) to the OIS trac system. \ |
---|
25 | These patches are required to use OIS + Ogre \ |
---|
26 | in a 64-bit MacOS environment. |
---|
27 | |
---|
28 | homepage http://sourceforge.net/projects/wgois/ |
---|
29 | master_sites sourceforge:wgois/Source%20Release/${version} |
---|
30 | |
---|
31 | # Accomodate the funny version convention ois underscore v number dash number |
---|
32 | distname ${name}_v[strsed ${version} {g/[.]/-/}] |
---|
33 | # However the extracted directory is ois dash v number dash number |
---|
34 | worksrcdir ${name}-v[strsed ${version} {g/[.]/-/}] |
---|
35 | |
---|
36 | checksums md5 9697fead17eac6025151cd2e1fca1518 \ |
---|
37 | sha1 860f366f87e5103109e72724ce096ce8559c2d3d |
---|
38 | |
---|
39 | patchfiles patch-Mac_XCode-2_2_OIS_xcodeproj_project.pbxproj.diff \ |
---|
40 | patch-demos_OISConsole.cpp.diff \ |
---|
41 | patch-includes_mac_CocoaHelpers.h.diff \ |
---|
42 | patch-includes_mac_CocoaInputManager.h.diff \ |
---|
43 | patch-includes_mac_CocoaJoyStick.h.diff \ |
---|
44 | patch-includes_mac_CocoaKeyboard.h.diff \ |
---|
45 | patch-includes_mac_CocoaMouse.h.diff \ |
---|
46 | patch-includes_mac_MacHelpers.h.diff \ |
---|
47 | patch-src_OISInputManager.cpp.diff \ |
---|
48 | patch-src_mac_CocoaInputManager.mm.diff \ |
---|
49 | patch-src_mac_CocoaJoystick.mm.diff \ |
---|
50 | patch-src_mac_CocoaKeyboard.mm.diff \ |
---|
51 | patch-src_mac_CocoaMouse.mm.diff \ |
---|
52 | patch-src_mac_MacHIDManager.cpp.diff \ |
---|
53 | patch-src_mac_MacHelpers.cpp.diff \ |
---|
54 | patch-src_mac_MacInputManager.cpp.diff \ |
---|
55 | patch-src_mac_MacKeyboard.cpp.diff \ |
---|
56 | patch-src_mac_MacMouse.cpp.diff |
---|
57 | |
---|
58 | xcode.project Mac/XCode-2.2/OIS.xcodeproj |
---|
59 | |
---|
60 | destroot { |
---|
61 | file delete -force "${worksrcpath}/includes/Makefile.am" |
---|
62 | copy "${worksrcpath}/includes/." "${destroot}${prefix}/include/OIS" |
---|
63 | xinstall -m 640 "${worksrcpath}/Mac/XCode-2.2/build/Release/libOIS.a" \ |
---|
64 | "${destroot}${prefix}/lib" |
---|
65 | } |
---|