diff -Naur dports/security/pinentry/Portfile dports-devel/security/pinentry/Portfile
old
|
new
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | name pinentry |
5 | | version 0.7.1 |
6 | | revision 2 |
| 5 | version 0.7.2 |
7 | 6 | categories security |
8 | 7 | maintainers yeled@macports.org |
9 | 8 | description Passphrase entry dialog utilizing the Assuan protocol |
… |
… |
|
17 | 16 | master_sites ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/pinentry \ |
18 | 17 | ftp://ftp.gnupg.org/gcrypt/pinentry/ |
19 | 18 | |
20 | | checksums md5 7861d63dea6434a5a05da84e83f209e6 |
| 19 | checksums md5 55626ce13ed76d82ec5330d19bdf3ab4 \ |
| 20 | sha1 aa113b08e315d22b6f70a634f459fdfbaa4dcaba \ |
| 21 | rmd160 db667256801545ef065d9d47cafe5e67137fa6ce |
21 | 22 | |
22 | 23 | configure.args --mandir=${prefix}/share/man \ |
23 | | --infodir=${prefix}/share/info |
| 24 | --infodir=${prefix}/share/info \ |
| 25 | --with-libiconv-prefix=${prefix} \ |
| 26 | --with-ncurses-include-dir=${prefix} \ |
| 27 | --enable-pinentry-curses \ |
| 28 | --disable-pinentry-gtk2 \ |
| 29 | --disable-pinentry-gtk \ |
| 30 | --disable-pinentry-qt |
| 31 | |
| 32 | depends_lib port:libiconv port:ncurses |
| 33 | |
| 34 | variant gtk1 { |
| 35 | depends_lib port:gtk1 |
| 36 | configure.args-append --enable-pinentry-gtk --enable-fallback-curses |
| 37 | } |
| 38 | |
| 39 | variant gtk2 { |
| 40 | depends_lib lib:libgtk-x11-2.0:gtk2 |
| 41 | configure.args-append --enable-pinentry-gtk2 --enable-fallback-curses |
| 42 | } |
24 | 43 | |
25 | | depends_lib lib:libgcrypt.11:libgcrypt lib:libksba.8:libksba \ |
26 | | lib:libassuan:libassuan |
| 44 | variant qt3 { |
| 45 | depends_lib lib:libqt-mt.3:qt3 |
| 46 | configure.env-append QTDIR=/opt/local/lib MOC=/opt/local/bin/moc |
| 47 | configure.args-append --enable-pinentry-qt --enable-fallback-curses \ |
| 48 | --with-qt-includes=/opt/local/include/qt3 \ |
| 49 | --with-qt-libraries=/opt/local/lib |
| 50 | } |
27 | 51 | |
28 | | #test.run yes |
29 | | #test.dir ${worksrcpath}/checks |
30 | | #test.target check |
31 | | |
32 | | post-destroot { |
33 | | file delete -force ${destroot}${prefix}/share/info/dir |
34 | | system "cd ${destroot}/${prefix}/bin && ln -s pinentry-curses pinentry" |
| 52 | platform darwin { |
| 53 | configure.args-append --disable-rpath |
35 | 54 | } |