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

Last change on this file since 117050 was 117050, checked in by devans@…, 6 years ago

gnome-desktop, gnome-menus: replace m4/intltool.m4 by copying MacPorts installed version rather than patch tarball.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 117050 2014-02-14 01:32:54Z devans@macports.org $
3
4PortSystem      1.0
5
6name            gnome-menus
7version         3.10.1
8set branch      [join [lrange [split ${version} .] 0 1] .]
9maintainers     devans openmaintainer
10categories      gnome
11license         LGPL-2+
12platforms       darwin
13description     Menu component for the GNOME 3 Desktop.
14
15long_description \
16                ${description}
17
18homepage        http://www.gnome.org/
19master_sites    gnome:sources/${name}/${branch}/
20
21use_xz          yes
22
23checksums       rmd160  7ea8609b6c142469debd5ef55ebf2e6c68753095 \
24                sha256  46950aba274c1ad58234374fa9b235258650737307f3bc396af48eb983668a71
25
26depends_build   port:pkgconfig \
27                port:intltool \
28                port:gnome-common
29
30depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2 \
31                port:gobject-introspection
32
33# update m4/intltool.m4 and autoreconf
34
35pre-configure {
36    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
37}
38
39use_autoreconf  yes
40autoreconf.args -fvi
41
42configure.args  --enable-introspection \
43                --disable-silent-rules
44
45# gobject-introspection uses g-ir-scanner, which uses $CC from env
46build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
47
48# The rules enabled by gobject-introspection require GNU make 3.81+
49platform darwin 8 {
50    depends_build-append    port:gmake
51    build.cmd               ${prefix}/bin/gmake
52}
53
54livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.