aboutsummaryrefslogtreecommitdiffstats
path: root/net/vtun/Makefile
blob: 70f0e4fca65bc9cfe474573fb6d1131d6453a6b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    vtun
# Date created:             05 Feb 2000
# Whom:                 Kevin Lo <kevlo@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   vtun
PORTVERSION=    2.6
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Virtual Tunnels over TCP/IP networks with traffic shaping

LIB_DEPENDS=    lzo.1:${PORTSDIR}/archivers/lzo

MAN5=       vtund.conf.5
MAN8=       vtund.8
MLINKS=     vtund.8 vtun.8

USE_OPENSSL=    yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --localstatedir=/var \
        --with-ssl-headers=${OPENSSLBASE}/include/openssl \
        --with-ssl-lib=${OPENSSLBASE}/lib \
        --with-lzo-headers=${LOCALBASE}/include \
        --with-lzo-lib=${LOCALBASE}/lib
CONFIGURE_ENV=  YACC=${YACC}

WRKSRC=     ${WRKDIR}/vtun

ALL_TARGET= vtund

post-install:
    @${INSTALL_DATA} ${WRKSRC}/vtund.conf ${PREFIX}/etc/vtund.conf.example
    @${MKDIR} ${PREFIX}/share/doc/vtund
.for doc in FAQ README README.Setup README.Shaper
    @${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/vtund
.endfor

.include <bsd.port.mk>