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$ |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name libfreespace |
---|
6 | version 0.4 |
---|
7 | categories devel |
---|
8 | |
---|
9 | description library for developing applications using Hillcrest Labs Freespace Devices |
---|
10 | long_description \ |
---|
11 | The libfreespace library enables rapid development of applications for \ |
---|
12 | Hillcrest Labs Freespace® devices. libfreespace provides access to extended \ |
---|
13 | information beyond mouse, keyboard and consumer page functionality through \ |
---|
14 | calibrated acceleration, rotational velocity measurements and \ |
---|
15 | calibrated sensor orientation. |
---|
16 | |
---|
17 | homepage http://libfreespace.hillcrestlabs.com/ |
---|
18 | |
---|
19 | platforms darwin |
---|
20 | license LGPLv2.1 |
---|
21 | maintainers hillcrestlabs.com:jt.burgess |
---|
22 | |
---|
23 | master_sites http://launchpad.net/libfreespace/${version}/${version}/+download/ |
---|
24 | checksums md5 96a081e3b7fe2337344b8adc61259eb4 \ |
---|
25 | sha1 5b5d676bf00c3a30eee927496d1d0de65ce6fa7a \ |
---|
26 | rmd160 9fdb099c66f814c3e7f4101f6b61d602cb0ad60d |
---|
27 | |
---|
28 | depends_lib port:libusb |
---|
29 | |
---|
30 | post-destroot { |
---|
31 | # Install Codeless .kext to prevent the OS X HID driver from trying to control the freespace interface |
---|
32 | file delete -force /System/Library/Extensions/FreespaceDeviceDriver.kext |
---|
33 | file copy ${worksrcpath}/osx/FreespaceDeviceDriver.kext /System/Library/Extensions/FreespaceDeviceDriver.kext |
---|
34 | file attributes /System/Library/Extensions/FreespaceDeviceDriver.kext -owner root -group wheel -permissions rwxr-xr-x |
---|
35 | touch /System/Library/Extensions.mkext |
---|
36 | } |
---|