source: trunk/dports/security/pinentry/Portfile @ 141178

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

pinentry: update to 0.9.6. Add new qt5 variant - conflicting with the legacy qt3 and normal qt4 variants. Fixes: #41144.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 141178 2015-10-11 20:17:59Z ionic@macports.org $
3
4PortSystem                  1.0
5
6name                        pinentry
7version                     0.9.6
8revision                    0
9categories                  security
10license                     GPL-2+
11maintainers                 ionic openmaintainer
12homepage                    http://www.gnupg.org/aegypten2
13platforms                   darwin
14master_sites                gnupg
15
16description                 Passphrase entry dialog utilizing the Assuan protocol
17
18long_description            This is a collection of simple PIN or passphrase entry \
19                            dialogs which utilize the Assuan protocol as described by \
20                            the aegypten project.
21
22use_bzip2                   yes
23
24checksums                   rmd160  1f2eb6ececac9c952ffb46b85b869300a4b27cd3 \
25                            sha256  2a1124e9097f24f866cab7982610677e222cea71be0a71a5566f223177e01e66
26
27configure.args              --with-libiconv-prefix=${prefix} \
28                            --with-ncurses-include-dir=${prefix}/include/ncurses \
29                            --enable-pinentry-curses \
30                            --disable-pinentry-gtk2 \
31                            --disable-pinentry-qt
32
33# Fix picking up the correct assuan version.
34# -isystem has the added benefit of moving the include
35# directory specified to the end of the include path list.
36# This will help the build system respect custom include
37# paths correctly (i.e., searching them before the MP include
38# directory.)
39configure.cppflags-replace  -I${prefix}/include -isystem${prefix}/include
40
41depends_build               port:pkgconfig
42depends_lib                 port:libiconv \
43                            port:ncurses \
44                            port:libassuan \
45                            port:libgpg-error
46
47# Remove after 11-14-2015.
48variant gtk1 requires gtk2 description {Legacy compatibility variant for gtk2. Will be removed soon.} {
49}
50
51variant gtk2 description {Enable gtk2-based pinentry tool} {
52    depends_lib-append      port:gtk2
53    configure.args-delete   --disable-pinentry-gtk2
54    configure.args-append   --enable-pinentry-gtk2 \
55                            --enable-fallback-curses
56}
57
58# Remove after 11-14-2015.
59variant qt3 requires qt4 conflicts qt5 description {Legacy compatibility variant for qt4. Will be removed soon.} {
60}
61
62
63# We actually must select the Qt version somehow.
64# autotools do an "auto-detection" trick that is non-reproducible...
65# FIXME: revisit this...
66variant qt4 conflicts qt5 description {Enable qt4-based pinentry tool} {
67    PortGroup               qt4 1.0
68    configure.args-delete   --disable-pinentry-qt
69    configure.args-append   --enable-pinentry-qt \
70                            --enable-fallback-curses
71}
72
73variant qt5 conflicts qt4 description {Enable qt5-based pinentry tool} {
74    PortGroup               qt5 1.0
75    configure.args-delete   --disable-pinentry-qt
76    configure.args-append   --enable-pinentry-qt \
77                            --enable-fallback-curses
78}
79
80platform darwin {
81    configure.args-append   --disable-rpath
82}
83
84livecheck.type              regex
85livecheck.url               ftp://ftp.gnupg.org/gcrypt/pinentry/
86livecheck.regex             ${name}-(\\d+\\.\\d+\\.\\d+)
Note: See TracBrowser for help on using the repository browser.