Ticket #47615: Portfile

File Portfile, 1.2 KB (added by IvoClarysse (Ivo Clarysse), 10 years ago)

Portfile for libhidapi @0.8.0-rc1

Line 
1# $Id$
2
3PortSystem      1.0
4PortGroup       github 1.0
5
6github.setup    signal11 hidapi 0.8.0-rc1 hidapi-
7name            libhidapi
8
9categories      devel
10maintainers     nomaintainer
11description     library for HID device access
12long_description \
13    library for use by user level applications to \
14    access HID-class devices regardless of OS. \
15    On OS X, access to HID devices is provided through \
16    IOHidManager.
17license         {GPL-3 BSD HIDAPI}
18homepage        http://www.signal11.us/oss/hidapi/
19platforms       darwin
20
21# Github project archive files conform to neither the 'downloads' nor the
22# 'releases' scheme supported by the github 1.0 portgroup.
23github.master_sites https://github.com/${github.author}/${github.project}/archive/
24
25# Override non-standard tag names for github livecheck
26distname        hidapi-${version}
27
28checksums       rmd160  546c7df938595fa7c731c5f44477158626728fa3 \
29                sha256  3c147200bf48a04c1e927cd81589c5ddceff61e6dac137a605f6ac9793f4af61
30
31worksrcdir      hidapi-hidapi-${version}
32
33use_autoreconf  yes
34
35variant testgui description {Test GUI for libhidapi} {
36   configure.args-append  --enable-testgui
37       depends_lib-append    port:fox
38}