mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
61 lines
1.9 KiB
Tcl
61 lines
1.9 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
|
|
name liboping
|
|
categories net
|
|
license LGPL-2.1 GPL-2
|
|
maintainers nomaintainer
|
|
description C library and program for ICMP echo requests
|
|
long_description C library and ncurses-based frontend to generate ICMP \
|
|
echo requests to multiple hosts in parallel
|
|
|
|
if {${subport} eq ${name}} {
|
|
github.setup octo liboping 1.10.0 liboping-
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 1
|
|
conflicts liboping-devel
|
|
|
|
default master_sites {${homepage}/files/}
|
|
|
|
checksums rmd160 97cfca317c5884f68a0f7d88d5b022864e4f91ce \
|
|
sha256 c206b05743d0730814be3115b48abd0b00016677525153c78730da307aba0846 \
|
|
size 395596
|
|
|
|
# https://github.com/octo/liboping/issues/72
|
|
patchfiles-append \
|
|
patch-oping.c.diff
|
|
}
|
|
|
|
subport ${name}-devel {
|
|
github.setup octo liboping 656ea6996d083090cbbae1581287a3b1a5dcfb56
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
version 20200601
|
|
revision 0
|
|
conflicts liboping
|
|
|
|
checksums rmd160 e20c99cf49a0ba3ebae43e70ccf96f3c1189c231 \
|
|
sha256 fe309c135b719ae5a5f9cfe7133c7ca6f70fd1e5310e73a780a7f53ebfde153a \
|
|
size 65534
|
|
|
|
# https://github.com/octo/liboping/issues/72
|
|
patchfiles-append \
|
|
devel-patch-oping.c.diff
|
|
|
|
use_autoreconf yes
|
|
}
|
|
|
|
homepage https://noping.cc
|
|
|
|
depends_build-append \
|
|
path:bin/pkg-config:pkgconfig
|
|
|
|
depends_lib-append port:ncurses
|
|
|
|
patchfiles-append NCURSES_OPAQUE.patch
|
|
|
|
configure.args --without-perl-bindings
|