# -*- 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 # $Id$ PortSystem 1.0 PortGroup muniversal 1.0 name anjuta version 3.10.2 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description A GNOME/GTK IDE long_description ${description} maintainers devans openmaintainer categories gnome devel platforms darwin homepage http://anjuta.sourceforge.net/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 d51e40a87cfb9157102c2490c3e78f5b701b8196 \ sha256 ff16c646dbf0234f7056c697b2546125c89d43f8c1f5138a21409053c016d3bc depends_build port:pkgconfig \ port:intltool \ port:itstool depends_lib port:desktop-file-utils \ port:autogen \ port:shared-mime-info \ port:gtk3 \ port:gdl3 \ port:gobject-introspection \ port:gtksourceview3 \ port:libgda5 \ port:libxml2 \ port:vte depends_run port:gnome-settings-daemon \ port:epiphany \ port:yelp \ port:xdg-utils patchfiles patch-configure.diff \ patch-plugins-language-support-vala-Makefile.in.diff configure.cflags-append \ -std=gnu89 -Wno-format-nonliteral configure.args --enable-static \ --enable-introspection=yes \ --disable-schemas-compile \ --disable-silent-rules \ --disable-packagekit \ --disable-plugin-devhelp \ --disable-plugin-glade \ --disable-plugin-subversion \ --disable-vala # gobject-introspection g-ir-scanner uses $CC from env if {[variant_isset universal]} { foreach arch ${configure.universal_archs} { lappend merger_build_args(${arch}) CC='${configure.cc} -arch ${arch}' } } else { build.args-append CC="${configure.cc} ${configure.cc_archflags}" } variant devhelp description {Enable devhelp plugin support} { configure.args-delete --disable-plugin-devhelp depends_lib-append port:devhelp } variant subversion description {Enable subversion plugin support} { configure.args-delete --disable-plugin-subversion configure.args-append --with-subversion-dir=${prefix} \ --with-svn-include=${prefix}/include/subversion-1 \ --with-svn-lib=${prefix}/lib depends_lib-append port:apr \ port:apr-util \ port:neon \ port:subversion } variant glade description {Enable glade plugin support} { configure.args-delete --disable-plugin-glade configure.args-append --enable-glade-catalog depends_lib-append port:glade } variant vala description {Enable vala support} { configure.args-delete --disable-vala depends_lib-append port:vala } variant python27 conflicts python32 python33 description {Use Python 2.7} { configure.python ${prefix}/bin/python2.7 depends_lib-append port:py27-gobject3 } variant python32 conflicts python27 python33 description {Use Python 3.2} { configure.python ${prefix}/bin/python3.2 depends_lib-append port:py32-gobject3 } variant python33 conflicts python27 python32 description {Use Python 3.3} { configure.python ${prefix}/bin/python3.3 depends_lib-append port:py33-gobject3 } if {![variant_isset python32] && ![variant_isset python33]} { default_variants +python27 } post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/update-mime-database ${prefix}/share/mime" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome