[33038] trunk/dports/gnome/gnome-menus/Portfile

nox at macports.org nox at macports.org
Wed Jan 16 19:25:55 PST 2008


Revision: 33038
          http://trac.macosforge.org/projects/macports/changeset/33038
Author:   nox at macports.org
Date:     2008-01-16 19:25:54 -0800 (Wed, 16 Jan 2008)

Log Message:
-----------
gnome-menus:
 * Updated to 2.20.3.
 * Fixed dependencies.
 * Added md5 and sha1 checksums.
 * Added livecheck.
 * Changed post-extract stage to a post-patch one.

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

Modified: trunk/dports/gnome/gnome-menus/Portfile
===================================================================
--- trunk/dports/gnome/gnome-menus/Portfile	2008-01-17 03:22:10 UTC (rev 33037)
+++ trunk/dports/gnome/gnome-menus/Portfile	2008-01-17 03:25:54 UTC (rev 33038)
@@ -3,7 +3,8 @@
 PortSystem      1.0
 
 name            gnome-menus
-version         2.20.1
+version         2.20.3
+set branch      [join [lrange [split ${version} .] 0 1] .]
 maintainers     nomaintainer
 categories      gnome
 platforms       darwin 
@@ -13,25 +14,32 @@
     ${description}
 
 homepage        http://www.gnome.org/
-master_sites    gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/
+master_sites    gnome:sources/${name}/${branch}/
 use_bzip2       yes
 
-checksums       rmd160 8ffef9d7e76c9876df720436feb99ab36404ee9d
+checksums       md5 b8ab05f5edfdc3e6a46662a504934657 \
+                sha1 25c8161f1bb4ecd4a868cbf1b59edcfb06adaa51 \
+                rmd160 eb1ff84b161d8354b1ee30364cefec91a43ff57d
 
-depends_build   port:gnome-doc-utils
+post-patch {
+    reinplace "s|/usr/bin/env python|${prefix}/bin/python|g" \
+        ${worksrcpath}/simple-editor/gmenu-simple-editor.in \
+        ${worksrcpath}/simple-editor/GMenuSimpleEditor/config.py.in \
+        ${worksrcpath}/simple-editor/GMenuSimpleEditor/main.py \
+        ${worksrcpath}/simple-editor/GMenuSimpleEditor/maindialog.py \
+        ${worksrcpath}/simple-editor/GMenuSimpleEditor/menufilewriter.py \
+        ${worksrcpath}/simple-editor/GMenuSimpleEditor/menutreemodel.py  
+}
 
+depends_build   port:gnome-doc-utils \
+                port:intltool
+
 depends_lib     port:glib2 \
+                port:gettext \
                 port:py25-gtk
-    
-configure.args  --mandir=${prefix}/share/man
 
 configure.env   PYTHON=${prefix}/bin/python2.5
 
-post-extract {
-    reinplace "s|/usr/bin/env python|${prefix}/bin/python|g" ${worksrcpath}/simple-editor/gmenu-simple-editor.in
-    reinplace "s|/usr/bin/env python|${prefix}/bin/python|g" ${worksrcpath}/simple-editor/GMenuSimpleEditor/config.py.in
-    reinplace "s|/usr/bin/env python|${prefix}/bin/python|g" ${worksrcpath}/simple-editor/GMenuSimpleEditor/main.py
-    reinplace "s|/usr/bin/env python|${prefix}/bin/python|g" ${worksrcpath}/simple-editor/GMenuSimpleEditor/maindialog.py
-    reinplace "s|/usr/bin/env python|${prefix}/bin/python|g" ${worksrcpath}/simple-editor/GMenuSimpleEditor/menufilewriter.py
-    reinplace "s|/usr/bin/env python|${prefix}/bin/python|g" ${worksrcpath}/simple-editor/GMenuSimpleEditor/menutreemodel.py    
-}
+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/20080116/4056013c/attachment.html


More information about the macports-changes mailing list