# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-pygresql version 4.1 license Permissive categories-append databases platforms darwin maintainers nomaintainer description Python module that interfaces to a PostgreSQL database long_description PyGreSQL is an open-source Python module that \ interfaces to a PostgreSQL database. It embeds the PostgreSQL query \ library to allow easy use of the powerful PostgreSQL features from a \ Python script. homepage http://www.pygresql.org/ python.versions 25 26 27 python.default_version 27 master_sites http://pygresql.org/files/ freebsd distname PyGreSQL-${version} extract.suffix .tgz checksums rmd160 4407964c452925f653f25498b4f94686b6bbcd64 \ sha256 50b3b142b8f616d5fa39bcf044ba623912c22556fe869a546e670307ad19d673 if {$subport != $name} { depends_lib-append port:postgresql92 patch { reinplace "s|\"pg_config|\"${prefix}/lib/postgresql92/bin/pg_config|g" \ ${worksrcpath}/setup.py } post-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} foreach doc [glob ${worksrcpath}/docs/*] { xinstall -m 644 ${doc} ${destroot}${prefix}/share/doc/${name} } foreach doc [glob ${worksrcpath}/tutorial/*] { xinstall -m 644 ${doc} ${destroot}${prefix}/share/doc/${name} } } } if {$subport == $name} { livecheck.type regex livecheck.url ${homepage}announce.html livecheck.regex PyGreSQL version (4\.\[0-9\.\]+) } else { livecheck.type none }