summaryrefslogblamecommitdiff
path: root/security/tinc/Makefile
blob: 8a6014d199d731c8f5a1847fbefef2e28e97e478 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                            
                     



                                                                              
 
                                 
                                                      
 

                                                

                   
                   
                   
                                                               
                                                 
                                  


                   
            
 




                                                                     
                      
# ex:ts=8
# Ports collection makefile for:	tinc
# Date created:			Jul 11, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	tinc
PORTVERSION=	1.0.1
CATEGORIES=	security
MASTER_SITES=	http://tinc.nl.linux.org/packages/ \
		ftp://ftp.wiretapped.net/pub/security/network-security/tinc/ \
		http://the.wiretapped.net/security/network-security/tinc/

MAINTAINER=	krion@FreeBSD.org
COMMENT=	A Virtual Private Network (VPN) daemon

LIB_DEPENDS=	intl:${PORTSDIR}/devel/gettext \
		lzo.1:${PORTSDIR}/archivers/lzo

USE_OPENSSL=	yes
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"
LDFLAGS+=	-L${LOCALBASE}/lib

MAN5=	tinc.conf.5
MAN8=	tincd.8
INFO=	tinc

pre-configure:
	${REINPLACE_CMD} \
	    's/OpenSSL_add_all_algorithms/OpenSSL_add_all_ciphers/' \
	    ${WRKSRC}/configure

.include <bsd.port.mk>