1999-01-09 12:55:50 +00:00
|
|
|
# New ports collection makefile for: OpenSSL
|
|
|
|
# Version required: 0.9.1c
|
|
|
|
# Date created: Sun Jan 3 19:36:27 CET 1999
|
|
|
|
# Whom: Dirk Froemberg <dirk@FreeBSD.ORG>
|
1996-03-03 21:32:35 +00:00
|
|
|
#
|
1999-01-09 12:55:50 +00:00
|
|
|
# $Id$
|
1998-08-21 22:04:29 +00:00
|
|
|
#
|
1996-03-03 21:32:35 +00:00
|
|
|
|
1999-01-09 12:55:50 +00:00
|
|
|
DISTNAME= openssl-0.9.1c
|
1996-11-17 07:58:10 +00:00
|
|
|
CATEGORIES= devel security
|
1999-01-09 12:55:50 +00:00
|
|
|
MASTER_SITES= http://www.openssl.org/source/ \
|
|
|
|
ftp://ftp.sunet.se/pub/security/tools/net/openssl/ \
|
|
|
|
ftp://ftp.cert.dfn.de/pub/tools/net/openssl/
|
1998-10-26 05:52:02 +00:00
|
|
|
|
1999-01-09 12:55:50 +00:00
|
|
|
MAINTAINER= dirk@FreeBSD.ORG
|
1999-01-09 10:36:18 +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
|
1999-01-09 12:55:50 +00:00
|
|
|
CONFIGURE_ENV= PREFIX=${PREFIX}
|
1996-07-29 19:57:58 +00:00
|
|
|
|
1997-08-15 15:32:11 +00:00
|
|
|
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
|
|
|
|
pre-fetch:
|
1999-01-09 12:55:50 +00:00
|
|
|
@${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}
|
1997-08-15 15:32:11 +00:00
|
|
|
.elif defined(USA_RESIDENT)
|
|
|
|
.if ${USA_RESIDENT} == YES
|
1998-09-25 10:20:21 +00:00
|
|
|
LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
|
1997-08-15 15:32:11 +00:00
|
|
|
|
|
|
|
post-configure:
|
1999-01-09 12:55:50 +00:00
|
|
|
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/Makefile.patch
|
1997-08-15 15:32:11 +00:00
|
|
|
.endif
|
|
|
|
.endif
|
1996-12-03 11:32:53 +00:00
|
|
|
|
|
|
|
post-install:
|
1999-01-09 12:55:50 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/apps/ssleay.cnf ${PREFIX}/etc/ssleay.cnf.sample
|
1996-12-03 11:32:53 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-01-09 12:55:50 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/openssl
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/openssl
|
1996-12-03 11:32:53 +00:00
|
|
|
.endif
|
|
|
|
|
1996-03-03 21:32:35 +00:00
|
|
|
.include <bsd.port.mk>
|