[44115] trunk/dports/databases/freetds/Portfile

devans at macports.org devans at macports.org
Sun Dec 21 19:29:11 PST 2008


Revision: 44115
          http://trac.macports.org/changeset/44115
Author:   devans at macports.org
Date:     2008-12-21 19:29:10 -0800 (Sun, 21 Dec 2008)
Log Message:
-----------
freetds: fix livecheck, add modeline, additional master_site.

Modified Paths:
--------------
    trunk/dports/databases/freetds/Portfile

Modified: trunk/dports/databases/freetds/Portfile
===================================================================
--- trunk/dports/databases/freetds/Portfile	2008-12-22 01:51:42 UTC (rev 44114)
+++ trunk/dports/databases/freetds/Portfile	2008-12-22 03:29:10 UTC (rev 44115)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -11,7 +12,8 @@
 long_description FreeTDS is an open source implementation of the TDS (Tabular DataStream) protocol used by these databases for their own clients. It supports many different flavors of the protocol and supports several APIs to access it. Additionally FreeTDS works with other software such as Perl and PHP, providing access from those languages as well. There is also a native (type 4) JDBC driver available for platform-independent Java clients (including Java Server Pages applications), with support for most of the JDBC 1 API and portions of the JDBC 2 API.
 
 homepage	http://www.freetds.org/
-master_sites    http://ibiblio.org/pub/Linux/ALPHA/${name}/stable/ \
+master_sites    ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/ \
+                http://ibiblio.org/pub/Linux/ALPHA/${name}/stable/ \
                 http://ibiblio.org/pub/Linux/ALPHA/${name}/old/${version}/
 checksums	md5 3df6b2e83fd420e90f1becbd1162990a \
 		sha1 7e2a0c9e41c240c2d1c7f69c6f278e9a5bb80c2d \
@@ -64,3 +66,7 @@
 	depends_lib-append port:unixODBC
 	configure.args-append --with-unixodbc=${prefix}
 }
+
+livecheck.check regex
+livecheck.url   ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081221/78ae6651/attachment.html>


More information about the macports-changes mailing list