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

name                nasty
version             0.6
revision            1
categories          security
license             GPL-2
platforms           darwin
maintainers         nomaintainer

description         passphrase revovery helper for PGP and GPG keys

long_description    Nasty is a program that helps you to recover the \
                    passphrase of your PGP or GPG-key in case you forget or lost \
                    it. This tool will not help if you have no clue about the \
                    passphrase!

homepage            https://www.vanheusden.com/nasty/
master_sites        ${homepage}

checksums           md5     f8181bd8d887acd869ce677034465c6f

depends_lib         port:gpgme \
                    port:pth

extract.suffix      .tgz

patchfiles          patch-Makefile

use_configure       no

variant universal {}
build.env           CC=${configure.cc} \
                    "CFLAGS=${configure.cflags} ${configure.cppflags} [get_canonical_archflags cc]" \
                    "LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]"

destroot.destdir    prefix=${destroot}${prefix}