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

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

gitg: update to version 3.20.0, dependencies, description, license, add +quartz variant, use gnome stable livecheck.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 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 147427 2016-04-03 07:12:27Z devans@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6PortGroup           gobject_introspection 1.0
7
8name                gitg
9version             3.20.0
10license             GPL-2+
11set branch          [join [lrange [split ${version} .] 0 1] .]
12description         GNOME git repository viewer.
13long_description    gitg is a fast git repository browser. It currently features: \
14                    \n * Loading large repositories very fast \
15                    \n * Show/browse repository history \
16                    \n * Show highlighted revision diff \
17                    \n * Browse file tree of a revision and export by drag and drop \
18                    \n * Search in the revision history on subject, author or hash \
19                    \n * Switch between history view of branches easily \
20                    \n * Commit view providing per hunk stage/unstage and commit
21
22maintainers         juanrgar devans openmaintainer
23categories          gnome devel
24platforms           darwin
25homepage            http://www.gnome.org/
26master_sites        gnome:sources/${name}/${branch}/
27
28use_xz              yes
29
30checksums           rmd160  316386c79909b615a3ac7be27a5b093d612a3524 \
31                    sha256  1f09f61208349d003f228e51dc9709bd3426960f5585c0e38197bd02b51f3346
32
33depends_build       port:pkgconfig \
34                    port:intltool \
35                    port:gnome-common \
36                    port:autoconf \
37                    port:automake \
38                    port:libtool
39
40depends_lib         port:desktop-file-utils \
41                    port:gsettings-desktop-schemas \
42                    port:gtk3 \
43                    port:gtksourceview3 \
44                    port:gtkspell3 \
45                    port:libgee \
46                    port:libgit2-glib \
47                    port:libpeas \
48                    port:libsoup \
49                    port:libsecret
50
51depends_run         port:gnome-themes-standard
52
53gobject_introspection yes
54
55patchfiles          patch-autogen.sh.diff
56
57# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
58
59configure.cmd       ./autogen.sh
60
61configure.args      --enable-compile-warnings=no \
62                    --disable-schemas-compile \
63                    --disable-silent-rules
64
65variant quartz {}
66
67if {[variant_isset quartz]} {
68    require_active_variants gtk3 quartz
69} else {
70    require_active_variants gtk3 x11
71}
72
73post-activate {
74    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
75    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
76    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
77}
78
79livecheck.type      gnome
Note: See TracBrowser for help on using the repository browser.