Permalink
Fetching contributors…
Cannot retrieve contributors at this time
90 lines (67 sloc) 2.93 KB
# -*- 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
PortSystem 1.0
PortGroup active_variants 1.1
name bluefish
version 2.2.10
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 98f9e1442882dd8342895ef43f636ff6b5dce623 \
sha256 afeca12b693bb58e30c2199e6a21cc06da02d88e0ac9d08b7a231a9c8e7c3eb2
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:adwaita-icon-theme
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}"