# $Id$ PortSystem 1.0 name gnome-menus version 2.24.0 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 1816a0d21ef99d5b3a8bcd033c88f732 \ sha1 29c55f48a576216489ce139aa9c1bedf43394de1 \ rmd160 a1996a50861cf3011667635d8c87779c6c7ca3fb 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:${prefix}/lib/pkgconfig/glib-2.0.pc: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+)*)}