[41921] trunk/dports/audio/libmad/Portfile

devans at macports.org devans at macports.org
Wed Nov 12 00:15:17 PST 2008


Revision: 41921
          http://trac.macports.org/changeset/41921
Author:   devans at macports.org
Date:     2008-11-12 00:15:15 -0800 (Wed, 12 Nov 2008)
Log Message:
-----------
libmad: lint, update homepage, fix livecheck, add modeline.

Modified Paths:
--------------
    trunk/dports/audio/libmad/Portfile

Modified: trunk/dports/audio/libmad/Portfile
===================================================================
--- trunk/dports/audio/libmad/Portfile	2008-11-12 07:51:17 UTC (rev 41920)
+++ trunk/dports/audio/libmad/Portfile	2008-11-12 08:15:15 UTC (rev 41921)
@@ -1,6 +1,8 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem 1.0
+
 name		libmad
 version		0.15.1b
 revision	1
@@ -12,7 +14,7 @@
 	MPEG-2 extension to Lower Sampling Frequencies.  \
 	All three audio layers (Layer I, Layer II, and Layer \
 	III a.k.a. MP3) are fully implemented.
-homepage	http://www.mars.org/home/rob/proj/mpeg/
+homepage	http://www.underbit.com/products/mad/
 platforms	darwin freebsd
 master_sites	ftp://ftp.mars.org/pub/mpeg/ \
 				sourceforge:mad
@@ -35,3 +37,7 @@
 	file mkdir ${destroot}${prefix}/lib/pkgconfig
 	file copy -force ${worksrcpath}/mad.pc ${destroot}${prefix}/lib/pkgconfig
 }
+
+livecheck.check regex
+livecheck.url   ftp://ftp.mars.org/pub/mpeg/
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*\[a-z\])${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081112/1176e9b0/attachment.html>


More information about the macports-changes mailing list