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

Last change on this file since 7441 was 7441, checked in by mww, 16 years ago

version bump

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.4 2004/06/09 15:52:30 mww Exp $
2
3PortSystem 1.0
4
5name            pqa
6version         1.2
7categories      databases
8platforms       darwin
9maintainers     mww@opendarwin.org
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/download.php/26/
17checksums       md5 3a905c2649a6205bd8c9bb7f9dfba84a
18use_zip         yes
19
20depends_lib     bin:ruby:ruby
21
22configure       {
23        reinplace "s|/usr/local/bin/ruby|${prefix}/bin/ruby|g" \
24                ${worksrcpath}/pqa.rb \
25                ${worksrcpath}/test_pqa.rb
26}
27
28build           {}
29
30test.run        yes
31test.cmd        ${prefix}/bin/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.