[58602] trunk/dports/sysutils/mc/Portfile

snc at macports.org snc at macports.org
Thu Oct 1 16:13:19 PDT 2009


Revision: 58602
          http://trac.macports.org/changeset/58602
Author:   snc at macports.org
Date:     2009-10-01 16:13:15 -0700 (Thu, 01 Oct 2009)
Log Message:
-----------
fix the homepage, master_sites, livecheck, and dependencies (to guarantee the use of MacPorts dependencies and not others the user might have installed); ticket #21218. add modeline

Modified Paths:
--------------
    trunk/dports/sysutils/mc/Portfile

Modified: trunk/dports/sysutils/mc/Portfile
===================================================================
--- trunk/dports/sysutils/mc/Portfile	2009-10-01 22:56:09 UTC (rev 58601)
+++ trunk/dports/sysutils/mc/Portfile	2009-10-01 23:13:15 UTC (rev 58602)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem 1.0
@@ -15,13 +16,17 @@
 	operations more efficient and preserving the full power of \
 	the command prompt. After some practice, you will wonder how \
 	you could ever live without it.
-homepage	http://www.ibiblio.org/mc/
+homepage	http://www.midnight-commander.org/
 platforms	darwin
-master_sites	http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/
+master_sites	${homepage}downloads
 checksums	md5 18b20db6e40480a53bac2870c56fc3c4 \
 		sha1 92be0802143245e0fb7e3847d70da614cad7d5fb \
 		rmd160 d565ee95a8916d73fad5e0defeb9f2f57e50962b
-depends_build	bin:pkg-config:pkgconfig
-depends_lib	lib:glib2:glib2
+depends_build	path:bin/pkg-config:pkgconfig
+depends_lib	path:lib/pkgconfig/glib-2.0.pc:glib2
 configure.args	--without-x --with-screen=ncurses \
 	--infodir=${prefix}/share/info --mandir=${prefix}/share/man
+
+livecheck.type	regex
+livecheck.url	[lindex ${master_sites} 0]
+livecheck.regex	${name}-(\[0-9.\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091001/a492c1d0/attachment.html>


More information about the macports-changes mailing list