source: trunk/dports/x11/gtkmm3/Portfile

Last change on this file was 151922, checked in by devans@…, 15 months ago

gtkmm3: explicitly configure to build with system perl.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 151922 2016-08-24 00:57:49Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6
7name                gtkmm3
8set gname           gtkmm
9version             3.16.0
10set branch          [join [lrange [split ${version} .] 0 1] .]
11description         C++ interface to GTK+ version 3.
12long_description    gtkmm3 is the official C++ interface \
13                    for the popular GUI library GTK+ version 3.
14maintainers         devans openmaintainer
15categories          x11 devel
16license             LGPL-2.1+
17platforms           darwin
18homepage            http://www.gtkmm.org/
19master_sites        gnome:sources/${gname}/${branch}/
20
21use_xz              yes
22
23dist_subdir         ${gname}
24distname            ${gname}-${version}
25
26checksums           rmd160  5c2e2bb29a817d735f32e59cf4e48f936be1a1dc \
27                    sha256  9b8d4af5e1bb64e52b53bc8ef471ef43e1b9d11a829f16ef54c3a92985b0dd0c
28
29depends_build       port:pkgconfig \
30                    port:mm-common \
31                    port:gtk-doc
32
33depends_lib         port:gtk3 \
34                    port:glibmm \
35                    path:lib/pkgconfig/cairomm-1.0.pc:cairomm \
36                    port:pangomm \
37                    port:atkmm
38
39# Update glibtool to know about -stdlib=... in CXXFLAGS
40use_autoreconf      yes
41autoreconf.args     -fvi
42
43# build using system perl
44configure.perl      /usr/bin/perl
45
46#
47# dummy variants to ensure that this port gets rebuilt if
48# the corresponding variants for gtk3 change
49#
50
51variant x11 conflicts quartz {}
52variant quartz conflicts x11 {}
53
54if {![variant_isset quartz]} {
55    default_variants +x11
56}
57
58if {[variant_isset quartz]} {
59    require_active_variants path:lib/pkgconfig/cairomm-1.0.pc:cairomm quartz
60    require_active_variants pangomm quartz
61    require_active_variants gtk3 quartz
62} else {
63    require_active_variants gtk3 "" quartz
64}
65
66if {[variant_isset x11]} {
67    require_active_variants path:lib/pkgconfig/cairomm-1.0.pc:cairomm x11
68    require_active_variants pangomm x11
69    require_active_variants gtk3 x11
70} else {
71    require_active_variants gtk3 "" x11
72}
73
74livecheck.type      gnome
75livecheck.name      ${gname}
Note: See TracBrowser for help on using the repository browser.