mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
# -*- 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-import 0.1
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 1
|
|
maintainers nomaintainer
|
|
categories security
|
|
description A generic importer extension for the standard unix password manager pass.
|
|
long_description {*}${description}
|
|
platforms any
|
|
supported_archs noarch
|
|
license GPL-2+
|
|
|
|
depends_lib port:pass
|
|
|
|
checksums rmd160 4f9ec425a0eef55679fa41cfbefaed56831f2412 \
|
|
sha256 c28aeefe66f102c47e37fe3e6bf31fc1934f1d43ceb396249af640a94483077b
|
|
|
|
# uses gnu install for destroot
|
|
depends_build-append path:libexec/coreutils/libstdbuf.so:coreutils
|
|
|
|
use_configure no
|
|
build {}
|
|
|
|
post-extract {
|
|
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}
|