# $Id: Portfile 36144 2008-04-19 11:07:57Z gui_dos@macports.org $ PortSystem 1.0 name gnome-menus version 2.22.1 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 6e31d10da8c1ef315ca2d7f02e807395 \ sha1 a943facc7d279145b683fe8b13aff0abe8c102c5 \ rmd160 7875afc047c8c8592133058c62e084e7708f90de 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 port:glib2 \ port:gettext \ port:py25-gtk configure.env 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+)*)}