source: users/devans/GNOME-3/unstable/dports/gnome/gitg/Portfile @ 145433

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

GNOME-3/unstable: gitg, add +quartz variant.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 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 145433 2016-02-05 05:03:13Z devans@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6PortGroup           gobject_introspection 1.0
7
8name                gitg
9version             3.19.6
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  40f859ef89a7e16c27f2f8f22a67e9ed2599a485 \
31                    sha256  d84925c843d4bc81d031a543ce84e400f133310b32c238a7dfd7a67c6cf0ddd0
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
51
52depends_run         port:gnome-themes-standard
53
54gobject_introspection yes
55
56patchfiles          patch-autogen.sh.diff
57
58# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
59
60configure.cmd       ./autogen.sh
61
62configure.args      --enable-compile-warnings=no \
63                    --disable-schemas-compile \
64                    --disable-silent-rules
65
66variant quartz {}
67
68if {[variant_isset quartz]} {
69    require_active_variants gtk3 quartz
70} else {
71    require_active_variants gtk3 x11
72}
73
74post-activate {
75    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
76    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
77    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
78}
79
80# disable livecheck until webkit2-gtk3 requirement can be met
81livecheck.type      gnome-with-unstable
Note: See TracBrowser for help on using the repository browser.