source: trunk/dports/perl/p5-devel-nytprof/Portfile

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

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

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4# This comment was inserted on 20160713 to force reindexing of
5# this port after the default homepage definition in the perl5
6# PortGroup was changed to use metacpan.org (r150080).
7# Reindexing is necessary for the new definition to take effect.
8# This comment may be removed in subsequent updates of this port.
9
10PortSystem          1.0
11PortGroup           perl5 1.0
12
13perl5.branches      5.24
14perl5.setup         Devel-NYTProf 6.03
15license             {Artistic-1 GPL}
16maintainers         naegler.org:michael openmaintainer
17
18description         Powerful feature-rich perl source code profiler
19long_description    Devel::NYTProf is a powerful feature-rich perl source code profiler. \
20                    \n  o Performs per-line statement profiling for fine detail \
21                    \n  o Performs per-subroutine statement profiling for overview \
22                    \n  o Performs per-block statement profiling (the first profiler to do so) \
23                    \n  o Accounts correctly for time spent after calls return \
24                    \n  o Performs inclusive and exclusive timing of subroutines \
25                    \n  o Subroutine times are per calling location (a powerful feature) \
26                    \n  o Can profile compile-time activity, just run-time, or just END time \
27                    \n  o Uses novel techniques for efficient profiling \
28                    \n  o Sub-microsecond (100ns) resolution on systems with clock_gettime() \
29                    \n  o Very fast - the fastest statement and subroutine profilers for perl \
30                    \n  o Handles applications that fork, with no performance cost \
31                    \n  o Immune from noise caused by profiling overheads and I/O \
32                    \n  o Program being profiled can stop/start the profiler \
33                    \n  o Generates richly annotated and cross-linked html reports \
34                    \n  o Trivial to use with mod_perl - add one line to httpd.conf \
35                    \n  o Includes an extensive test suite \
36                    \n  o Tested on very large codebases \
37                    \n\
38                    \nNYTProf is effectively two profilers in one: a statement profiler, and a subroutine profiler.
39
40checksums           rmd160  34ca942665e6a81b6d06487ba7e40477dadfeafd \
41                    sha256  e5fcdaac038ce6a5005f363d645836c0b1a492dab68790972c9684b7c5ff9684
42
43platforms           darwin
44
45if {${perl5.major} != ""} {
46    depends_build-append \
47                    port:p${perl5.major}-sub-name
48
49    depends_lib-append \
50                    port:p${perl5.major}-file-which \
51                    port:p${perl5.major}-json-maybexs \
52                    port:p${perl5.major}-test-differences
53
54    patchfiles      patch-Makefile.PL.diff
55
56    post-patch {
57        reinplace "s|__MP_CPP__|${configure.cpp}|" ${worksrcpath}/Makefile.PL
58    }
59}
Note: See TracBrowser for help on using the repository browser.