# $Id: Portfile,v 1.3 2006/08/08 22:31:55 takanori Exp $

PortSystem		1.0
name			scribus
version			1.3.3.3
categories		print
maintainers		takanori@opendarwin.org
description		X11-based WYSIWYG desktop publishing application
long_description	Scribus is an open source desktop publishing program. It provides  true \
			WYSIWYG  editing,  excellent PDF export facilities, and a wide range of \
			other input and output options.
platforms		darwin
homepage		http://www.scribus.net/
master_sites		sourceforge:scribus
checksums		md5 cde9a4342697a69de60b017f59d32488 \
			sha1 67183e02b6bf1534e79f64a97c5d1fc355b0a7cb \
			rmd160 9c7e558bb1dc0c438193f044124e8b8c030c2097
use_bzip2		yes
depends_build		bin:perl:perl5.8
depends_lib		bin:gs:ghostscript \
			lib:libX11.6:XFree86 \
			port:cairo \
			port:coreutils \
			port:cups-headers \
			port:expat \
			port:fontconfig \
			port:freetype \
			port:jpeg \
			port:libart_lgpl \
			port:libiconv \
			port:libpng \
			port:lcms \
			port:libxml2 \
			port:openssl \
			port:pkgconfig \
			port:qt3 \
			port:tiff \
			port:Xft2 \
			port:xrender \
			port:zlib

configure.env		CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" HOME=${worksrcpath}
configure.args		--with-qt-dir=${prefix}/lib/qt3 --without-python --enable-cairo \
			--with-extra-includes=${prefix}/include --with-extra-libs=${prefix}/lib \
			--disable-dependency-tracking --mandir=${prefix}/share/man
build.env		HOME=${worksrcpath}
#destroot.target	install-strip

livecheck.check regex
livecheck.url   ${homepage}
livecheck.regex Scribus v(\[0-9.\]+)
