Skip to content
Permalink
Browse files

libfreespace: update to 0.4; see https://trac.macports.org/ticket/22288

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@68757 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Jun 12, 2010
1 parent fb4c9a6 commit 8b53a56153905c63bcb735dbe143898ffd20aad0
Showing with 19 additions and 4 deletions.
  1. +19 −4 devel/libfreespace/Portfile
@@ -1,9 +1,10 @@
# -*- 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
# $Id$

PortSystem 1.0

name libfreespace
version 0.3
version 0.4
set branch [join [lrange [split [strsed ${version} {g/[^0-9.].*//}] .] 0 1] .]
categories devel

@@ -22,8 +23,22 @@ license LGPLv2.1
maintainers hillcrestlabs.com:jt.burgess

master_sites http://launchpad.net/libfreespace/${branch}/${version}/+download/
checksums md5 edf8b1bc584b655df0fe710871611954 \
sha1 b0b9781f86daf973ddc432ed48407344af35845b \
rmd160 661196e9ad8e1aaee5d01b97b47ecddfd68f2297
checksums md5 96a081e3b7fe2337344b8adc61259eb4 \
sha1 5b5d676bf00c3a30eee927496d1d0de65ce6fa7a \
rmd160 9fdb099c66f814c3e7f4101f6b61d602cb0ad60d

depends_lib port:libusb

destroot.violate_mtree yes

post-destroot {
# Install Codeless .kext to prevent the OS X HID driver from trying to control the freespace interface
xinstall -d ${destroot}/System/Library/Extensions
file copy ${worksrcpath}/osx/FreespaceDeviceDriver.kext ${destroot}/System/Library/Extensions
file attributes ${destroot}/System/Library/Extensions/FreespaceDeviceDriver.kext -owner root -group wheel -permissions rwxr-xr-x
}

post-activate {
# Force the KEXT cache to rebuild.
touch /System/Library/Extensions
}

0 comments on commit 8b53a56

Please sign in to comment.
You can’t perform that action at this time.