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

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

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 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 139469 2015-08-18 01:10:17Z jmr@macports.org $
3
4PortSystem                  1.0
5
6name                        pinentry
7version                     0.9.5
8revision                    1
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  526cce33b4178fe86d64a6f48b01e90ec964dd10 \
25                            sha256  6a57fd3afc0d8aaa5599ffcb3ea4e7c42c113a181e8870122203ea018384688c
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-qt4
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 description {Legacy compatibility variant for qt4. Will be removed soon.} {
60}
61
62variant qt4 description {Enable qt4-based pinentry tool} {
63    PortGroup               qt4 1.0
64    configure.args-delete   --disable-pinentry-qt4
65    configure.args-append   --enable-pinentry-qt4 \
66                            --enable-fallback-curses \
67                            --with-qt-includes=${qt_includes_dir} \
68                            --with-qt-libraries=${qt_libs_dir}
69}
70
71platform darwin {
72    configure.args-append   --disable-rpath
73}
74
75livecheck.type              regex
76livecheck.url               ftp://ftp.gnupg.org/gcrypt/pinentry/
77livecheck.regex             ${name}-(\\d+\\.\\d+\\.\\d+)
Note: See TracBrowser for help on using the repository browser.