# # -*- 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 PortSystem 1.0 PortGroup cmake 1.1 PortGroup github 1.0 github.setup lastpass lastpass-cli 1.6.0 v revision 0 categories security platforms darwin maintainers {en.sent.com:macports @Raimondi} oaf.dk:mni {khindenburg @kurthindenburg} openmaintainer license GPL-2 description command line interface to LastPass.com long_description ${description} depends_build-append port:pkgconfig depends_lib-append port:curl \ port:libxml2 \ path:lib/libssl.dylib:openssl checksums rmd160 ad04004509c6423af6e4a6f6a4306bc4a3eee528 \ sha256 34d7de917150cfacfec175400bf2fc401ac6c939368c541c09d7ef0fa19aaf46 \ size 119624 post-extract { copy ${filespath}/version.h ${worksrcpath}/ } if {${subport} eq ${name}} { default_variants +pinentry } variant pinentry description {Use GnuPG's password entry software pinentry} { depends_lib-append port:pinentry } subport ${name}-doc { description Documentation for command line interface to LastPass.com long_description ${description} depends_build-append port:asciidoc \ port:libxslt build.target doc-man destroot.target install-doc post-destroot { file delete ${destroot}${prefix}/bin/lpass } } # not ready to be used for casual use if {0} { pre-test { reinplace "s|lpass|${cmake.build_dir}/lpass|g" ${worksrcpath}/test/tests reinplace "s|lpass |${cmake.build_dir}/lpass |g" ${worksrcpath}/test/include.sh } test.run yes test.dir ${worksrcpath}/test test.cmd ./tests test.target }