openbsd-ports/net/vtun/Makefile

36 lines
988 B
Makefile

# $OpenBSD: Makefile,v 1.20 2001/05/06 05:00:41 lebel Exp $
COMMENT= "virtual tunnels over TCP/IP networks with traffic shaping"
DISTNAME= vtun-2.4
CATEGORIES= net
NEED_VERSION= 1.402
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://vtun.sourceforce.net/
MASTER_SITE_SUBDIR= vtun
HOMEPAGE= http://vtun.sourceforge.net/
LIB_DEPENDS= lzo.1.0::archivers/lzo
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --localstatedir="/var" \
--with-ssl-headers="/usr/include/openssl" \
--with-lzo-headers="${LOCALBASE}/include" \
--with-lzo-lib="${LOCALBASE}/lib"
DOCS= FAQ README README.Setup README.Shaper
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vtun
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vtun
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/vtun
${INSTALL_DATA} ${WRKSRC}/vtund.conf ${PREFIX}/share/examples/vtun/vtund.conf-sample
.include <bsd.port.mk>