mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name pqa
|
|
version 1.6
|
|
categories databases
|
|
# 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
|
|
platforms any
|
|
supported_archs noarch
|
|
maintainers nomaintainer
|
|
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/frs/download.php/523/
|
|
checksums md5 3d311830270d6a476342837fceeab6ed
|
|
use_zip yes
|
|
|
|
depends_lib port:ruby
|
|
|
|
configure {
|
|
reinplace "s|/usr/local/bin/ruby|/usr/bin/env ruby|g" \
|
|
${worksrcpath}/pqa.rb \
|
|
${worksrcpath}/test_pqa.rb
|
|
}
|
|
|
|
build {}
|
|
|
|
test.run yes
|
|
test.cmd 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
|
|
}
|