source: trunk/dports/security/KeePassX/Portfile

Last change on this file was 154115, checked in by ryandesign@…, 13 months ago

KeePassX: Update to 2.0.3

Resolves #52669

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