blob: 95623d633f1838266a577603c090e627ac8fc8c0 (
plain)
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
44
45
46
47
48
|
# ex:ts=8
# Ports collection makefile for: tinc
# Date created: Jul 11, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= tinc
PORTVERSION= 1.0.4
PORTREVISION= 2
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= ports@FreeBSD.org
COMMENT= A Virtual Private Network (VPN) daemon
LIB_DEPENDS= lzo.1:${PORTSDIR}/archivers/lzo
USE_OPENSSL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --localstatedir=/var
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
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>
|