# -*- 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 active_variants 1.1 name bluefish version 2.2.8 revision 1 license GPL-3+ categories editors www platforms darwin maintainers nomaintainer homepage http://bluefish.openoffice.nl/ description A powerful editor for web designers long_description Bluefish is a powerful editor for experienced web designers and \ programmers. Bluefish supports many programming and markup languages \ but it focuses on editing dynamic and interactive websites. dist_subdir bluefish master_sites http://www.bennewitz.com/bluefish/stable/source/ \ http://bluefish.mrball.net/stable/source/ \ sourceforge:project/bluefish/bluefish/${version} checksums rmd160 71a3bdd15a9312c69a667d51c2b86aa7e5e7556c \ sha256 32578f955cee3f43e5b3a86e2588e6a679df94438b21dcbe38e3c82282745000 use_bzip2 yes depends_build port:pkgconfig \ port:intltool \ port:gettext \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:shared-mime-info \ port:gtk3 \ port:libxml2 \ port:enchant \ port:gucharmap depends_run port:gnome-themes-standard patchfiles patch-configure.ac.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh && ./configure configure.args --with-gtk2=no \ --disable-update-databases \ --disable-silent-rules \ --disable-python variant python27 description {Enable zen-coding plugin using Python 2.7} { depends_lib-append port:python27 configure.python ${prefix}/bin/python2.7 configure.args-delete --disable-python } default_variants +python27 variant quartz {} if {[variant_isset quartz]} { PortGroup app 1.0 require_active_variants gtk3 quartz depends_lib-append port:gtk-osx-application-gtk3 app.icon images/bluefish-icon_128.png } else { require_active_variants gtk3 x11 } 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" } livecheck.type regex livecheck.url http://www.bennewitz.com/bluefish/stable/source/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"