# $Id: Portfile,v 1.1 2005/09/27 07:34:56 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-postgresql-pqueue
version			0.1
categories		python databases
platforms		darwin
maintainers		mww@opendarwin.org
description		pure python implementation of the pq protocol
long_description	pqueue provides a pure python implementation of version \
				3.0 of the pq protocol.

homepage		http://python.projects.postgresql.org/project/pq.html
master_sites	http://pgfoundry.org/frs/download.php/457/
distname		pqueue-${version}
checksums		md5 ee2d517b88fabcc0287b5b487570bbaf
use_bzip2		yes

depends_run		port:py-postgresql-layout

post-extract {
	file copy ${filespath}/buffer.c ${worksrcpath}/src
}

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} LICENSE \
		${destroot}${prefix}/share/doc/${name}
}
