1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/security/vpnd/Makefile
Will Andrews 8fb67c9a73 Add vpnd 1.1.0, a VPN daemon offering transparent blowfish encryption
between networks.

PR:		26067
Submitted by:	Anders Nordby <anders@fix.no>
2001-03-31 02:17:37 +00:00

47 lines
1.4 KiB
Makefile

# New ports collection makefile for: vpnd
# Date created: 25 March 2001
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
PORTNAME= vpnd
PORTVERSION= 1.1.0
CATEGORIES= security
MASTER_SITES= http://sunsite.dk/vpnd/archive/ \
http://www.freenix.no/~anders/
MAINTAINER= anders@fix.no
WRKSRC= ${WRKDIR}/${PORTNAME}
HAS_CONFIGURE= yes
DOCFILES= README FAQ.TXT SPEED.TXT VERSIONS
post-patch:
@${MV} ${WRKSRC}/Makefile.FreeBSD.in ${WRKSRC}/Makefile.FreeBSD.in_tmp
@${SED} -e "s:^ETC_DIR=:ETC_DIR= ${PREFIX}/etc:" \
< ${WRKSRC}/Makefile.FreeBSD.in_tmp > ${WRKSRC}/Makefile.FreeBSD.in
pre-configure:
${PERL} -pi.orig -e "s@-O3@${CFLAGS}@g; s@gcc@${CC}@g" ${WRKSRC}/configure
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/vpnd ${PREFIX}/sbin/vpnd
@${INSTALL_DATA} ${WRKSRC}/vpnd.conf ${PREFIX}/etc/vpnd.conf.sample
@${INSTALL_DATA} ${WRKSRC}/vpnd.chat ${PREFIX}/etc/vpnd.chat.sample
.if !defined(NOPORTDOCS)
${INSTALL} -d -m 555 ${PREFIX}/share/doc/vpnd
.for i in ${DOCFILES}
@${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/vpnd
.endfor
.endif
post-install:
@${ECHO} "================================================================================"
@${ECHO} "Make sure you set up a few IRQ's for random generation with rndcontrol before"
@${ECHO} "trying to generate a master key file."
@${ECHO} "================================================================================"
.include <bsd.port.mk>