Ticket #22288: libfreespace.diff
File libfreespace.diff, 1.5 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name libfreespace 6 version 0. 36 version 0.4 7 7 set branch [join [lrange [split [strsed ${version} {g/[^0-9.].*//}] .] 0 1] .] 8 8 categories devel 9 9 … … 22 22 maintainers hillcrestlabs.com:jt.burgess 23 23 24 24 master_sites http://launchpad.net/libfreespace/${branch}/${version}/+download/ 25 checksums md5 edf8b1bc584b655df0fe710871611954 \26 sha1 b0b9781f86daf973ddc432ed48407344af35845b\27 rmd160 661196e9ad8e1aaee5d01b97b47ecddfd68f229725 checksums md5 96a081e3b7fe2337344b8adc61259eb4 \ 26 sha1 5b5d676bf00c3a30eee927496d1d0de65ce6fa7a \ 27 rmd160 9fdb099c66f814c3e7f4101f6b61d602cb0ad60d 28 28 29 29 depends_lib port:libusb 30 31 destroot.violate_mtree yes 32 33 post-destroot { 34 # Install Codeless .kext to prevent the OS X HID driver from trying to control the freespace interface 35 xinstall -d ${destroot}/System/Library/Extensions 36 file copy ${worksrcpath}/osx/FreespaceDeviceDriver.kext ${destroot}/System/Library/Extensions 37 file attributes ${destroot}/System/Library/Extensions/FreespaceDeviceDriver.kext -owner root -group wheel -permissions rwxr-xr-x 38 } 39 40 post-activate { 41 # Force the KEXT cache to rebuild. 42 touch /System/Library/Extensions 43 }