source: trunk/dports/perl/p5-nmap-scanner/Portfile

Last change on this file was 154393, checked in by mojca@…, 9 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.3 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
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         Nmap-Scanner 1.0
9revision            5
10
11license             {Artistic-1 GPL}
12maintainers         nomaintainer
13
14description         Perform and manipulate nmap scans using perl
15
16long_description    Nmap::Scanner perlifies the output of the network mapping tool \
17                    nmap (http://www.insecure.org/nmap/), creating lists of model \
18                    objects in batch scan mode or firing events when significant \
19                    scanning events occur in event scan mode.
20
21platforms           darwin
22checksums           md5  af12a5cfeaca9b42eb6497e1cf7655eb
23
24if {${perl5.major} != ""} {
25    depends_lib-append \
26                    port:nmap \
27                    port:p${perl5.major}-class-generate \
28                    port:p${perl5.major}-libwww-perl \
29                    port:p${perl5.major}-xml-libxml \
30                    port:p${perl5.major}-xml-sax \
31                    port:p${perl5.major}-xml-sax-expat
32
33    post-patch {
34        reinplace "s|/usr/local|${prefix}|g" \
35            ${worksrcpath}/lib/Nmap/Scanner/Scanner.pm
36    }
37   
38    supported_archs noarch
39}
Note: See TracBrowser for help on using the repository browser.