source: trunk/dports/databases/pqa/Portfile @ 30223

Last change on this file since 30223 was 30223, checked in by jmpp@…, 12 years ago

nomaintainer address abstraction in databases category.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 30223 2007-10-22 22:46:02Z jmpp@macports.org $
2
3PortSystem 1.0
4
5name                    pqa
6version                 1.6
7categories              databases
8platforms               darwin
9maintainers             nomaintainer
10description             pqa is a PostgreSQL SQL analysis tool
11long_description        PostgreSQL Query Analyzer produces HTML reports on the \
12                                most frequent queries, slowest queries, queries by \
13                                type select/insert/update/delete), and more.
14
15homepage                http://pqa.projects.postgresql.org/
16master_sites    http://pgfoundry.org/frs/download.php/523/
17checksums               md5 3d311830270d6a476342837fceeab6ed
18use_zip                 yes
19
20depends_lib             port:ruby
21
22configure {
23        reinplace "s|/usr/local/bin/ruby|/usr/bin/env ruby|g" \
24                ${worksrcpath}/pqa.rb \
25                ${worksrcpath}/test_pqa.rb
26}
27
28build                   {}
29
30test.run                yes
31test.cmd                ruby
32test.target             test_pqa.rb
33
34destroot {
35        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
36        xinstall -m 755 ${worksrcpath}/pqa.rb ${destroot}${prefix}/bin/pqa
37        xinstall -m 644 -W ${worksrcpath} CHANGELOG LICENSE README \
38                ${destroot}${prefix}/share/doc/${name}
39        xinstall -m 644 -W ${worksrcpath} pglog_sample.log syslog_sample.log \
40                ${destroot}${prefix}/share/doc/${name}/examples
41}
Note: See TracBrowser for help on using the repository browser.