-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
34 lines (25 loc) · 1.12 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- 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
revision 1
maintainers nomaintainer
categories security
description A generic importer extension for the standard unix password manager pass.
long_description ${description}
platforms darwin
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}