blob: 8a8ad3922853be17072546a34a4d7ff8b7ee1294 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= vpnc-scripts
PORTVERSION= 20150318
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.infradead.org/pub/${PORTNAME}/ \
http://mirrors.rit.edu/zi/
MAINTAINER= zi@FreeBSD.org
COMMENT= Collection of scripts to setup routes and other changes for a VPN
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
NO_BUILD= yes
PLIST_FILES= sbin/vpnc-script sbin/vpnc-script-sshd sbin/vpnc-script-ptrtd
post-patch:
@${REINPLACE_CMD} -e 's|\(/etc/vpnc\)|${PREFIX}\1|' \
${WRKSRC}/vpnc-script
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script ${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script-sshd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script-ptrtd ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>
|