source: trunk/dports/gnome/gitg/Portfile @ 142465

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

gitg: depend on gnome-themes-standard rather than gnome-settings-daemon, increment revision.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 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 142465 2015-11-12 16:12:40Z devans@macports.org $
3
4PortSystem          1.0
5
6name                gitg
7# version 3.17.1+ requires webkit2gtk-3.0 or webkit2gtk-4.0
8# upstream trunk working to remove webkit dependency in next stable version
9version             0.2.7
10revision            3
11license             GPL-2
12set branch          [join [lrange [split ${version} .] 0 1] .]
13description         GNOME git repository viewer.
14long_description    gitg is a fast git repository browser. It currently features: \
15                    * Loading large repositories very fast \
16                    * Show/browse repository history \
17                    * Show highlighted revision diff \
18                    * Browse file tree of a revision and export by drag and drop \
19                    * Search in the revision history on subject, author or hash \
20                    * Switch between history view of branches easily \
21                    * Commit view providing per hunk stage/unstage and commit
22
23maintainers         juanrgar devans openmaintainer
24categories          gnome devel
25platforms           darwin
26homepage            http://www.gnome.org/
27master_sites        gnome:sources/${name}/${branch}/
28
29use_xz              yes
30
31checksums           rmd160  0344a5935ee9b2186533dbef01f5a4174b16a0e1 \
32                    sha256  c07fc4fc6cef31a06f0b9daa2ed23a5d0f6cb0a10a728324970675fc7001d095
33
34depends_build       port:pkgconfig \
35                    port:intltool \
36                    port:gnome-common \
37                    port:autoconf \
38                    port:automake \
39                    port:libtool
40
41depends_lib         port:desktop-file-utils \
42                    port:gtk3 \
43                    port:gtksourceview3 \
44                    port:gsettings-desktop-schemas \
45                    port:dbus
46
47depends_run         port:gnome-themes-standard
48
49patchfiles          gitg-commit-view-c.diff
50
51# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
52
53configure.cmd       ./autogen.sh
54
55configure.args      --enable-compile-warnings=no \
56                    --disable-schemas-compile \
57                    --disable-silent-rules
58
59post-activate {
60    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
61    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
62    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
63}
64
65# disable livecheck until webkit2-gtk3 requirement can be met
66livecheck.type      none
Note: See TracBrowser for help on using the repository browser.