source: trunk/dports/security/lastpass-cli/Portfile @ 129502

Last change on this file since 129502 was 129502, checked in by khindenburg@…, 5 years ago

lastpass-cli: new port #45578 (and #45886)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# # -*- 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
2# $Id: Portfile 129502 2014-12-14 17:59:07Z khindenburg@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        lastpass lastpass-cli 0.4.0 v
8
9categories          security
10platforms           darwin
11maintainers         gmail.com:israelchauca oaf.dk:mni khindenburg openmaintainer
12license             GPL-2
13supported_archs     noarch
14
15description         C99 command line interface to LastPass.com
16long_description    ${description}
17
18conflicts           ${name}-pinentry
19
20depends_lib-append  port:curl \
21                    port:libxml2 \
22                    port:openssl
23
24checksums           rmd160  22980c6937c20b41f7c694aeb38bc5a8b8afbffc \
25                    sha256  c2681e9ef6e45e00e18ec077b33ab0d0de863aaae095c201eed294f9eae37ba3
26
27use_configure       no
28
29build.args-append   CC=${configure.cc} \
30                    CXX=${configure.cxx} \
31                    CPP=${configure.cpp}
32
33build.env-append    PREFIX=${prefix}
34destroot.env-append PREFIX=${prefix}
35
36subport ${name}-pinentry {
37    description-append      using pinentry
38    long_description-append using pinentry
39
40    conflicts               ${name}
41    depends_lib-append      port:pinentry
42}
43
44subport ${name}-doc {
45    description             Documentation for command line interface to LastPass.com
46    long_description        ${description}
47
48    depends_build-append    port:asciidoc
49    build.target            doc-man
50    destroot.target         install-doc
51
52    post-destroot {
53        file delete ${destroot}${prefix}/bin/lpass
54    }
55}
Note: See TracBrowser for help on using the repository browser.