# -*- 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
name vpnc-scripts
version 20161214
categories net
platforms darwin
maintainers nomaintainer
license GPL-2
supported_archs noarch
description connect scripts for use with vpnc and openconnect
long_description This package contains scripts used by vpnc and OpenConnect \
(and possibly other programs) to provide an OS-independent \
interface for various operations associated with configuring \
VPNs over tun devices.
homepage http://www.infradead.org/openconnect/vpnc-script.html
fetch.type git
git.url git://git.infradead.org/users/dwmw2/vpnc-scripts.git
git.branch 6f87b0fe7b20d802a0747cc310217920047d58d3
use_configure no
build {}
destroot {
xinstall -d -m 0755 ${destroot}${prefix}/etc/${name}
foreach script { vpnc-script vpnc-script-ptrtd vpnc-script-sshd } {
xinstall -m 0755 ${worksrcpath}/${script} ${destroot}${prefix}/etc/${name}
}
}