# -*- 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

github.setup            nfc-tools libnfc 1.8.0 libnfc-
revision                0
categories              comms devel
maintainers             nomaintainer
license                 LGPL-3+

description             Nearfield Communications Library (RFID)
long_description        ${name} is the first free NFC SDK and Programmers API \
                        released under the GNU Lesser General Public License. \
                        It provides complete transparency and royalty-free \
                        use for everyone.

homepage                http://www.libnfc.org

use_bzip2               yes

checksums               rmd160  62f014358fd9007840f276fae8b348a092662201 \
                        sha256  6d9ad31c86408711f0a60f05b1933101c7497683c2e0d8917d1611a3feba3dd5 \
                        size    553511
github.tarball_from     releases

depends_build           path:bin/pkg-config:pkgconfig
depends_lib             path:lib/pkgconfig/libusb-1.0.pc:libusb \
                        port:libusb-compat \
                        port:readline

configure.args-append   --disable-silent-rules \
                        --with-readline=${prefix}
