freebsd-ports/security/sslproxy/Makefile
Steve Price b98520e879 Find the ssl header files correctly and fix this so it will work if
USA_RESIDENT=YES.

PR:		12795
Submitted by:	Palle Girgensohn <girgen@partitur.se>
1999-08-01 03:08:33 +00:00

32 lines
927 B
Makefile

# 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>