source: trunk/dports/graphics/agave/Portfile

Last change on this file was 129113, checked in by jmr@…, 3 years ago

agave: clear deps correctly

  • 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 129113 2014-12-05 22:04:37Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            agave
7version         0.4.7
8license         GPL-2+
9categories      graphics gnome
10platforms       darwin
11maintainers     nomaintainer
12description     Generate a variety of colorschemes from a single starting color.
13long_description \
14                Agave is a very simple application for the GNOME desktop that allows you \
15                to generate a variety of colorschemes from a single starting color. It is \
16                free software licensed under the open-source GPL License.
17homepage        http://home.gna.org/colorscheme
18master_sites    http://download.gna.org/colorscheme/releases
19
20checksums       md5     93097881f28dcae1eca2800a763f77c3 \
21                sha1    9c48d646885e84ded7a5d444d4989ea0ee413b6f \
22                rmd160  a7d0294ab0ab318f1a654c48059659a50a32283a
23
24use_bzip2       yes
25
26depends_build   port:pkgconfig \
27                port:intltool \
28                port:gnome-doc-utils
29
30depends_lib     port:desktop-file-utils \
31                port:rarian \
32                port:gtkmm \
33                port:libglademm \
34                port:gconfmm \
35                port:libgnomeui \
36                port:cppunit \
37                port:boost
38
39patchfiles      src_core_compat-round.cc.patch
40
41# TODO: Fix buggy C++ code that clang complains about
42compiler.blacklist *clang*
43
44# autoreconf to reconfigure with our intltool.m4
45
46use_autoreconf      yes
47autoreconf.args     -fvi
48
49configure.args  --disable-scrollkeeper \
50                --disable-schemas-install
51
52post-activate   {
53    system "scrollkeeper-update"
54    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
55        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
56    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
57    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
58}
59
60platform darwin {
61    if {${os.major} >= 13} {
62        depends_lib
63        depends_build
64        pre-fetch {
65            ui_error "$name does not build on Mavericks or later."
66            error "unsupported platform"
67        }
68    }
69}
70
71livecheck.type  regex
72livecheck.url   ${master_sites}
73livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.