# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8::et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0

github.setup        roddhjav pass-update 1.0 v
maintainers         nomaintainer
categories          security
description         A pass extension that provides a convenient solution to update an existing password.
long_description    ${description}
platforms           darwin
supported_archs     noarch
license             GPL-2+

depends_lib         port:pass

checksums           rmd160  f669bf26394e0711a4ad9dff7c121b72241ff00e \
                    sha256  e3d15bdc1d9dc239aa71c17236934ce1510c859a467fe7f7b4591e59dfe3705c

# uses gnu install for destroot
depends_build-append port:coreutils

use_configure       no
build {}

post-extract {
    reinplace "s,@install,@ginstall,g" ${worksrcpath}/Makefile
}

destroot.env-append PREFIX=${prefix}