[87715] trunk/dports/mail/gnupg12/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Dec 1 23:31:06 PST 2011


Revision: 87715
          http://trac.macports.org/changeset/87715
Author:   ryandesign at macports.org
Date:     2011-12-01 23:31:05 -0800 (Thu, 01 Dec 2011)
Log Message:
-----------
gnupg12: update to 1.2.8; make bzip2 and gettext support always-on, eliminating the variants; add missing libiconv and zlib dependencies; see #32330

Modified Paths:
--------------
    trunk/dports/mail/gnupg12/Portfile

Modified: trunk/dports/mail/gnupg12/Portfile
===================================================================
--- trunk/dports/mail/gnupg12/Portfile	2011-12-02 07:20:14 UTC (rev 87714)
+++ trunk/dports/mail/gnupg12/Portfile	2011-12-02 07:31:05 UTC (rev 87715)
@@ -3,8 +3,7 @@
 PortSystem 1.0
 
 name                    gnupg12
-version                 1.2.7
-revision                1
+version                 1.2.8
 platforms               darwin linux
 categories              mail
 description             GNU Privacy Guard
@@ -21,18 +20,28 @@
 use_bzip2               yes
 distfiles               [suffix ${distname}]:gnupg
 checksums               [suffix ${distname}] \
-                          md5  26f19692a9b8a870e3f156d7281f662c \
-                          sha1 c8e47066e5bb61d74f4001b51117bf3a56a7dd3b
-patch                   { reinplace s/PACKAGE='gnupg/&12/ \
-                            ${worksrcpath}/configure }
+                        rmd160  eff26780bcf78a83931cee79a4e7e91e435f958e \
+                        sha256  1151674ea2c14e9c1160a89fdf0d9433125738073e9324216af1a9c7aa4d7139
+
+post-patch              { reinplace s/PACKAGE='gnupg/&12/ \
+                            ${worksrcpath}/configure
+                          file rename ${worksrcpath}/po/gnupg.pot \
+                            ${worksrcpath}/po/gnupg12.pot }
+
 configure.args          --infodir=${prefix}/share/info \
                         --mandir=${prefix}/share/man \
                         --program-transform-name='s/pg/&12/' \
                         --enable-static-rnd=linux \
-                        --disable-nls \
                         --with-libiconv-prefix=${prefix} \
+                        --with-libintl-prefix=${prefix} \
                         --with-zlib=${prefix} \
-                        --without-bzip2
+                        --with-bzip2=${prefix}
+
+depends_lib             port:libiconv \
+                        port:gettext \
+                        port:zlib \
+                        port:bzip2
+
 test.run                yes
 test.dir                ${worksrcpath}/checks
 test.target             check
@@ -40,21 +49,10 @@
                             ${destroot}${prefix}/share/info/gpg12.info
                           file rename \
                             ${destroot}${prefix}/share/info/gpgv.info \
-                            ${destroot}${prefix}/share/info/gpg12v.info }
-variant nls {
-  post-patch            { file rename ${worksrcpath}/po/gnupg.pot \
-                            ${worksrcpath}/po/gnupg12.pot }
-  configure.args-delete --disable-nls
-  configure.args-append --enable-nls \
-                        --with-libintl-prefix=${prefix}
-  post-destroot         { file delete ${destroot}${prefix}/lib/charset.alias \
+                            ${destroot}${prefix}/share/info/gpg12v.info
+                          file delete ${destroot}${prefix}/lib/charset.alias \
                             ${destroot}${prefix}/share/locale/locale.alias }
-}
-variant bzip2 {
-  depends_lib-append    lib:libbz2.1:bzip2
-  configure.args-delete --without-bzip2
-  configure.args-append --with-bzip2=${prefix}
-}
+
 variant tiger {
   configure.args-append --enable-tiger
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111201/dd349740/attachment.html>


More information about the macports-changes mailing list