aboutsummaryrefslogtreecommitdiffstats
path: root/security/openvpn/Makefile
blob: 424de0bc1a6213b9bb9348eb5ecfb2b5f5d75032 (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
# New ports collection makefile for:    openvpn
# Date created:     2002-06-23
# Whom:         Matthias Andree <matthias.andree@web.de>
#
# $FreeBSD$
#

PORTNAME=   openvpn
PORTVERSION=    1.3.0
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= matthias.andree@web.de

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

GNU_CONFIGURE=  yes
USE_OPENSSL=    yes
CONFIGURE_ARGS= --with-lzo-lib=${LOCALBASE}/lib \
        --with-lzo-headers=${LOCALBASE}/include \
        --program-transform-name="s/x/x/"

MAN8=       openvpn.8

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL NEWS \
    PORTS README
    @${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.for dirs in easy-rsa sample-config-files sample-scripts
    @${MKDIR} ${DOCSDIR}/${dirs}
    @${INSTALL_DATA} ${WRKSRC}/${dirs}/* ${DOCSDIR}/${dirs}
.endfor
    @${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>