# $Id: Portfile,v 1.11 2006/03/31 18:48:39 matt Exp $

PortSystem 1.0
name			bluefish
version			1.0.5
categories		editors www
platforms		darwin
maintainers		darwinports@opendarwin.org michele.garoche@easyconnect.fr
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.

master_sites		ftp://ftp.ratisbona.com/pub/${name}/downloads/ \
			http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/ \
			ftp://${name}.advancecreations.com/${name}/downloads/ \
			http://${name}.mrball.net/downloads/ \
			http://${name}.shellhung.org/downloads/
			
checksums		md5 26701c09d41e5dea987155cdc9d0ac94 \
			sha1 084ecbf348fd8eb092c9fc702615c9f82a544d9d \
			rmd160 5cb388e2f4d1193a9d51ebed26ab523bf6809208

use_bzip2		yes

depends_lib		lib:libgtk.2:gtk2 \
			lib:libpcre:pcre

configure.env		LDFLAGS="-L${prefix}/lib -L${x11prefix}/lib" \
                	CFLAGS="-I${prefix}/include" \
			CPPFLAGS="-I${prefix}/include \
		        -I${x11prefix}/include -no-cpp-precomp -bind_at_load"

configure.args		--mandir=${prefix}/share/man \
			--infodir=${prefix}/share/info \
			--sysconfdir=${prefix}/etc \
			--with-icon-path=${prefix}/share/pixmaps \
			--without-freedesktop_org-menu \
			--without-freedesktop_org-mime \
			--without-gnome2_4-mime \
			--without-gnome2_4-appreg

destroot.destdir        DESTDIR=${destroot}

variant nosplash	{ configure.args-append	--disable-splash-screen }

variant tidy		{ depends_run		bin:tidy:tidy }

