[104629] trunk/dports/mail/gmime/Portfile

cal at macports.org cal at macports.org
Sat Mar 30 06:22:13 PDT 2013


Revision: 104629
          https://trac.macports.org/changeset/104629
Author:   cal at macports.org
Date:     2013-03-30 06:22:13 -0700 (Sat, 30 Mar 2013)
Log Message:
-----------
gmime: whitespace, use list operations rather than strsed to get $branch

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

Modified: trunk/dports/mail/gmime/Portfile
===================================================================
--- trunk/dports/mail/gmime/Portfile	2013-03-30 13:19:52 UTC (rev 104628)
+++ trunk/dports/mail/gmime/Portfile	2013-03-30 13:22:13 UTC (rev 104629)
@@ -1,23 +1,23 @@
 # -*- 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
 
-name		gmime
+name            gmime
 version         2.4.32
-set branch              [strsed ${version} {s/\.[0-9]*$//}]
+set branch      [join [lrange [split ${version} .] 0 1] .]
 
-description	MIME mail utilities
+description     MIME mail utilities
 long_description  The GMime suite provides a core library and set of utilities \
                   which may be used for the creation and parsing of messages \
                   using the Multipurpose Internet Mail Extension (MIME) \
                   configurable and incorporating all the features you would expect \
                   in a robust mail client.
-maintainers	nomaintainer
-categories	mail
-license		LGPL-2.1+
-platforms	darwin
-homepage	http://spruce.sourceforge.net/gmime/
+maintainers     nomaintainer
+categories      mail
+license         LGPL-2.1+
+platforms       darwin
+homepage        http://spruce.sourceforge.net/gmime/
 master_sites    gnome:sources/${name}/${branch}
 
 use_xz          yes
@@ -31,7 +31,7 @@
                 port:gettext \
                 port:zlib
 
-configure.args	--disable-mono --enable-largefile
+configure.args  --disable-mono --enable-largefile
 
 test.run        yes
 test.target     check
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130330/f8edaca2/attachment.html>


More information about the macports-changes mailing list