1996-03-03 21:32:35 +00:00
|
|
|
# New ports collection makefile for: Eric Young's SSL/Crypto Library
|
1997-08-15 15:32:11 +00:00
|
|
|
# Version required: 0.8.1
|
|
|
|
# Date created: 15 Aug 1997
|
|
|
|
# Whom: markm@freebsd.org
|
1996-03-03 21:32:35 +00:00
|
|
|
#
|
1998-02-17 21:14:40 +00:00
|
|
|
# $Id: Makefile,v 1.15 1997/08/16 13:15:03 andreas Exp $
|
1996-03-03 21:32:35 +00:00
|
|
|
|
1997-08-15 15:32:11 +00:00
|
|
|
DISTNAME= SSLeay-0.8.1
|
1996-11-17 07:58:10 +00:00
|
|
|
CATEGORIES= devel security
|
1996-07-30 19:43:53 +00:00
|
|
|
MASTER_SITES= ftp://psych.psy.uq.oz.au/pub/Crypto/SSL/
|
|
|
|
|
|
|
|
MAINTAINER= markm@FreeBSD.ORG
|
1996-03-03 21:32:35 +00:00
|
|
|
|
1996-11-17 07:58:10 +00:00
|
|
|
RESTRICTED= "Cryptography"
|
1996-07-29 19:57:58 +00:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= util/FreeBSD.sh
|
|
|
|
|
1997-08-15 15:32:11 +00:00
|
|
|
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
|
|
|
|
pre-fetch:
|
|
|
|
@echo
|
|
|
|
@echo You must set variable USA_RESIDENT to YES, if you are USA resident
|
|
|
|
@echo or to NO, if you aren\'t USA resident to build this package.
|
|
|
|
@echo You must also have installed RSAREF if you are USA resident.
|
|
|
|
@false
|
|
|
|
.elif defined(USA_RESIDENT)
|
|
|
|
.if ${USA_RESIDENT} == YES
|
1997-08-16 13:15:03 +00:00
|
|
|
BUILD_DEPENDS= rsaref\\.2\\.:${PORTSDIR}/security/rsaref
|
1997-08-15 15:32:11 +00:00
|
|
|
|
|
|
|
post-configure:
|
|
|
|
${CP} ${WRKSRC}/rsaref/rsaref.h ${WRKSRC}/include/rsaref.h
|
|
|
|
(${PATCH} <${FILESDIR}/Makefile.patch)
|
|
|
|
.endif
|
|
|
|
.endif
|
1996-12-03 11:32:53 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/SSLeay
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/SSLeay
|
|
|
|
.endif
|
|
|
|
|
1996-03-03 21:32:35 +00:00
|
|
|
.include <bsd.port.mk>
|