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