source: trunk/dports/x11/gtkmm/Portfile

Last change on this file was 152461, checked in by devans@…, 14 months ago

gtkmm: update to version 2.24.5.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 152461 2016-09-10 07:10:14Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       active_variants 1.1
6
7name            gtkmm
8version         2.24.5
9set branch      [join [lrange [split ${version} .] 0 1] .]
10description     C++ interface to GTK+ version 2.
11long_description \
12                gtkmm is the official C++ interface \
13                for the popular GUI library GTK+ version 2.
14maintainers     devans openmaintainer
15categories      x11 devel
16license         LGPL-2.1+
17platforms       darwin
18homepage        http://www.gtkmm.org/
19master_sites    gnome:sources/${name}/${branch}/
20use_xz          yes
21
22checksums       rmd160  dc7d0701d6e7906a80b500e6a42e04e07620cd63 \
23                sha256  0680a53b7bf90b4e4bf444d1d89e6df41c777e0bacc96e9c09fc4dd2f5fe6b72
24
25# set pbranch to desired perl version
26# currently 5.24 (#52081)
27
28set pbranch     5.24
29
30depends_build   port:pkgconfig \
31                port:mm-common \
32                port:p${pbranch}-xml-parser
33
34depends_lib     port:gtk2 \
35                port:glibmm \
36                path:lib/pkgconfig/cairomm-1.0.pc:cairomm \
37                port:pangomm \
38                port:atkmm
39
40use_autoreconf  yes
41autoreconf.args -fvi
42
43configure.perl  ${prefix}/bin/perl${pbranch}
44
45#
46# dummy variants to ensure that this port gets rebuilt if
47# the corresponding variants for gtk2 change
48#
49
50variant x11 conflicts quartz {}
51variant quartz conflicts x11 {}
52
53if {![variant_isset quartz]} {
54    default_variants +x11
55}
56
57if {[variant_isset quartz]} {
58    require_active_variants path:lib/pkgconfig/cairomm-1.0.pc:cairomm quartz
59    require_active_variants pangomm quartz
60    require_active_variants gtk2 quartz
61} else {
62    require_active_variants gtk2 "" quartz
63}
64
65if {[variant_isset x11]} {
66    require_active_variants path:lib/pkgconfig/cairomm-1.0.pc:cairomm x11
67    require_active_variants pangomm x11
68    require_active_variants gtk2 x11
69} else {
70    require_active_variants gtk2 "" x11
71}
72
73livecheck.type  gnome
74livecheck.regex {LATEST-IS-(2\.[0-8]*[02468](?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.