mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
2ebbc542f4
It must be the heat ;-)
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# New ports collection makefile for: Eric Young's SSL/Crypto Library
|
|
# Version required: 0.8.1
|
|
# Date created: 15 Aug 1997
|
|
# Whom: markm@freebsd.org
|
|
#
|
|
# $Id: Makefile,v 1.14 1997/08/16 12:19:55 andreas Exp $
|
|
|
|
DISTNAME= SSLeay-0.8.1
|
|
CATEGORIES= devel security
|
|
MASTER_SITES= ftp://psych.psy.uq.oz.au/pub/Crypto/SSL/
|
|
|
|
MAINTAINER= markm@FreeBSD.ORG
|
|
|
|
RESTRICTED= "Cryptography"
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= util/FreeBSD.sh
|
|
|
|
.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
|
|
BUILD_DEPENDS= rsaref\\.2\\.:${PORTSDIR}/security/rsaref
|
|
|
|
post-configure:
|
|
${CP} ${WRKSRC}/rsaref/rsaref.h ${WRKSRC}/include/rsaref.h
|
|
(${PATCH} <${FILESDIR}/Makefile.patch)
|
|
.endif
|
|
.endif
|
|
|
|
post-install:
|
|
# needed to build apache-ssl port
|
|
${CP} ${WRKSRC}/libRSAglue.a ${PREFIX}/lib
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/SSLeay
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/SSLeay
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|