openbsd-ports/net/vtun/Makefile
kevlo 5470658f5b Upgrade to version 2.3.
Changes:
  o fixes for incorrect error handling in UDP and TCP drivers.
  o new man page for the configuration file.
  o fixes for memory and file descriptor leaks.
2000-06-05 07:22:59 +00:00

41 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2000/06/05 07:22:59 kevlo Exp $
DISTNAME= vtun-2.3
CATEGORIES= net
NEED_VERSION= 1.230
MASTER_SITES= http://vtun.sourceforge.net/
MAINTAINER= kevlo@openbsd.org
LIB_DEPENDS= lzo.1.0::archivers/lzo
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FAKE= Yes
HAS_CONFIGURE= Yes
CONFIGURE_ARGS= --prefix='$${DESTDIR}${PREFIX}' \
--sysconfdir='$${DESTDIR}/etc' \
--localstatedir="/var" \
--with-crypto-headers="/usr/include/openssl" \
--with-crypto-lib="/usr/lib" \
--with-lzo-headers="${LOCALBASE}/include" \
--with-lzo-lib="${LOCALBASE}/lib"
ALL_TARGET= vtund
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/vtun
${INSTALL_PROGRAM} ${WRKSRC}/vtund ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/README.Setup ${PREFIX}/lib/vtun
${INSTALL_DATA} ${WRKSRC}/vtund.conf ${PREFIX}/lib/vtun/vtund.conf-sample
${INSTALL_MAN} ${WRKSRC}/vtund.conf.5 ${PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/vtund.8 ${PREFIX}/man/man8
cd ${PREFIX}/man/man8; ln -fs vtund.8 vtun.8
.include <bsd.port.mk>