2000-07-02 04:31:21 -04:00
|
|
|
# New ports collection makefile for: vtun
|
|
|
|
# Date created: 05 Feb 2000
|
|
|
|
# Whom: Kevin Lo <kevlo@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= vtun
|
2001-02-19 09:08:39 -05:00
|
|
|
PORTVERSION= 2.4
|
2000-07-02 04:31:21 -04:00
|
|
|
CATEGORIES= net
|
2001-02-19 09:08:39 -05:00
|
|
|
MASTER_SITES= http://vtun.sourceforge.net/
|
2000-07-02 04:31:21 -04:00
|
|
|
|
|
|
|
MAINTAINER= kevlo@FreeBSD.org
|
|
|
|
|
|
|
|
LIB_DEPENDS= lzo.1:${PORTSDIR}/archivers/lzo
|
|
|
|
|
|
|
|
MAN5= vtund.conf.5
|
|
|
|
MAN8= vtund.8
|
2001-06-08 15:06:09 -04:00
|
|
|
MLINKS= vtund.8 vtun.8
|
2000-07-02 04:31:21 -04:00
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+=--localstatedir=/var \
|
2000-08-21 22:52:17 -04:00
|
|
|
--with-ssl-headers=${LOCALBASE}/include/openssl \
|
|
|
|
--with-ssl-lib=${LOCALBASE}/lib \
|
2000-07-02 04:31:21 -04:00
|
|
|
--with-lzo-headers=${LOCALBASE}/include \
|
2001-02-19 09:08:39 -05:00
|
|
|
--with-lzo-lib=${LOCALBASE}/lib
|
2000-07-02 04:31:21 -04:00
|
|
|
|
|
|
|
ALL_TARGET= vtund
|
|
|
|
|
2001-02-19 09:08:39 -05:00
|
|
|
post-install:
|
2001-03-06 22:29:11 -05:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/vtund.conf ${PREFIX}/etc/vtund.conf.example
|
2001-02-19 09:08:39 -05:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/vtund
|
|
|
|
.for doc in FAQ README README.Setup README.Shaper
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/vtund
|
|
|
|
.endfor
|
|
|
|
|
2000-07-02 04:31:21 -04:00
|
|
|
.include <bsd.port.mk>
|