source: trunk/dports/gnome/libwnck/Portfile @ 117421

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

libwnck: replace in-tree intltool.m4 with our version, autoreconf to correct intltool configuration, build deps.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 117421 2014-02-25 23:16:33Z devans@macports.org $
3
4PortSystem      1.0
5
6name            libwnck
7version         2.30.7
8revision        5
9set branch      [join [lrange [split ${version} .] 0 1] .]
10maintainers     nomaintainer
11categories      gnome
12platforms       darwin
13license         LGPL-2+
14description     Library used for writing pagers and taskslists.
15
16long_description \
17    libwnck is a Window Navigator Construction Kit, i.e. a library \
18    to use for writing pagers and taskslists and stuff.  It is \
19    needed for the GNOME 2.0 desktop.
20
21homepage        http://www.gnome.org/
22master_sites    gnome:sources/${name}/${branch}/
23use_xz          yes
24
25checksums       sha256  8be84d5333f0ade0e61af9f4cbf7685cb7cce2aa0ee32f53bac32107a81fe194
26
27depends_build   port:pkgconfig \
28                port:intltool \
29                port:gnome-doc-utils \
30                port:gnome-common
31
32depends_lib     port:startup-notification \
33                port:gobject-introspection \
34                port:gtk2 \
35                port:xorg-libXres
36
37pre-fetch {
38    if {![file exists $prefix/lib/libgdk-x11-2.0.dylib]} {
39        ui_error "gtk2 must be installed with +x11 variant enabled."
40        error "gtk2 must be installed with +x11 variant."
41    }
42}
43
44# update m4/intltool.m4 and autoreconf
45
46pre-configure {
47    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
48}
49
50use_autoreconf      yes
51autoreconf.args     -fvi
52
53configure.args  --x-includes=${prefix}/include \
54                --x-libraries=${prefix}/lib \
55                --enable-introspection \
56                --disable-silent-rules
57
58# gobject-introspection uses g-ir-scanner, which uses $CC from env
59build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
60
61# The rules enabled by gobject-introspection require GNU make 3.81+
62platform darwin 8 {
63    depends_build-append    port:gmake
64    build.cmd               ${prefix}/bin/gmake
65}
66
67livecheck.type  gnome
68livecheck.regex {LATEST-IS-(2\.\d*[02468](?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.