source: trunk/dports/gnome/libwnck3/Portfile @ 115615

Last change on this file since 115615 was 115615, checked in by cal@…, 5 years ago

add gtk3-devel port at the request of devans, rewrite dependencies to be satisfyable using gtk3-devel, closes #42040

  • 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 115615 2014-01-07 00:28:17Z cal@macports.org $
3
4PortSystem      1.0
5PortGroup       active_variants 1.1
6
7name            libwnck3
8set gname       libwnck
9version         3.4.7
10revision        1
11set branch      [join [lrange [split ${version} .] 0 1] .]
12maintainers     nomaintainer
13categories      gnome
14platforms       darwin
15license         LGPL-2+
16description     Library used for writing pagers and taskslists.
17
18long_description \
19    libwnck is a Window Navigator Construction Kit, i.e. a library \
20    to use for writing pagers and taskslists and stuff.  It is \
21    needed for the GNOME 3.0 desktop.
22
23homepage        http://www.gnome.org/
24master_sites    gnome:sources/${gname}/${branch}/
25
26use_xz          yes
27
28distname        ${gname}-${version}
29
30checksums       rmd160  e0f887fad60546082e36e1fbe5ef6c8b1eb105fd \
31                sha256  d48ac9c7f50c0d563097f63d07bcc83744c7d92a1b4ef65e5faeab32b5ccb723
32
33depends_build   port:pkgconfig \
34                port:intltool
35
36depends_lib     port:startup-notification \
37                port:gobject-introspection \
38                path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
39                port:xorg-libX11 \
40                port:xorg-libXres
41
42require_active_variants gtk3 x11
43
44configure.args  --x-includes=${prefix}/include \
45                --x-libraries=${prefix}/lib \
46                --enable-introspection \
47                --disable-silent-rules
48
49# gobject-introspection uses g-ir-scanner, which uses $CC from env
50build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
51
52# The rules enabled by gobject-introspection require GNU make 3.81+
53platform darwin 8 {
54    depends_build-append    port:gmake
55    build.cmd               ${prefix}/bin/gmake
56}
57
58post-destroot {
59    move ${destroot}${prefix}/bin/wnck-urgency-monitor ${destroot}${prefix}/bin/wnck-urgency-monitor-3.0
60    move ${destroot}${prefix}/bin/wnckprop ${destroot}${prefix}/bin/wnckprop-3.0
61}
62
63livecheck.type  gnome
64livecheck.name  ${gname}
Note: See TracBrowser for help on using the repository browser.