# -*- 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 gobject_introspection 1.0 PortGroup muniversal 1.0 name anjuta version 3.16.0 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 https://wiki.gnome.org/Apps/Anjuta master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 4032bcc287b54ead0bfb5a4b29a1c779b3dbbd87 \ sha256 77432a01b37b46f5558bf4cc435f9a023abf17c5273d472e17dff1f9b3d9943c depends_build port:pkgconfig \ port:intltool \ port:itstool \ port:yelp-tools \ port:gtk-doc \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:autogen \ port:shared-mime-info \ port:gtk3 \ port:gdl3 \ port:gjs \ port:gtksourceview3 \ port:libgda5 \ port:libxml2 \ port:vte depends_run port:gnome-settings-daemon \ port:epiphany \ port:yelp \ port:xdg-utils patchfiles patch-configure.ac.diff \ patch-ltmain.sh.diff \ python-ldflags.patch gobject_introspection yes # reconfigure using upstream autogen.sh for intltool 0.51 compatibility configure.cmd ./autogen.sh configure.cflags-append \ -std=gnu89 -Wno-format-nonliteral configure.args --enable-static \ --disable-schemas-compile \ --disable-silent-rules \ --disable-packagekit \ --disable-plugin-devhelp \ --disable-plugin-glade \ --disable-plugin-subversion \ --disable-vala 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 and glade catalog} { 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 python34 conflicts python27 description {Use Python 3.4} { configure.python ${prefix}/bin/python3.4 depends_lib-append port:py34-gobject3 } if {![variant_isset python27]} { default_variants +python34 } 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