1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/security/tinc/Makefile
2008-12-30 14:05:22 +00:00

47 lines
1022 B
Makefile

# ex:ts=8
# Ports collection makefile for: tinc
# Date created: Jul 11, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= tinc
PORTVERSION= 1.0.9
CATEGORIES= security
MASTER_SITES= http://www.tinc-vpn.org/packages/ \
ftp://ftp.wiretapped.net/pub/security/network-security/tinc/ \
http://www.mirrors.wiretapped.net/security/network-security/tinc/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= A Virtual Private Network (VPN) daemon
LIB_DEPENDS= lzo.1:${PORTSDIR}/archivers/lzo
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --localstatedir=/var
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_RC_SUBR= tincd.sh
MAN5= tinc.conf.5
MAN8= tincd.8
INFO= tinc
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
pre-configure:
${REINPLACE_CMD} \
's/OpenSSL_add_all_algorithms/OpenSSL_add_all_ciphers/' \
${WRKSRC}/configure
.include <bsd.port.mk>