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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup active_variants 1.1 |
---|
6 | |
---|
7 | name gtkextra3 |
---|
8 | version 3.1.1 |
---|
9 | revision 0 |
---|
10 | categories gnome devel |
---|
11 | license LGPL |
---|
12 | platforms darwin |
---|
13 | maintainers me.com:Tom.Schoonjans |
---|
14 | description Extra GTK+2 Widgets |
---|
15 | |
---|
16 | long_description GtkExtra is a useful set of widgets for creating \ |
---|
17 | GUIs for the Xwindows system using GTK+2. You can \ |
---|
18 | use it complementary to GTK+ and it is written in \ |
---|
19 | C. It is also Free Software and released under the \ |
---|
20 | LGPL license. |
---|
21 | |
---|
22 | homepage http://gtkextra.sourceforge.net/ |
---|
23 | master_sites sourceforge:project/gtkextra/3.1 |
---|
24 | distname gtkextra-${version} |
---|
25 | |
---|
26 | depends_lib port:gtk2 |
---|
27 | |
---|
28 | depends_build port:pkgconfig |
---|
29 | |
---|
30 | checksums sha1 e0a6f738232ef748c7927d7b5c05c9252ce1e123 \ |
---|
31 | rmd160 7266879228429a5eb6670b2839572f3eda0d9b48 |
---|
32 | |
---|
33 | |
---|
34 | pre-fetch { |
---|
35 | if {![variant_isset quartz] && ![variant_isset x11]} { |
---|
36 | error "Either +x11 or +quartz is required" |
---|
37 | } |
---|
38 | } |
---|
39 | |
---|
40 | configure.args --disable-tests |
---|
41 | |
---|
42 | if {![variant_isset quartz]} { |
---|
43 | default_variants +x11 |
---|
44 | } |
---|
45 | |
---|
46 | variant quartz conflicts x11 { |
---|
47 | require_active_variants path:lib/pkgconfig/cairo.pc:cairo quartz |
---|
48 | require_active_variants path:lib/pkgconfig/pango.pc:pango quartz |
---|
49 | require_active_variants path:lib/pkgconfig/gtk+-2.0.pc:gtk2 quartz |
---|
50 | } |
---|
51 | |
---|
52 | |
---|
53 | variant x11 conflicts quartz { |
---|
54 | require_active_variants path:lib/pkgconfig/cairo.pc:cairo x11 |
---|
55 | require_active_variants path:lib/pkgconfig/pango.pc:pango x11 |
---|
56 | require_active_variants path:lib/pkgconfig/gtk+-2.0.pc:gtk2 x11 |
---|
57 | } |
---|