aboutsummaryrefslogtreecommitdiffstats
path: root/net/ssltunnel-server/Makefile
blob: 0ca37aaaa38b86116f5be32ea86351c679237f4f (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
# ex:ts=8
# Ports collection makefile for:    ssltunnel-server
# Date created:         June 10, 2003
# Whom:             at@rominet.net
#
# $Id: Makefile,v 1.3 2003/09/21 16:20:44 thivillon Exp $
#
# $FreeBSD$
#

PORTNAME=   ssltunnel
PORTVERSION=    1.13
PORTREVISION=   0
CATEGORIES= net
MASTER_SITES=   http://www.hsc.fr/ressources/outils/ssltunnel/download/
PKGNAMESUFFIX=  -server

MAINTAINER= at@rominet.net
COMMENT=    PPP over SSL virtual private networking (server part)

GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=    --disable-client

.if defined(WITH_TCPWRAPPERS)
CONFIGURE_ARGS+=    --with-libwrap
.endif

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/LISEZ-MOI ${DOCSDIR}
.endif
    ${INSTALL_SCRIPT} ${WRKSRC}/server/pppserver.sh ${PREFIX}/etc/rc.d/ssltunnel.sh.sample
    ${INSTALL_DATA} ${WRKSRC}/server/users ${PREFIX}/etc/ssltunnel/users.sample

.include <bsd.port.mk>