[42954] trunk/dports/devel/libtool1/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Dec 2 13:15:20 PST 2008


Revision: 42954
          http://trac.macports.org/changeset/42954
Author:   ryandesign at macports.org
Date:     2008-12-02 13:15:20 -0800 (Tue, 02 Dec 2008)
Log Message:
-----------
libtool1: fix livecheck, and change dist_subdir so people don't have to re-download a file they already have from the libtool port

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

Modified: trunk/dports/devel/libtool1/Portfile
===================================================================
--- trunk/dports/devel/libtool1/Portfile	2008-12-02 21:15:12 UTC (rev 42953)
+++ trunk/dports/devel/libtool1/Portfile	2008-12-02 21:15:20 UTC (rev 42954)
@@ -3,6 +3,7 @@
 PortSystem      1.0
 
 name            libtool1
+set my_name     libtool
 version         1.5.26
 categories      devel sysutils
 maintainers     nomaintainer
@@ -17,7 +18,8 @@
 platforms       darwin freebsd
 master_sites    gnu:libtool
 
-distname        libtool-${version}
+dist_subdir     ${my_name}
+distname        ${my_name}-${version}
 checksums       md5 aa9c5107f3ec9ef4200eb6556f3b3c29 \
                 sha1 4c1738351736562a951a345e24f233d00953ec0a \
                 rmd160 4d1d7dd0308b98e8f590723ae5daddb8da49ac11
@@ -51,5 +53,5 @@
 test.target     check
 
 livecheck.check regex
-livecheck.url   http://ftp.gnu.org/gnu/${name}/?C=M&O=D
-livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
+livecheck.url   http://ftp.gnu.org/gnu/${my_name}/?C=M&O=D
+livecheck.regex ${my_name}-(1(?:\\.\\d+)+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081202/c37e672b/attachment.html>


More information about the macports-changes mailing list