Ticket #11529: pinentry-0.7.2.diff
File pinentry-0.7.2.diff, 2.4 KB (added by pipping@…, 18 years ago) |
---|
-
Portfile
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 … … 14 13 15 14 homepage http://www.gnupg.org/aegypten2 16 15 platforms darwin 17 master_sites ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/pinentry \ 18 ftp://ftp.gnupg.org/gcrypt/pinentry/ 16 master_sites http://mirrors.rootmode.com/ftp.gnupg.org/${name}/ \ 17 ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/${name}/ \ 18 ftp://ftp.gnupg.org/gcrypt/${name}/ 19 19 20 checksums md5 7861d63dea6434a5a05da84e83f209e6 20 checksums md5 55626ce13ed76d82ec5330d19bdf3ab4 \ 21 sha1 aa113b08e315d22b6f70a634f459fdfbaa4dcaba \ 22 rmd160 db667256801545ef065d9d47cafe5e67137fa6ce 21 23 22 24 configure.args --mandir=${prefix}/share/man \ 23 --infodir=${prefix}/share/info 25 --infodir=${prefix}/share/info \ 26 --with-libiconv-prefix=${prefix} \ 27 --with-ncurses-include-dir=${prefix}/include/ncurses \ 28 --enable-pinentry-curses \ 29 --disable-pinentry-gtk2 \ 30 --disable-pinentry-gtk \ 31 --disable-pinentry-qt 24 32 25 depends_lib lib:libgcrypt.11:libgcrypt lib:libksba.8:libksba \ 26 lib:libassuan:libassuan 33 depends_lib port:libiconv port:ncurses 27 34 28 #test.run yes 29 #test.dir ${worksrcpath}/checks 30 #test.target check 35 variant gtk1 { 36 depends_lib port:gtk1 37 configure.args-append --enable-pinentry-gtk --enable-fallback-curses 38 } 31 39 32 post-destroot{33 file delete -force ${destroot}${prefix}/share/info/dir34 system "cd ${destroot}/${prefix}/bin && ln -s pinentry-curses pinentry"40 variant gtk2 { 41 depends_lib lib:libgtk-x11-2.0:gtk2 42 configure.args-append --enable-pinentry-gtk2 --enable-fallback-curses 35 43 } 44 45 variant qt3 { 46 depends_lib lib:libqt-mt.3:qt3 47 configure.env-append QTDIR=/opt/local/lib MOC=/opt/local/bin/moc 48 configure.args-append --enable-pinentry-qt --enable-fallback-curses \ 49 --with-qt-includes=/opt/local/include/qt3 \ 50 --with-qt-libraries=/opt/local/lib 51 } 52 53 platform darwin { 54 configure.args-append --disable-rpath 55 }