# -*- 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
PortGroup conflicts_build 1.0
license {GPL-3+ OpenSSLException}
description Cardpeek is a tool to read the contents of ISO7816 smart cards.
long_description Cardpeek is a tool to read the contents of ISO7816 smart cards. \
It features a GTK GUI to represent card data is a tree view, and \
is extensible with a scripting language (LUA). This tool is capable \
of reading the contents of the following types of cards like EMV \
bank cards, Electronic/Biometric passports, belgian eID card, \
Calypso transport cards, SIM cards, Vitale 2 (french health card)...
homepage http://pannetrat.com/Cardpeek/
master_sites http://downloads.pannetrat.com/install/
checksums rmd160 0d1118586f85512d4483d6be027921ecc222c1f8 \
sha256 9c78dfdf84493c551b49447e4bb46c8d7b33f0785b93893222b70b6115013a85
depends_build port:pkgconfig
path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/libssl.dylib:openssl \
# Does not work with lua 5.3 and might pick up wrong headers
# https://trac.macports.org/ticket/49481
configure.ldflags -liconv
livecheck.url http://pannetrat.com/Cardpeek/Install/
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}