Files

44 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2004-05-08 11:21:56 +00:00
PortSystem 1.0
2005-11-28 19:33:43 +00:00
name pqa
version 1.6
categories databases
2013-07-17 16:42:26 +00:00
# Very similar to the XFree86 1.1 license. Technically compatible with GPL-3,
# but specifying that correctly isn't worth the trouble.
license Permissive GPLConflict
2023-12-31 04:11:01 +11:00
platforms any
2013-07-17 16:42:26 +00:00
supported_archs noarch
2008-08-04 06:08:57 +00:00
maintainers nomaintainer
2005-11-28 19:33:43 +00:00
description pqa is a PostgreSQL SQL analysis tool
2004-05-17 21:49:02 +00:00
long_description PostgreSQL Query Analyzer produces HTML reports on the \
2005-11-28 19:33:43 +00:00
most frequent queries, slowest queries, queries by \
type select/insert/update/delete), and more.
2004-05-08 11:21:56 +00:00
2005-11-28 19:33:43 +00:00
homepage http://pqa.projects.postgresql.org/
master_sites http://pgfoundry.org/frs/download.php/523/
checksums md5 3d311830270d6a476342837fceeab6ed
use_zip yes
2004-05-08 11:21:56 +00:00
2005-11-28 19:33:43 +00:00
depends_lib port:ruby
2004-05-08 11:21:56 +00:00
2005-11-28 19:33:43 +00:00
configure {
2005-11-05 20:23:31 +00:00
reinplace "s|/usr/local/bin/ruby|/usr/bin/env ruby|g" \
2004-05-17 21:49:02 +00:00
${worksrcpath}/pqa.rb \
${worksrcpath}/test_pqa.rb
2004-05-08 11:21:56 +00:00
}
2005-11-28 19:33:43 +00:00
build {}
2004-05-08 11:21:56 +00:00
2005-11-28 19:33:43 +00:00
test.run yes
test.cmd ruby
test.target test_pqa.rb
2004-05-08 11:21:56 +00:00
2005-11-28 19:33:43 +00:00
destroot {
2004-05-08 11:21:56 +00:00
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
}