source: trunk/dports/perl/p5-innotop/Portfile

Last change on this file was 154393, checked in by mojca@…, 11 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         innotop 1.10.0
9license             {GPL-2 Artistic-1}
10maintainers         nomaintainer
11supported_archs     noarch
12
13description         A MySQL and InnoDB monitor program.
14long_description    MySQL and InnoDB transaction/status monitor.  \
15                    Like 'top' for MySQL.  Displays queries, InnoDB \
16                    transactions, lock waits, deadlocks, foreign key \
17                    errors, open tables, replication status, buffer \
18                    information, row operations, logs, I/O \
19                    operations, load graph, and more.  You can \
20                    monitor any servers at once with innotop.
21
22set gh_user         innotop
23set gh_project      innotop
24set gh_commit       c931d2d
25
26homepage            https://github.com/${gh_user}/${gh_project}
27master_sites        ${homepage}/tarball/${gh_commit}
28distname            ${gh_project}-${gh_commit}
29worksrcdir          ${gh_user}-${distname}
30
31platforms           darwin
32
33checksums           rmd160  1c3a91c447b6eafbcce1cde80d38d585e82543e1 \
34                    sha256  290646dbcf8bc689363c8c6febeb9e5cc574d0b10854524da14ee740a1364d57
35
36if {${perl5.major} != ""} {
37    depends_lib-append \
38                    port:p${perl5.major}-dbi \
39                    port:p${perl5.major}-dbd-mysql \
40                    port:p${perl5.major}-term-readkey
41
42    patchfiles      patch-innotop.diff
43
44    post-patch {
45        reinplace "s|^#!.*|#!${perl5.bin}|" ${worksrcpath}/innotop
46        reinplace "s|@@MP_PREFIX@@|${prefix}|" ${worksrcpath}/innotop
47    }
48}
49
50livecheck.type      none
Note: See TracBrowser for help on using the repository browser.