# $Id: Portfile,v 1.1 2005/06/06 04:47:48 toby Exp $

PortSystem 1.0
name		webdec
version		0.46.2
categories	archivers
maintainers	izmir@verizon.net
description	Extract webshots pictures
homepage	http://www.jamesbarford.net/webdec.php
platforms	darwin

long_description \
		WebDec is a command line tool that extracts the JPEG images \
		files from webshots .wbz,wbp and wbc files.

master_sites	http://www.jamesbarford.net/downloads/

checksums	md5 14341604153c4605ecf81162b09c67fa

use_configure	no

destroot	{}

post-destroot	{
	xinstall -m 755 -W ${worksrcpath} webdec \
	${destroot}${prefix}/bin/webdec
}

variant debug	{
	build.pre_args	CFLAGS="-Wall -ansi -pedantic -DDEBUG"
}
