summaryrefslogtreecommitdiff
path: root/security/stunnel/Makefile
blob: 7c2e68c6a6f5692687038e787b1dfbc78f9a1b23 (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
# $NetBSD: Makefile,v 1.1.1.1 2000/04/03 09:25:35 martin Exp $
#

DISTNAME=	stunnel-3.8
CATEGORIES=	security
MASTER_SITES=	http://mike.daewoo.com.pl/computer/stunnel/

MAINTAINER=	martin@NetBSD.ORG
HOMEPAGE=	http://mike.daewoo.com.pl/computer/stunnel

BUILD_DEPENDS+=	${LOCALBASE}/bin/autoconf:../../devel/autoconf

.if exists(/usr/include/openssl/ssl.h)
OPENSSL_DIR=    /usr
.else
OPENSSL_DIR=    ${LOCALBASE}
DEPENDS+=       openssl>=0.9.4:../openssl
.endif

GNU_CONFIGURE=	YES
CONFIGURE_ARGS+=-with-ssl=${OPENSSL_DIR}

pre-configure:
	(cd ${WRKSRC}; autoreconf)

.include "../../mk/bsd.pkg.mk"