openbsd-ports/net/openvpn/Makefile
sturm 39e263896c Initial import of OpenVPN 1.5.0
OpenVPN is an easy-to-use, robust, and highly configurable VPN (Virtual
Private Network) daemon which can be used to securely link two or more
private networks using an encrypted tunnel over the internet.

WWW: http://openvpn.sourceforge.net/

from Jorge A. Cortes Montiel <jcortes at bsdcoders dot org>
2003-11-25 17:27:50 +00:00

46 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2003/11/25 17:27:50 sturm Exp $
COMMENT= "easy-to-use, robust, and highly configurable VPN"
VERSION= 1.5.0
DISTNAME= openvpn-${VERSION}
CATEGORIES= net security
HOMEPAGE= http://openvpn.sourceforge.net/
MAINTAINER= Jorge A. Cortes Montiel <jcortes@bsdcoders.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openvpn/}
LIB_DEPENDS= lzo::archivers/lzo
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
# pthread support is supposed to be unstable on OpenBSD
CONFIGURE_ARGS+=--disable-pthread \
--with-lzo-headers=${LOCALBASE}/include \
--with-lzo-lib=${LOCALBASE}/lib
SAMPLES_DIR= ${PREFIX}/share/examples/openvpn
post-install:
${INSTALL_DATA_DIR} ${SAMPLES_DIR}
${INSTALL_DATA_DIR} ${SAMPLES_DIR}/sample-config-files
${INSTALL_DATA_DIR} ${SAMPLES_DIR}/sample-keys
${INSTALL_DATA_DIR} ${SAMPLES_DIR}/sample-scripts
${INSTALL_DATA_DIR} ${SAMPLES_DIR}/easy-rsa
${INSTALL_DATA} ${WRKSRC}/sample-config-files/* ${SAMPLES_DIR}/sample-config-files/
${INSTALL_DATA} ${WRKSRC}/sample-keys/* ${SAMPLES_DIR}/sample-keys/
${INSTALL_DATA} ${WRKSRC}/sample-scripts/* ${SAMPLES_DIR}/sample-scripts/
${INSTALL_DATA} ${WRKSRC}/easy-rsa/* ${SAMPLES_DIR}/easy-rsa/
.include <bsd.port.mk>