Permalink
Showing
with
45 additions
and 30 deletions.
| @@ -1,37 +1,14 @@ | ||
| # -*- 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 | ||
|
|
||
| PortSystem 1.0 | ||
| PortGroup github 1.0 | ||
| PortGroup obsolete 1.0 | ||
|
|
||
| github.setup signal11 hidapi a6a622ffb680c55da0de787ff93b80280498330f | ||
| # Remove after 2020-04-25 | ||
| name hidapi-devel | ||
| conflicts hidapi | ||
| replaced_by hidapi | ||
| set portversion 20160920 | ||
| version 0.8.0-${portversion} | ||
| revision 1 | ||
| categories comms | ||
| platforms darwin | ||
| maintainers {raimue @raimue} \ | ||
| openmaintainer | ||
| license {GPL-3 BSD Permissive} | ||
|
|
||
| description library for interacting with HID-class devices | ||
| long_description \ | ||
| HIDAPI is a multi-platform library which allows an application to \ | ||
| interface with USB and Bluetooth HID-Class devices. | ||
|
|
||
| checksums rmd160 aa84a33aa09fb4b82f59e2e40d58c80ac37a5bfc \ | ||
| sha256 32ea444bdd6c6a8a940bfa3287a2dc8c291a141fdc78cd638b37b546b44d95be | ||
|
|
||
| use_autoreconf yes | ||
|
|
||
| variant testgui description {Install GUI to test HIDAPI} { | ||
| depends_lib-append port:fox | ||
| configure.args-append --enable-testgui | ||
| patchfiles-append patch-appbundle.diff | ||
|
|
||
| post-destroot { | ||
| set destapp ${destroot}${applications_dir}/HIDAPI-TestGUI.app | ||
| copy ${worksrcpath}/testgui/TestGUI.app ${destapp} | ||
| ln -s ${prefix}/bin/hidapi-testgui ${destapp}/Contents/MacOS/ | ||
| } | ||
| } |
| @@ -0,0 +1,38 @@ | ||
| # -*- 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 | ||
|
|
||
| PortSystem 1.0 | ||
| PortGroup github 1.0 | ||
|
|
||
| # a6a622f (2016-01-28) is latest commit on master branch as of 2019-04-25; | ||
| # contains macOS-related improvements since 0.8.0-rc1 | ||
| github.setup signal11 hidapi a6a622ffb680c55da0de787ff93b80280498330f | ||
| version 0.8.0 | ||
| revision 0 | ||
| categories comms | ||
| platforms darwin | ||
| maintainers {raimue @raimue} \ | ||
| openmaintainer | ||
| license {GPL-3 BSD Permissive} | ||
|
|
||
| description library for interacting with HID-class devices | ||
| long_description \ | ||
| HIDAPI is a multi-platform library which allows an application to \ | ||
| interface with USB and Bluetooth HID-Class devices. | ||
|
|
||
| checksums rmd160 aa84a33aa09fb4b82f59e2e40d58c80ac37a5bfc \ | ||
| sha256 32ea444bdd6c6a8a940bfa3287a2dc8c291a141fdc78cd638b37b546b44d95be \ | ||
| size 103865 | ||
|
|
||
| use_autoreconf yes | ||
|
|
||
| variant testgui description {Install GUI to test HIDAPI} { | ||
| depends_lib-append port:fox | ||
| configure.args-append --enable-testgui | ||
| patchfiles-append patch-appbundle.diff | ||
|
|
||
| post-destroot { | ||
| set destapp ${destroot}${applications_dir}/HIDAPI-TestGUI.app | ||
| copy ${worksrcpath}/testgui/TestGUI.app ${destapp} | ||
| ln -s ${prefix}/bin/hidapi-testgui ${destapp}/Contents/MacOS/ | ||
| } | ||
| } |
File renamed without changes.