91f9f74430
PR: ports/182330 Submitted by: Steve Wills <swills@FreeBSD.org>
32 lines
798 B
Makefile
32 lines
798 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= vpnc-scripts
|
|
PORTVERSION= 20130311
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://ftp.infradead.org/pub/${PORTNAME}/ \
|
|
http://mirrors.rit.edu/zi/
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= A 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
|
|
|
|
NO_STAGE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|\(/etc/vpnc\)|${PREFIX}\1|' \
|
|
${WRKSRC}/vpnc-script
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script ${PREFIX}/sbin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script-sshd ${PREFIX}/sbin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script-ptrtd ${PREFIX}/sbin
|
|
|
|
.include <bsd.port.mk>
|