Ticket #47158: Portfile

File Portfile, 1.2 KB (added by bket, 10 years ago)
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$
3
4PortSystem          1.0
5
6name                vpnc-scripts
7version             20150314
8categories          net
9platforms           darwin
10maintainers         nomaintainer
11license             GPL-2
12
13description         connect scripts for use with vpnc and openconnect
14
15long_description    This package contains scripts used by vpnc and OpenConnect \
16                    (and possibly other programs) to provide an OS-independent \
17                    interface for various operations associated with configuring \
18                    VPNs over tun devices.
19
20homepage            http://www.infradead.org/openconnect/vpnc-script.html
21
22fetch.type          git
23git.url             git://git.infradead.org/users/dwmw2/vpnc-scripts.git
24git.branch          e8b30a2be93bf2e9930cc5a2a000d5fb4cb2312c
25
26use_configure       no
27
28build {}
29
30destroot {
31    xinstall -d -m 0755 ${destroot}${prefix}/etc/${name}
32    foreach script { vpnc-script vpnc-script-ptrtd vpnc-script-sshd } {
33        xinstall -m 0755 ${worksrcpath}/${script} ${destroot}${prefix}/etc/${name}
34    }
35}