1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/security/openssl-beta/Makefile

49 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: OpenSSL
1999-08-09 18:48:15 +00:00
# Version required: 0.9.4
# Date created: Sun Jan 3 19:36:27 CET 1999
1999-08-09 18:48:15 +00:00
# Whom: Dirk Froemberg <dirk@FreeBSD.org>
#
# $Id: Makefile,v 1.33 1999/08/09 18:48:11 dirk Exp $
#
1999-08-09 18:48:15 +00:00
DISTNAME= openssl-0.9.4
1999-06-06 09:56:03 +00:00
CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/source/ \
ftp://ftp.openssl.org/source/ \
ftp://ftp.sunet.se/pub/security/tools/net/openssl/source/ \
ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/
1999-08-09 18:48:15 +00:00
MAINTAINER= dirk@FreeBSD.org
RESTRICTED= "Cryptography"
USE_PERL5= yes
.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 port if you are USA resident."
@${FALSE}
.elif defined(USA_RESIDENT)
.if ${USA_RESIDENT} == YES && !defined(I_HAVE_AN_RSA_LICENSE)
LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
RSAREF= rsaref
.endif
.endif
do-configure:
@cd ${WRKSRC} \
&& ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" PERL="${PERL}" \
./config --prefix=${PREFIX} --openssldir=${PREFIX}/openssl \
${RSAREF} -L${PREFIX}/lib
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/openssl
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/openssl
.endif
@${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>