[43461] trunk/dports/gnome/metacity/Portfile

jmr at macports.org jmr at macports.org
Wed Dec 10 15:38:16 PST 2008


Revision: 43461
          http://trac.macports.org/changeset/43461
Author:   jmr at macports.org
Date:     2008-12-10 15:38:16 -0800 (Wed, 10 Dec 2008)
Log Message:
-----------
metacity: pkgconfig will find X now. Also fixed livecheck.

Modified Paths:
--------------
    trunk/dports/gnome/metacity/Portfile

Modified: trunk/dports/gnome/metacity/Portfile
===================================================================
--- trunk/dports/gnome/metacity/Portfile	2008-12-10 23:31:15 UTC (rev 43460)
+++ trunk/dports/gnome/metacity/Portfile	2008-12-10 23:38:16 UTC (rev 43461)
@@ -4,13 +4,14 @@
 
 name		metacity
 version		2.24.0
+set branch  [join [lrange [split ${version} .] 0 1] .]
 description	A window manager for the adult in you.
 long_description        ${description}
 maintainers	nomaintainer
 categories	gnome x11-wm 
 platforms	darwin 
 homepage	http://www.gnome.org
-master_sites    gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/
+master_sites    gnome:sources/${name}/${branch}/
 checksums	md5 d4aa782d5f71b6c42514b239684a4aa3 \
 			sha1 0b2e37e372498e26a6926fbb68e96556c6db6497 \
 			rmd160 758c26e163fdc84dcee1e386ab8cbefc38cdd7a5
@@ -23,18 +24,20 @@
 	port:xrender \
 	port:gnome-themes
 depends_build \
-	port:gnome-doc-utils
+	port:gnome-doc-utils \
+	port:pkgconfig
 
 use_bzip2 	yes
 
 patchfiles	patch-src_core_util.c.diff
 
-configure.pkg_config_path ${prefix}/lib/pkgconfig:${x11prefix}/lib/pkgconfig
 configure.args  --mandir=${prefix}/share/man \
-				--disable-scrollkeeper \
-				--x-libraries=${x11prefix}/lib \
-				--x-includes=${x11prefix}/include
+				--disable-scrollkeeper
 
 post-activate {
 	system "${prefix}/bin/scrollkeeper-update"
 }
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081210/184a447d/attachment.html>


More information about the macports-changes mailing list