source: trunk/dports/gnome/atkmm/Portfile

Last change on this file was 138272, checked in by devans@…, 2 years ago

atkmm: reformat, white space only.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 138272 2015-07-03 19:29:36Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                atkmm
7version             2.22.7
8revision            1
9set branch          [join [lrange [split ${version} .] 0 1] .]
10description         atkmm is the C++ binding for the ATK library.
11long_description    ${description} This port is part of the GNOME C++ bindings suite.
12
13maintainers         devans openmaintainer
14categories          gnome devel
15license             LGPL-2.1+
16platforms           darwin
17homepage            http://www.gtkmm.org/
18master_sites        gnome:sources/${name}/${branch}/
19
20use_xz              yes
21
22dist_subdir         ${name}/${version}_${revision}
23
24checksums           rmd160  45899082787b5286d46d9c7c4df143d16e6b2525 \
25                    sha256  bfbf846b409b4c5eb3a52fa32a13d86936021969406b3dcafd4dd05abd70f91b
26
27depends_build       port:pkgconfig \
28                    port:mm-common
29
30depends_lib         port:atk \
31                    port:glibmm
32
33# Teach glibtool about -stdlib=libc++
34use_autoreconf      yes
35autoreconf.args     -fvi
36
37pre-activate {
38    if { [file exists ${prefix}/lib/pkgconfig/atkmm-1.6.pc]
39        && ![catch {set vers [lindex [registry_active gtkmm] 0]}]
40        && [vercmp [lindex $vers 1] 2.22.0] < 0} {
41
42        registry_deactivate_composite gtkmm "" [list ports_nodepcheck 1]
43    }
44}
45
46livecheck.type      gnome
Note: See TracBrowser for help on using the repository browser.