source: trunk/dports/security/KeePassX/Portfile @ 146743

Last change on this file since 146743 was 145432, checked in by eborisch@…, 3 years ago

KeePassX: Update to 2.0.2. Closes #50539.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 145432 2016-02-05 03:20:04Z eborisch@macports.org $
3
4PortSystem              1.0
5PortGroup               qt4 1.0
6PortGroup               github 1.0
7PortGroup               cmake 1.0
8github.setup            keepassx keepassx 2.0.2
9
10name                    KeePassX
11revision                0
12categories              security aqua
13maintainers             nomaintainer
14
15description             KeePassX is a password manager compatiable with KeePass
16long_description        KeePassX is an application for people with extremely \
17                        high demands on secure personal data management. It \
18                        has a light interface and is cross platform. KeePassX \
19                        saves many different types of information including \
20                        user names, passwords, URLs, attachments and comments \
21                        in one single database.
22
23platforms               darwin
24license                 GPL-2 LGPL-2 LGPL-3 BSD permissive
25license_noconflict      openssl
26
27notes "
28Beware: this is a beta release. Make sure to regularly backup your database.
29"
30
31homepage                https://www.keepassx.org/
32
33checksums \
34    rmd160  3a88d770cad7f5180e8a1dd622eabe07dc08421b \
35    sha256  cc14abf38a329ad54238bce1eb74cdea0df01f6a48a3be6188d7ddac49f9112a
36
37depends_lib-append      port:libgcrypt \
38                        port:zlib
39
40depends_build-append    port:cmake
41
42cmake.out_of_source     yes
43configure.pre_args-append \
44    -DCMAKE_INSTALL_PREFIX=${applications_dir}
45
46if {${configure.cxx_stdlib} eq "libstdc++"} {
47    configure.pre_args-append   -DWITH_CXX11=OFF
48}
49
50# Don't make copies of all the QT4 libraries etc... (MUCH smaller install)
51post-configure {
52    reinplace "s/FIXUP_QT4_EXECUTABLE.*//" \
53        ${cmake.build_dir}/src/cmake_install.cmake
54}
55
56post-destroot {
57    xinstall -d ${destroot}${prefix}/share/doc/${name}
58    xinstall -W ${worksrcpath} COPYING LICENSE.BSD LICENSE.CC0 \
59             LICENSE.GPL-2 LICENSE.LGPL-2.1 LICENSE.LGPL-3 \
60             LICENSE.NOKIA-LGPL-EXCEPTION \
61             ${destroot}${prefix}/share/doc/${name}
62}
63
64livecheck.type          regex
65livecheck.url           https://www.keepassx.org/releases/
66livecheck.regex         {href="([^/]+)\/"}
Note: See TracBrowser for help on using the repository browser.