# $Id: Portfile,v 1.7 2005/06/29 18:06:35 mww Exp $

PortSystem 1.0

name			PRICE
version			0.7.0
categories		graphics aqua
platforms		darwin
maintainers		mww@opendarwin.org
description		Image filtering, enhancing and manipulation application
long_description	PRICE, which stands for Precision Raster Image \
				Convolution Engine, aims to be a high quality Image \
				filtering, enhancing and manipulation application. It \
				is written in Objective-C and AppKit.

homepage		http://price.sourceforge.net/
master_sites	sourceforge:price
distname		PRICE-osx-${version}
checksums		md5 7ae78bb3e898fbb3570d92b9f660e628

use_configure	no

set worksrcdir	PRICE-osx

build.type		pbx
build.target

pre-destroot {
	system "cd ${worksrcpath}/build && test -d Default && mv Default/* . || true"
}
destroot	{
	xinstall -d -m 755 ${destroot}/Applications/DarwinPorts
	file copy ${worksrcpath}/build/PRICE.app \
		${destroot}/Applications/DarwinPorts
}
