source: trunk/dports/gnome/bug-buddy/Portfile @ 119533

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

dependents of libgtop: rebuild with version 2.30 due to ABI change.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 119533 2014-04-29 16:31:59Z devans@macports.org $
3
4PortSystem      1.0
5
6name            bug-buddy
7version         2.32.0
8revision        4
9license         GPL-2
10set branch      [join [lrange [split ${version} .] 0 1] .]
11description     A graphical bug reporting tool.
12long_description \
13                This is a graphical bug reporting tool. It can \
14                extract debugging information from a core file \
15                or crashed application (via gnome_segv).
16maintainers     devans openmaintainer
17categories      gnome
18platforms       darwin
19homepage        http://www.gnome.org/
20master_sites    gnome:sources/${name}/${branch}/
21
22use_bzip2       yes
23
24checksums       sha256  ffdc70fe4a59c0aef42b5b0b72b08f17db2b1d9f49ba2b68722334ddbee5e3ca \
25                rmd160  286c32db9642ac0468a28605d3fba0b1fa2ba1ff
26
27depends_build   port:pkgconfig \
28                port:intltool \
29                port:gnome-common \
30                port:gnome-doc-utils
31
32depends_lib     port:desktop-file-utils \
33                port:gtk2 \
34                port:gconf \
35                port:libelf \
36                port:libbonobo \
37                port:libsoup \
38                port:libgtop
39
40patchfiles      patch-configure.in.diff \
41                patch-src-elf.c.diff \
42                patch-src-bug-buddy.c.diff
43
44#
45# evolution-data-server is not universal
46#
47
48if {[variant_isset eds_mail]} {
49    universal_variant no
50}
51
52# update m4/intltool.m4 and autoreconf
53
54pre-configure {
55    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
56}
57
58use_autoreconf  yes
59autoreconf.args -fvi
60
61configure.cflags-append \
62                -Wno-format-nonliteral
63
64configure.args  --disable-scrollkeeper \
65                --disable-schemas-install \
66                --disable-eds
67
68variant eds_mail description {Enable getting user email from evolution data server} {
69    depends_lib-append port:evolution-data-server
70    configure.args-delete --disable-eds
71}
72
73post-activate {
74    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
75    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
76        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
77    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
78}
79
80livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.