freebsd-ports/security/openvpn20/Makefile
Kirill Ponomarev d470a37d9d - Support for TCP as the tunnel transport was added
- Change maintainer email

PR:		59543
Submitted by:	maintainer
2003-11-21 12:19:01 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: openvpn
# Date created: 2002-06-23
# Whom: Matthias Andree <matthias.andree@web.de>
#
# $FreeBSD$
#
PORTNAME= openvpn
PORTVERSION= 1.5.0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://osdn.dl.sourceforge.net/sourceforge/${PORTNAME}/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= matthias.andree@gmx.de
COMMENT= Secure IP/Ethernet tunnel daemon
LIB_DEPENDS= lzo.1:${PORTSDIR}/archivers/lzo
GNU_CONFIGURE= yes
USE_OPENSSL= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-lzo-lib=${LOCALBASE}/lib \
--with-lzo-headers=${LOCALBASE}/include \
--prefix=${PREFIX}
MAN8= openvpn.8
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/openvpn.sh.sample \
${PREFIX}/etc/rc.d/openvpn.sh.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL NEWS \
PORTS README
@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.for dirs in easy-rsa sample-config-files sample-scripts
@${MKDIR} ${DOCSDIR}/${dirs}
@${INSTALL_DATA} ${WRKSRC}/${dirs}/* ${DOCSDIR}/${dirs}
.endfor
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>