source: trunk/dports/databases/pqa/Portfile

Last change on this file was 108271, checked in by jmr@…, 4 years ago

pqa: license, noarch

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