[116459] trunk/dports/mail/mutt-devel/Portfile

larryv at macports.org larryv at macports.org
Sat Jan 25 11:57:17 PST 2014


Revision: 116459
          https://trac.macports.org/changeset/116459
Author:   larryv at macports.org
Date:     2014-01-25 11:57:17 -0800 (Sat, 25 Jan 2014)
Log Message:
-----------
mutt-devel: Reformat and rearrange.

Modified Paths:
--------------
    trunk/dports/mail/mutt-devel/Portfile

Modified: trunk/dports/mail/mutt-devel/Portfile
===================================================================
--- trunk/dports/mail/mutt-devel/Portfile	2014-01-25 19:46:22 UTC (rev 116458)
+++ trunk/dports/mail/mutt-devel/Portfile	2014-01-25 19:57:17 UTC (rev 116459)
@@ -4,12 +4,13 @@
 PortSystem          1.0
 
 name                mutt-devel
-version             1.5.21 
+version             1.5.21
 revision            4
 categories          mail
 platforms           darwin
 license             GPL-2
 maintainers         nomaintainer
+
 description         Mongrel of Mail User Agents (part Elm, Pine, Mush, mh, etc)
 long_description    Mutt -- "The Mongrel of Mail User Agents" (part Elm, \
                     part Pine, part mh, part slrn, part everything else) is \
@@ -19,20 +20,20 @@
                     (including RFC1522 support for encoded headers), \
                     customizable key bindings, POP3, Delivery Status \
                     Notification (DSN) support, PGP/MIME, and S/MIME.
+homepage            http://www.mutt.org/
 
-homepage            http://www.mutt.org/
+depends_lib         port:gettext \
+                    port:libiconv \
+                    port:ncurses
+
 master_sites        ftp://ftp.mutt.org/mutt/devel/ \
                     sourceforge:project/mutt/mutt-dev
 distname            mutt-${version}
 checksums           ${distfiles} \
-                    md5     a29db8f1d51e2f10c070bf88e8a553fd \
-                    sha1    a8475f2618ce5d5d33bff85c0affdf21ab1d76b9 \
-                    rmd160  b235a42972ae410592253cdc117a90baf279f47a
+                        md5     a29db8f1d51e2f10c070bf88e8a553fd \
+                        sha1    a8475f2618ce5d5d33bff85c0affdf21ab1d76b9 \
+                        rmd160  b235a42972ae410592253cdc117a90baf279f47a
 
-depends_lib         port:gettext \
-                    port:libiconv \
-                    port:ncurses
-
 patch.args          -p1
 # upstream changeset to fix segfault, ticket #28269
 patchfiles          1a4c43138685.diff
@@ -54,9 +55,8 @@
 
 default_variants    +pop +imap
 
-
 if {![variant_isset db4] && ![variant_isset qdbm] && ![variant_isset tokyocabinet]} {
-        variant_set gdbm
+    variant_set     gdbm
 }
 
 # These variants' patches modify Makefile.am
@@ -96,8 +96,8 @@
     configure.args-append   --enable-compressed
     patch_sites-append      http://www.mutt.org.ua/download/mutt-1.5.21/
     patchfiles-append       patch-1.5.21.rr.compressed.gz
-    checksums-append        patch-1.5.21.rr.compressed.gz md5 \
-                                0632fd94c96b3e452144b730e3cf0fd3
+    checksums-append        patch-1.5.21.rr.compressed.gz \
+                                md5 0632fd94c96b3e452144b730e3cf0fd3
 }
 
 variant headercache conflicts db4 description {Enable header caching (requires gdbm, qdbm, or tokyocabinet)} {
@@ -107,24 +107,36 @@
 
 variant qdbm conflicts db4 gdbm tokyocabinet description {Use QDBM database} {
     depends_lib-append      port:qdbm
-    configure.args-append   --with-qdbm --without-bdb --without-gdbm --without-tokyocabinet
+    configure.args-append   --with-qdbm \
+                            --without-bdb \
+                            --without-gdbm \
+                            --without-tokyocabinet
 }
 
 variant gdbm conflicts db4 qdbm tokyocabinet description {Use GNU dbm database} {
     depends_lib-append      port:gdbm
-    configure.args-append   --with-gdbm --without-bdb --without-qdbm --without-tokyocabinet
+    configure.args-append   --with-gdbm \
+                            --without-bdb \
+                            --without-qdbm \
+                            --without-tokyocabinet
 }
 
 variant db4 conflicts qdbm gdbm tokyocabinet description {Use Berkeley DB database} {
     depends_lib-append          port:db44
-    configure.args-append       --with-bdb=${prefix} --without-qdbm --without-gdbm --without-tokyocabinet
+    configure.args-append       --with-bdb=${prefix} \
+                                --without-qdbm \
+                                --without-gdbm \
+                                --without-tokyocabinet
     configure.cppflags-append   "-I${prefix}/include/db44"
     configure.ldflags-append    "-L${prefix}/lib/db44"
 }
 
 variant tokyocabinet conflicts db4 gdbm qdbm description {Use Tokyo Cabinet database} {
     depends_lib-append      port:tokyocabinet
-    configure.args-append   --enable-tokyocabinet --without-bdb --without-gdbm --without-qdbm
+    configure.args-append   --enable-tokyocabinet \
+                            --without-bdb \
+                            --without-gdbm \
+                            --without-qdbm
 }
 
 # The patches for nntp and sidebar conflict, see ticket #15135
@@ -132,15 +144,15 @@
     configure.args-append   --enable-nntp
     patch_sites-append      http://www.mutt.org.ua/download/mutt-1.5.21/
     patchfiles-append       patch-1.5.21.vvv.nntp.gz
-    checksums-append        patch-1.5.21.vvv.nntp.gz md5 \
-                                afcf40f7e53a016b953cbf6af27b3cd8
+    checksums-append        patch-1.5.21.vvv.nntp.gz \
+                                md5 afcf40f7e53a016b953cbf6af27b3cd8
 }
 
 variant deepif description {Allow nested if-else sequences in strings} {
     patch_sites-append      http://home.uchicago.edu/~dgc/sw/mutt/
     patchfiles-append       patch-1.5.8.dgc.deepif.1
-    checksums-append        patch-1.5.8.dgc.deepif.1 md5 \
-                                b892597eff7b60c450b48c011ab941cb
+    checksums-append        patch-1.5.8.dgc.deepif.1 \
+                                md5 b892597eff7b60c450b48c011ab941cb
 }
 
 # whoa! messy FAIL
@@ -157,8 +169,8 @@
     #patch_sites-append http://www.schrab.com/aaron/mutt/
     patch_sites-append      http://home.uchicago.edu/~dgc/sw/mutt/
     patchfiles-append       patch-1.5.8.ats.date_conditional.1
-    checksums-append        patch-1.5.8.ats.date_conditional.1 md5 \
-                                83479a011390802b3f9f1c0f95b15199
+    checksums-append        patch-1.5.8.ats.date_conditional.1 \
+                                md5 83479a011390802b3f9f1c0f95b15199
 }
 
 variant xlabel description {Custom message-tagging - X-Label:} {
@@ -188,14 +200,16 @@
 }
 
 variant gpgme description {Enable GPGME crypto support} {
-    configure.args-append   --enable-gpgme --with-gpgme-prefix=${prefix}
+    configure.args-append   --enable-gpgme \
+                            --with-gpgme-prefix=${prefix}
     depends_lib-append      port:gpgme
+
     # the following patch makes mutt 1.5.20 compatible with gpgme 1.2.0, 
     # cf. http://bugs.gentoo.org/show_bug.cgi?id=278394
     # and http://dev.mutt.org/trac/ticket/3300
-    patchfiles-append         patch-1.5.20.gpgme.diff
-    checksums-append       patch-1.5.20.gpgme.diff md5 \
-                                 6faa84e2520dad7c603e8a8b9e0a9b30
+    patchfiles-append       patch-1.5.20.gpgme.diff
+    checksums-append        patch-1.5.20.gpgme.diff \
+                                md5 6faa84e2520dad7c603e8a8b9e0a9b30
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140125/ae7d6ddf/attachment-0001.html>


More information about the macports-changes mailing list