source: trunk/dports/net/liboping/Portfile

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

liboping[-devel]: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 151897 2016-08-23 21:41:18Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           perl5 1.0
7
8name                liboping
9subport             liboping-devel {}
10perl5.branches      5.24
11
12categories          net
13platforms           darwin
14license             LGPL-2.1 GPL-2
15maintainers         nomaintainer
16description         C library and program for ICMP echo requests
17long_description    C library and ncurses-based frontend to generate ICMP \
18                    echo requests to multiple hosts in parallel
19homepage            http://verplant.org/liboping/
20
21if {${subport} eq ${name}} {
22#   # it would make sense to switch to github after a new release to avoid conflicting checksums
23#   github.setup    octo liboping 1.8.0 liboping-
24    conflicts       liboping-devel
25    version         1.8.0
26    revision        2
27
28    master_sites    http://verplant.org/liboping/files/
29
30    checksums       sha256  824792ae7fc5e9569bacc4167b89de31f6ba8476de44760f0bc272682e894b41 \
31                    rmd160  c17e66bcfe9e531746a850d0b68bbcd70b55d5bf
32
33} else {
34    github.setup    octo liboping 74470ba
35    conflicts       liboping
36    version         20150213
37    revision        2
38
39    checksums       rmd160  9ccebb45977595b249019b64986e128197621c6a \
40                    sha256  62b8108fa1713d0a037d9af9fe10bcd89d13307649e529a65f8ddefd8790ba46
41
42    use_autoreconf  yes
43    livecheck.type  none
44}
45
46depends_lib         port:ncurses \
47                    port:perl${perl5.major}
48
49configure.perl      ${perl5.bin}
50
51post-destroot {
52    fs-traverse f ${destroot}${prefix} {
53        if {[file isfile ${f}]} {
54            switch [file tail ${f}] {
55                .packlist -
56                perllocal.pod {
57                    delete ${f}
58                }
59            }
60        }
61    }
62}
Note: See TracBrowser for help on using the repository browser.