# $Id: Portfile 102584 2013-02-05 04:25:13Z larryv@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-orq
version			0.1
revision		1
categories-append	databases
license			MIT
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		object relational bridge for Python objects using a RDB
long_description	PyORQ (Python Object Relational binding with Queries) \
				implements persistence for Python objects using a relational \
				database (RDBMS, e.g. PostgreSQL, MySQL) for storage. PyORQ \
				uses native Python expressions to describe queries that can be \
				executed by the SQL backend.

homepage		http://pyorq.sourceforge.net/
master_sites	sourceforge:pyorq
distname		PyORQ-${version}
checksums		md5 204dc5b8e5de2e73c0103d7d2032bcee

python.versions	24

if {$subport != $name} {
    post-destroot	{
        xinstall -m 644 -W ${worksrcpath}/docs/html about.html blank.gif \
            contents.gif contents.html design.html images.pl img1.old index.dat \
            index.gif index.html internals.pl intlabels.pl labels.pl \
            module-pyorq.interface.dbbase.html modules.gif next.gif node2.html \
            previous.gif pyfav.gif pyorq_doc.css pyorq_doc.html reference.html \
            up.gif user.html ${destroot}${prefix}/share/doc/${subport}
    }
}
