# -*- 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
# $Id: Portfile 117501 2014-03-01 13:37:01Z cal@macports.org $

PortSystem 1.0

name            cardpeek
version         0.8.2
categories      sysutils
platforms       darwin
license         {GPL-3+ OpenSSLException}
maintainers     m4x.org:db_macports openmaintainer

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 df51553d229522d8958422cc444c717ea84062db \
                sha256 5c616aca68918ce35c8c8378006afdb524f9eef76a2ccc296f5365d389b46c61

depends_build   port:pkgconfig

depends_lib     port:gtk3 path:lib/pkgconfig/glib-2.0.pc:glib2 port:lua port:libiconv port:curl port:openssl

configure.ldflags -liconv
build.args      V=1
