[128043] trunk/dports/mail/gnupg2/Portfile

ionic at macports.org ionic at macports.org
Tue Nov 11 14:54:06 PST 2014


Revision: 128043
          https://trac.macports.org/changeset/128043
Author:   ionic at macports.org
Date:     2014-11-11 14:54:06 -0800 (Tue, 11 Nov 2014)
Log Message:
-----------
gnupg2: indentation changes for consistency. no functional changes.

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

Modified: trunk/dports/mail/gnupg2/Portfile
===================================================================
--- trunk/dports/mail/gnupg2/Portfile	2014-11-11 22:54:01 UTC (rev 128042)
+++ trunk/dports/mail/gnupg2/Portfile	2014-11-11 22:54:06 UTC (rev 128043)
@@ -1,84 +1,81 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem      1.0
+PortSystem          1.0
 
 # When updating gnupg2, update gpg-agent also if applicable.
+name                gnupg2
+version             2.0.26
+categories          mail security
+maintainers         ionic openmaintainer
+license             GPL-3+
+installs_libs       no
 
-name            gnupg2
-version         2.0.26
-categories      mail security
-maintainers     ionic openmaintainer
-license         GPL-3+
-installs_libs   no
+description         GNU pretty-good-privacy package
+long_description    GnuPG is a complete and free replacement for PGP. Because       \
+                    it does not use the patented IDEA algorithm, it can be used     \
+                    without any restrictions. GnuPG is a RFC2440 (OpenPGP)          \
+                    compliant application.
+homepage            http://www.gnupg.org
+platforms           darwin freebsd sunos
+use_bzip2           yes
+distname            gnupg-${version}
+master_sites        gnupg:gnupg
 
-description     GNU pretty-good-privacy package
-long_description        \
-        GnuPG is a complete and free replacement for PGP. Because       \
-        it does not use the patented IDEA algorithm, it can be used     \
-        without any restrictions. GnuPG is a RFC2440 (OpenPGP)          \
-        compliant application.
-homepage        http://www.gnupg.org
-platforms       darwin freebsd sunos
-use_bzip2   yes
-distname    gnupg-${version}
-master_sites    gnupg:gnupg
+use_bzip2           yes
 
-use_bzip2       yes
+checksums           rmd160  874040ed8fad12067cbe67c8da222b2ad99a5a96 \
+                    sha256  7758e30dc382ae7a7167ed41b7f936aa50af5ea2d6fccdef663b5b750b65b8e0
 
-checksums       rmd160  874040ed8fad12067cbe67c8da222b2ad99a5a96 \
-                sha256  7758e30dc382ae7a7167ed41b7f936aa50af5ea2d6fccdef663b5b750b65b8e0
-
 # gpg-agent is built separately from the rest of gnupg2 to enable gnupg 1.x
-# users to use gpg-agent as well.  gnupg2, however, requires gpg-agent to run,
-# and so gnupg2 depends on gpg-agent.
+# users to use gpg-agent as well.
+# gnupg2, however, requires gpg-agent to run, and so gnupg2 depends on gpg-agent.
+configure.args      --disable-agent \
+                    --without-adns
 
-configure.args  --disable-agent \
-                --without-adns
-
 # glib fails to find the right stdint.h  It picks clang's internal one rather
 # than the system header
-configure.env   gl_cv_absolute_stdint_h=/usr/include/stdint.h
+configure.env       gl_cv_absolute_stdint_h=/usr/include/stdint.h
 
-depends_lib     port:libiconv           \
-                port:gettext            \
-                port:zlib               \
-                port:bzip2              \
-                port:bison              \
-                port:gpg-agent          \
-                port:libassuan          \
-                port:libksba            \
-                port:libgcrypt          \
-                port:libgpg-error       \
-                port:openldap           \
-                port:pth                \
-                port:readline           \
-                port:curl               \
-                port:libusb-compat
+depends_lib         port:libiconv           \
+                    port:gettext            \
+                    port:zlib               \
+                    port:bzip2              \
+                    port:bison              \
+                    port:gpg-agent          \
+                    port:libassuan          \
+                    port:libksba            \
+                    port:libgcrypt          \
+                    port:libgpg-error       \
+                    port:openldap           \
+                    port:pth                \
+                    port:readline           \
+                    port:curl               \
+                    port:libusb-compat
 
-patchfiles      patch-common-homedir.c.diff \
-                patch-configure.diff \
-                patch-tests__openpgp__Makefile.in.diff
+patchfiles          patch-common-homedir.c.diff \
+                    patch-configure.diff \
+                    patch-tests__openpgp__Makefile.in.diff
 
 post-patch {
     reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/common/homedir.c
 }
 
 post-destroot {
-        delete ${destroot}${prefix}/share/man/man1/gpg-zip.1
+    delete ${destroot}${prefix}/share/man/man1/gpg-zip.1
 }
 
-test.run        yes
-test.dir        ${worksrcpath}/tests
-test.target     check
+test.run            yes
+test.dir            ${worksrcpath}/tests
+test.target         check
 
 # See also the post-patch above.
 # Apparently we have no way of forcing gnupg2 to build without DirMngr support,
 # so we have to just hope we don't run into any problems.
 variant dirmngr description {Enable the use of DirMngr by gpgsm} {
-        depends_lib-append  port:dirmngr
+    depends_lib-append  port:dirmngr
 }
 
-livecheck.type  regex
-livecheck.url   ftp://ftp.gnupg.org/gcrypt/gnupg/
-livecheck.regex gnupg-(\\d+\\.\\d+\\.\\d+)
+livecheck.type      regex
+livecheck.url       ftp://ftp.gnupg.org/gcrypt/gnupg/
+livecheck.regex     gnupg-(\\d+\\.\\d+\\.\\d+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141111/11052dc4/attachment.html>


More information about the macports-changes mailing list