# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           makefile 1.0

name                ptunnel
version             0.72
categories          net
license             BSD zlib
maintainers         {i0ntempest @i0ntempest} openmaintainer
description         tunnel over ICMP
long_description    Ptunnel is an application that allows you to reliably tunnel\
                    TCP connections to a remote host using ICMP echo request and\
                    reply packets, commonly known as ping requests and replies.
homepage            https://www.cs.uit.no/~daniels/PingTunnel/

master_sites        ${homepage}
distname            PingTunnel-${version}
checksums           rmd160  8c0f8b34ac928f3960518ed028b711d92fa90477 \
                    sha256  b318f7aa7d88918b6269d054a7e26f04f97d8870f47bd49a76cb2c99c73407a4 \
                    size    64188

worksrcdir          PingTunnel

makefile.override-append \
                    PREFIX

destroot.destdir    prefix=${destroot}${prefix} \
                    bindir="\\\$(prefix)/sbin"
