# $Id: Portfile,v 1.5 2004/06/18 21:35:34 mww Exp $ PortSystem 1.0 name pqa version 1.3 categories databases platforms darwin maintainers mww@opendarwin.org description pqa is a PostgreSQL SQL analysis tool long_description PostgreSQL Query Analyzer produces HTML reports on the \ most frequent queries, slowest queries, queries by \ type select/insert/update/delete), and more. homepage http://pqa.projects.postgresql.org/ master_sites http://pgfoundry.org/download.php/32/ checksums md5 c021d2edd46a1b5237a75b9b4b69d28f use_zip yes depends_lib bin:ruby:ruby configure { reinplace "s|/usr/local/bin/ruby|${prefix}/bin/ruby|g" \ ${worksrcpath}/pqa.rb \ ${worksrcpath}/test_pqa.rb } build {} test.run yes test.cmd ${prefix}/bin/ruby test.target test_pqa.rb destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples xinstall -m 755 ${worksrcpath}/pqa.rb ${destroot}${prefix}/bin/pqa xinstall -m 644 -W ${worksrcpath} CHANGELOG LICENSE README \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} pglog_sample.log syslog_sample.log \ ${destroot}${prefix}/share/doc/${name}/examples }