# -*- 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 # $Id$ PortSystem 1.0 PortGroup active_variants 1.1 name gtkextra3 set sf_name gtkextra version 3.1.2 set branch [join [lrange [split ${version} .] 0 1] .] revision 1 categories x11 devel license LGPL platforms darwin maintainers nomaintainer description Extra GTK+2 Widgets long_description GtkExtra is a useful set of widgets for creating \ GUIs for the Xwindows system using GTK+2. You can \ use it complementary to GTK+ and it is written in \ C. It is also Free Software and released under the \ LGPL license. homepage http://gtkextra.sourceforge.net/ master_sites sourceforge:project/${sf_name}/${branch} distname ${sf_name}-${version} depends_lib port:gtk2 depends_build port:pkgconfig checksums sha1 f3c85b7edb3980ae2390d951d62c24add4b45eb9 \ rmd160 cc26738349ba85a6ae7d0446f9670741161d6690 patchfiles patch-docs_reference_Makefile.am-install-version-prefixed-doc-dir.diff # Remove use_autoreconf once new release includes the doc dir patch. use_autoreconf yes pre-fetch { if {![variant_isset quartz] && ![variant_isset x11]} { error "Either +x11 or +quartz is required" } } configure.args --disable-tests if {![variant_isset quartz]} { default_variants +x11 } variant quartz conflicts x11 { require_active_variants path:lib/pkgconfig/cairo.pc:cairo quartz require_active_variants path:lib/pkgconfig/pango.pc:pango quartz require_active_variants path:lib/pkgconfig/gtk+-2.0.pc:gtk2 quartz } variant x11 conflicts quartz { require_active_variants path:lib/pkgconfig/cairo.pc:cairo x11 require_active_variants path:lib/pkgconfig/pango.pc:pango x11 require_active_variants path:lib/pkgconfig/gtk+-2.0.pc:gtk2 x11 } livecheck.type regex livecheck.url http://sourceforge.net/api/file/index/project-name/${sf_name}/rss livecheck.regex /${sf_name}/files/${branch}/${sf_name}-(3\\.\[0-9.\]+\[0-9\])\\.tar\\.?\[a-zA-Z\]*/