summaryrefslogtreecommitdiff
path: root/security/sslproxy/Makefile
blob: 4e67d4c5e1204376a5708aa8e9627d99f72410f7 (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
# New ports collection makefile for:	sslproxy
# Version required:	1998_Jun_14
# Date created:		11 February 1999
# Whom:			Alex Le Heux
#
# $FreeBSD$
#

DISTNAME=	sslproxy.1998_Jun_14
PKGNAME=	sslproxy-19980614
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.obdev.at/pub/Products/sslproxy/

MAINTAINER=	alexlh@funk.org

BUILD_DEPENDS=	${PREFIX}/include/openssl/ssl.h:${PORTSDIR}/security/openssl
RUN_DEPENDS=	${PREFIX}/lib/libssl.a:${PORTSDIR}/security/openssl

.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
LIB_DEPENDS=	rsaref.2:${PORTSDIR}/security/rsaref
MAKE_ENV+=	EXTRA_SSL_LIBS="-lRSAglue -lrsaref"
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sslproxy ${PREFIX}/bin/sslproxy
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/sslproxy
	${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/dummyCert.pem \
			${PREFIX}/share/doc/sslproxy
.endif

.include <bsd.port.mk>