[22973] trunk/dports/security/pinentry/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 20 17:01:27 PDT 2007


Revision: 22973
          http://trac.macosforge.org/projects/macports/changeset/22973
Author:   pipping at macports.org
Date:     2007-03-20 17:01:27 -0700 (Tue, 20 Mar 2007)

Log Message:
-----------
 * apply patch submitted by boeyms at fastmail.fm
 * add checksums
 * rework mirrors

Modified Paths:
--------------
    trunk/dports/security/pinentry/Portfile

Modified: trunk/dports/security/pinentry/Portfile
===================================================================
--- trunk/dports/security/pinentry/Portfile	2007-03-20 23:25:42 UTC (rev 22972)
+++ trunk/dports/security/pinentry/Portfile	2007-03-21 00:01:27 UTC (rev 22973)
@@ -2,8 +2,7 @@
 
 PortSystem  1.0
 name        pinentry
-version     0.7.1
-revision    2
+version     0.7.2
 categories  security
 maintainers yeled at macports.org
 description Passphrase entry dialog utilizing the Assuan protocol
@@ -14,22 +13,43 @@
 
 homepage    http://www.gnupg.org/aegypten2
 platforms   darwin
-master_sites    ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/pinentry \
-                ftp://ftp.gnupg.org/gcrypt/pinentry/ 
+master_sites    http://mirrors.rootmode.com/ftp.gnupg.org/${name}/ \
+        ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/${name}/ \
+        ftp://ftp.gnupg.org/gcrypt/${name}/
         
-checksums   md5 7861d63dea6434a5a05da84e83f209e6
+checksums   md5 55626ce13ed76d82ec5330d19bdf3ab4 \
+            sha1 aa113b08e315d22b6f70a634f459fdfbaa4dcaba \
+            rmd160 db667256801545ef065d9d47cafe5e67137fa6ce
 
 configure.args  --mandir=${prefix}/share/man \
-        --infodir=${prefix}/share/info
+        --infodir=${prefix}/share/info \
+        --with-libiconv-prefix=${prefix} \
+        --with-ncurses-include-dir=${prefix}/include/ncurses \
+        --enable-pinentry-curses \
+        --disable-pinentry-gtk2 \
+        --disable-pinentry-gtk \
+        --disable-pinentry-qt
 
-depends_lib lib:libgcrypt.11:libgcrypt lib:libksba.8:libksba \
-        lib:libassuan:libassuan
+depends_lib     port:libiconv port:ncurses
 
-#test.run   yes
-#test.dir   ${worksrcpath}/checks
-#test.target    check
+variant gtk1 {
+        depends_lib port:gtk1
+        configure.args-append --enable-pinentry-gtk --enable-fallback-curses
+}
 
-post-destroot   {
-    file delete -force ${destroot}${prefix}/share/info/dir
-    system "cd ${destroot}/${prefix}/bin && ln -s pinentry-curses pinentry"
+variant gtk2 {
+        depends_lib lib:libgtk-x11-2.0:gtk2
+        configure.args-append --enable-pinentry-gtk2 --enable-fallback-curses
 }
+
+variant qt3 {
+        depends_lib lib:libqt-mt.3:qt3
+        configure.env-append QTDIR=/opt/local/lib MOC=/opt/local/bin/moc
+        configure.args-append --enable-pinentry-qt --enable-fallback-curses \
+                --with-qt-includes=/opt/local/include/qt3 \
+                --with-qt-libraries=/opt/local/lib
+}
+
+platform darwin {
+        configure.args-append --disable-rpath
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070320/33c04843/attachment.html


More information about the macports-changes mailing list