# $Id: Portfile,v 1.4 2004/09/14 16:16:15 pguyot Exp $

PortSystem			1.0
name            	snownews
version         	1.5.3
revision			1
description     	Text mode RSS newsreader for Linux and Unix.
long_description	Snownews is a text mode RSS/RDF newsreader. It supports \
					RSS 1.0 feeds that comply with the W3C RDF specification \
					and also supports Radio Userland's RSS 0.91 and 2.0 versions.
platforms       	darwin
categories      	net www
maintainers     	pguyot@kallisys.net
homepage			http://home.kcore.de/~kiza/software/snownews/
master_sites		${homepage}/download/
checksums			md5 35aa49e42ac5232bf8ac0163e3793d4a
depends_lib			lib:libxml2:libxml2 \
					lib:libintl.3:gettext \
					lib:XXXX:p5-xml-libxml
post-extract	{
	# We want to use perl from DP.
	reinplace s|/usr/bin/perl|${prefix}/bin/perl| ${worksrcpath}/opml2snow
}
configure			{}
build.args			EXTRA_CFLAGS="-I${prefix}/include" \
					EXTRA_LDFLAGS="-L${prefix}/lib -lintl" \
					PREFIX=${prefix}
destroot.args		PREFIX=${destroot}${prefix}