source: trunk/dports/gnome/zenity/Portfile @ 134445

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

zenity: reconfigure using autogen.sh for intltool 0.51 compatibility.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 134445 2015-03-25 18:42:53Z devans@macports.org $
3
4PortSystem      1.0
5
6name            zenity
7version         3.14.0
8set branch      [join [lrange [split ${version} .] 0 1] .]
9description     zenity allows you to display dialog boxes from the commandline.
10long_description \
11    This is zenity - a rewrite of gdialog, the GNOME port of dialog which \
12    allows you to display dialog boxes from the commandline and shell scripts.
13maintainers     devans openmaintainer
14categories      gnome
15license         LGPL-2+
16platforms       darwin
17homepage        https://wiki.gnome.org/Projects/Zenity
18master_sites    gnome:sources/${name}/${branch}/
19
20use_xz          yes
21
22checksums       rmd160  eda0f0d4fb0db4d1b24e7ad23e05a75a3f3c7775 \
23                sha256  6b57ec6c456af17714dc366e63dabb8bbe0577878b61907805f0186d4d2b892f
24
25depends_build   port:pkgconfig \
26                port:intltool \
27                port:gtk-doc \
28                port:yelp-tools \
29                port:itstool \
30                port:gnome-common \
31                port:autoconf \
32                port:automake \
33                port:libtool
34
35depends_lib     port:gtk3 \
36                port:libnotify \
37                path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3
38
39# reconfigure using autogen.sh for intltool 0.51 compatibility
40
41post-patch {
42    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
43}
44
45configure.cmd   ./autogen.sh
46
47configure.args  --disable-silent-rules
48
49platform darwin {
50    if {${configure.cxx_stdlib} eq "libstdc++"} {
51       depends_lib-delete path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3
52       depends_lib-append path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0
53    }
54}
55
56livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.