aboutsummaryrefslogtreecommitdiffstats
path: root/security/sslproxy/Makefile
blob: 2b000a3405f4738cb69b36922b8248ba6689fe9a (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
#
# $Id: Makefile,v 1.1.1.1 1999/06/06 17:49:44 steve Exp $
#

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>