source: trunk/dports/gnome/gnome-menus/Portfile @ 43415

Last change on this file since 43415 was 43415, checked in by jmr@…, 9 years ago

gnome-menus: update to 2.24.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 43415 2008-12-10 20:01:47Z jmr@macports.org $
2
3PortSystem      1.0
4
5name            gnome-menus
6version         2.24.2
7set branch      [join [lrange [split ${version} .] 0 1] .]
8maintainers     nomaintainer
9categories      gnome
10platforms       darwin
11description     Panel component for the GNOME 2 Desktop.
12
13long_description \
14    ${description}
15
16homepage        http://www.gnome.org/
17master_sites    gnome:sources/${name}/${branch}/
18use_bzip2       yes
19
20checksums       md5 ca8e25b031fd7024b3f9abe1c6865d2c \
21                sha1 8769c37ca8a7045d9b79b02fd3fa3f89442b4271 \
22                rmd160 f377b2ea6f94a4ecd159e0a095c8a0ea3139ed37
23
24post-patch {
25    reinplace "s|/usr/bin/env python|${prefix}/bin/python2.5|g" \
26        ${worksrcpath}/simple-editor/gmenu-simple-editor.in \
27        ${worksrcpath}/simple-editor/GMenuSimpleEditor/config.py.in \
28        ${worksrcpath}/simple-editor/GMenuSimpleEditor/main.py \
29        ${worksrcpath}/simple-editor/GMenuSimpleEditor/maindialog.py \
30        ${worksrcpath}/simple-editor/GMenuSimpleEditor/menufilewriter.py \
31        ${worksrcpath}/simple-editor/GMenuSimpleEditor/menutreemodel.py
32}
33
34depends_build   port:gnome-doc-utils \
35                port:intltool
36
37depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2 \
38                port:gettext \
39                port:py25-gtk
40
41configure.python   ${prefix}/bin/python2.5
42
43livecheck.check regex
44livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
45livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.