# -*- 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
github.setup roddhjav pass-import 0.1
description A generic importer extension for the standard unix password manager pass.
long_description ${description}
checksums rmd160 4f9ec425a0eef55679fa41cfbefaed56831f2412 \
sha256 c28aeefe66f102c47e37fe3e6bf31fc1934f1d43ceb396249af640a94483077b
# uses gnu install for destroot
depends_build-append port:coreutils
reinplace "s,@install,@ginstall,g" ${worksrcpath}/Makefile
# replace the assumption that /usr/lib is the prefix; fixed in next release
reinplace "s,/usr/lib/password-store,${prefix}/lib/password-store," ${worksrcpath}/import.bash
destroot.env-append PREFIX=${prefix}