[104749] trunk/dports/devel/gnutls/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Apr 1 16:55:51 PDT 2013


Revision: 104749
          https://trac.macports.org/changeset/104749
Author:   ryandesign at macports.org
Date:     2013-04-01 16:55:51 -0700 (Mon, 01 Apr 2013)
Log Message:
-----------
gnutls: use branch variable

Modified Paths:
--------------
    trunk/dports/devel/gnutls/Portfile

Modified: trunk/dports/devel/gnutls/Portfile
===================================================================
--- trunk/dports/devel/gnutls/Portfile	2013-04-01 23:52:38 UTC (rev 104748)
+++ trunk/dports/devel/gnutls/Portfile	2013-04-01 23:55:51 UTC (rev 104749)
@@ -6,6 +6,7 @@
 
 name            gnutls
 version         3.1.10
+set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      devel security
 # yes, some of the libs are GPL only
 license         LGPL-2.1+ GPL-3+
@@ -20,7 +21,7 @@
     not include any patented algorithms \
     and is available under the GNU Lesser General Public License (LGPL).
 
-master_sites    ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1
+master_sites    ftp://ftp.gnutls.org/gcrypt/gnutls/v${branch}
 
 checksums       md5     9e73aa5c3ef3b7358159a31302e25aa7 \
                 rmd160  a4b3118fb6f0e9032f799079acc04ed8e523dabd \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130401/88073c19/attachment.html>


More information about the macports-changes mailing list