# -*- 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 # $Id: Portfile 145103 2016-01-26 00:18:27Z eborisch@macports.org $ PortSystem 1.0 PortGroup qt4 1.0 PortGroup github 1.0 PortGroup cmake 1.0 github.setup keepassx keepassx 2.0.0 name KeePassX revision 0 categories security aqua maintainers nomaintainer description KeePassX is a password manager compatiable with KeePass long_description KeePassX is an application for people with extremely \ high demands on secure personal data management. It \ has a light interface and is cross platform. KeePassX \ saves many different types of information including \ user names, passwords, URLs, attachments and comments \ in one single database. platforms darwin license GPL-2 LGPL-2 LGPL-3 BSD permissive license_noconflict openssl notes " Beware: this is a beta release. Make sure to regularly backup your database. " homepage https://www.keepassx.org/ checksums \ rmd160 90a52039a48a1cbdca6aa7f1e1db3a530f80ff33 \ sha256 0ebf648dff999db4bd0de5ca230be347f0eec622829ea1b72644d8127b00f906 depends_lib-append port:libgcrypt \ port:zlib depends_build-append port:cmake cmake.out_of_source yes configure.pre_args-append \ -DCMAKE_INSTALL_PREFIX=${applications_dir} if {${configure.cxx_stdlib} eq "libstdc++"} { configure.pre_args-append -DWITH_CXX11=OFF } # Don't make copies of all the QT4 libraries etc... (MUCH smaller install) post-configure { reinplace "s/FIXUP_QT4_EXECUTABLE.*//" \ ${cmake.build_dir}/src/cmake_install.cmake } post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -W ${worksrcpath} COPYING LICENSE.BSD LICENSE.CC0 \ LICENSE.GPL-2 LICENSE.LGPL-2.1 LICENSE.LGPL-3 \ LICENSE.NOKIA-LGPL-EXCEPTION \ ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.url ${homepage}dev/projects/keepassx/files livecheck.regex keepassx-(\[-alphabet\\d\.\]+).tar.gz