Ticket #11529: pinentry-0.7.1_to_0.7.2.diff

File pinentry-0.7.1_to_0.7.2.diff, 2.2 KB (added by boeyms@…, 17 years ago)
  • security/pinentry/Portfile

    diff -Naur dports/security/pinentry/Portfile dports-devel/security/pinentry/Portfile
    old new  
    22
    33PortSystem  1.0
    44name        pinentry
    5 version     0.7.1
    6 revision    2
     5version     0.7.2
    76categories  security
    87maintainers yeled@macports.org
    98description Passphrase entry dialog utilizing the Assuan protocol
     
    1716master_sites    ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/pinentry \
    1817                ftp://ftp.gnupg.org/gcrypt/pinentry/
    1918       
    20 checksums   md5 7861d63dea6434a5a05da84e83f209e6
     19checksums   md5 55626ce13ed76d82ec5330d19bdf3ab4 \
     20            sha1 aa113b08e315d22b6f70a634f459fdfbaa4dcaba \
     21            rmd160 db667256801545ef065d9d47cafe5e67137fa6ce
    2122
    2223configure.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
     32depends_lib     port:libiconv port:ncurses
     33
     34variant gtk1 {
     35        depends_lib port:gtk1
     36        configure.args-append --enable-pinentry-gtk --enable-fallback-curses
     37}
     38
     39variant gtk2 {
     40        depends_lib lib:libgtk-x11-2.0:gtk2
     41        configure.args-append --enable-pinentry-gtk2 --enable-fallback-curses
     42}
    2443
    25 depends_lib lib:libgcrypt.11:libgcrypt lib:libksba.8:libksba \
    26         lib:libassuan:libassuan
     44variant 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}
    2751
    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"
     52platform darwin {
     53        configure.args-append --disable-rpath
    3554}