# -*- 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 name anjuta version 2.26.2.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}/ checksums md5 03191602895a4b0dd15a8298fc255657 \ sha1 e631bd5abc1ac3513b0b3af180a443f8d8687bf6 \ rmd160 c38fd4c200987d5f080a1a6e11dce08d7d498c37 patchfiles patch-libanjuta-anjuta-launcher.c.diff \ patch-libanjuta-anjuta-utils.c.diff depends_build port:pkgconfig \ port:intltool \ port:p5-xml-parser \ port:gnome-doc-utils \ port:gtk-doc depends_lib port:autogen \ port:gconf \ port:gdl \ port:libgda4 \ port:libunique \ port:vte post-patch { reinplace "s|/usr/bin/perl|${prefix}/bin/perl|" ${worksrcpath}/scripts/glade2schema.pl } configure.args --enable-static \ --disable-scrollkeeper \ --disable-schemas-install \ --disable-plugin-devhelp \ --disable-plugin-glade \ --disable-graphviz \ --disable-plugin-sourceview \ --disable-plugin-valgrind \ --disable-plugin-subversion variant devhelp description {Enable devhelp plugin support} { configure.args-delete --disable-plugin-devhelp depends_lib-append port:devhelp } variant glade description {Enable glade plugin support} { configure.args-delete --disable-plugin-glade depends_lib-append port:glade3 } variant graphviz description {Enable class inheritance plugin support using graphviz} { configure.args-delete --disable-graphviz depends_lib-append path:bin/dot:graphviz } variant sourceview description {Enable gtksourceview editor plugin support instead of scintilla} { configure.args-append --disable-plugin-scintilla configure.args-delete --disable-plugin-sourceview depends_lib-append port:gtksourceview2 } 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:subversion } post-destroot { system "cd ${destroot}${prefix}/lib/anjuta && ln -s libfile-manager.dylib libfile-manager.so" } post-activate { system "scrollkeeper-update" system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" } livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}