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

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        lastpass lastpass-cli 0.5.1 v
8
9categories          security
10platforms           darwin
11maintainers         gmail.com:israelchauca oaf.dk:mni khindenburg openmaintainer
12license             GPL-2
13supported_archs     noarch
14
15description         command line interface to LastPass.com
16long_description    ${description}
17
18depends_lib-append  port:curl \
19                    port:libxml2 \
20                    path:lib/libssl.dylib:openssl
21
22checksums           rmd160  3d4dfcec5e2399ec58dd6d6236da5477a04f0fcd \
23                    sha256  1bfd62757866668dcb2ff3ec608fccca49e4074f94e78f33e29eecd68479af53
24
25use_configure       no
26
27build.args-append   CC=${configure.cc} \
28                    CXX=${configure.cxx} \
29                    CPP=${configure.cpp}
30
31build.env-append    PREFIX=${prefix}
32destroot.env-append PREFIX=${prefix}
33
34if {${subport} eq ${name}} {
35    default_variants    +pinentry
36}
37
38variant pinentry description {Use GnuPG's password entry software pinentry} {
39    depends_lib-append  port:pinentry
40}
41
42subport ${name}-doc {
43    description             Documentation for command line interface to LastPass.com
44    long_description        ${description}
45
46    depends_build-append    port:asciidoc
47    build.target            doc-man
48    destroot.target         install-doc
49
50    post-destroot {
51        file delete ${destroot}${prefix}/bin/lpass
52    }
53}
Note: See TracBrowser for help on using the repository browser.