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

Last change on this file since 38077 was 38077, checked in by ryandesign@…, 11 years ago

In all openmaintainer and nomaintainer ports and my ports, depend on glib2 via a path in ${prefix} so that either glib2 or glib2-devel can satisfy the dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 38077 2008-07-05 21:37:56Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            gnome-menus
6version         2.22.1
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 6e31d10da8c1ef315ca2d7f02e807395 \
21                sha1 a943facc7d279145b683fe8b13aff0abe8c102c5 \
22                rmd160 7875afc047c8c8592133058c62e084e7708f90de
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:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
38                port:gettext \
39                port:py25-gtk
40
41configure.env   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.