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