# $Id: Portfile 43415 2008-12-10 20:01:47Z jmr@macports.org $ PortSystem 1.0 name gnome-menus version 2.24.2 set branch [join [lrange [split ${version} .] 0 1] .] maintainers nomaintainer categories gnome platforms darwin description Panel component for the GNOME 2 Desktop. long_description \ ${description} homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums md5 ca8e25b031fd7024b3f9abe1c6865d2c \ sha1 8769c37ca8a7045d9b79b02fd3fa3f89442b4271 \ rmd160 f377b2ea6f94a4ecd159e0a095c8a0ea3139ed37 post-patch { reinplace "s|/usr/bin/env python|${prefix}/bin/python2.5|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 path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:gettext \ port:py25-gtk configure.python ${prefix}/bin/python2.5 livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}