2000-02-21 09:19:19 +00:00
|
|
|
# New ports collection makefile for: rsaref
|
|
|
|
# Date created: 2 Feb 1997
|
|
|
|
# Whom: ache
|
1997-02-02 20:11:08 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1997-02-02 20:11:08 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:34:06 +00:00
|
|
|
PORTNAME= rsaref
|
2000-04-21 08:19:33 +00:00
|
|
|
PORTVERSION= 2.0
|
2000-02-21 09:19:19 +00:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= ftp://ftp.deva.net/pub/sources/crypto/ \
|
|
|
|
ftp://ftp.kddlabs.co.jp/.7/inet/caida/bmwt/ \
|
|
|
|
ftp://ftp.zedz.net/pub/crypto/crypto/LIBS/rsa/ \
|
|
|
|
ftp://ftp.hacktic.nl/pub/crypto/crypto/LIBS/rsa/ \
|
|
|
|
ftp://ftp.demon.net/pub/mirrors/crypto/replay/crypto/LIBS/rsa/ \
|
|
|
|
ftp://ftp.funet.fi/pub/mirrors/utopia.hacktic.nl/crypto/LIBS/rsa/ \
|
|
|
|
ftp://ftp.fu-berlin.de/unix/security/replay-mirror/crypto/LIBS/rsa/
|
2000-04-09 18:34:06 +00:00
|
|
|
DISTNAME= rsaref20.1996
|
2000-02-21 09:19:19 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1997-02-02 20:11:08 +00:00
|
|
|
|
2000-01-09 00:17:38 +00:00
|
|
|
MAINTAINER= kris@FreeBSD.ORG
|
1997-02-02 20:11:08 +00:00
|
|
|
|
2000-02-21 09:19:19 +00:00
|
|
|
WRKSRC= ${WRKDIR}/source
|
2000-02-22 06:57:04 +00:00
|
|
|
RESTRICTED= "Contains cryptography"
|
|
|
|
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-15 17:59:45 +00:00
|
|
|
|
2000-02-22 06:57:04 +00:00
|
|
|
pre-extract:
|
|
|
|
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
|
2000-02-27 06:46:05 +00:00
|
|
|
/usr/bin/more -e ${FILESDIR}/LICENSE.english
|
2000-02-22 06:57:04 +00:00
|
|
|
/usr/bin/dialog --yesno "Do you accept the terms of the RSAREF license agreement and wish to proceed with the build?" 8 40 || ${FALSE}
|
|
|
|
.endif
|
1997-02-02 20:11:08 +00:00
|
|
|
|
|
|
|
pre-configure:
|
1998-12-18 17:58:24 +00:00
|
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
1997-02-02 20:11:08 +00:00
|
|
|
cd ${WRKSRC} && \
|
1998-12-18 17:58:24 +00:00
|
|
|
${CP} des.h _des.h && \
|
|
|
|
${CP} md2.h _md2.h && \
|
|
|
|
${CP} md5.h _md5.h
|
1997-02-02 20:11:08 +00:00
|
|
|
|
2000-02-21 11:38:00 +00:00
|
|
|
do-install:
|
|
|
|
.for file in rsa.h _des.h _md2.h _md5.h rsaref.h global.h
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/librsaref.a ${WRKSRC}/librsaref.so.2 \
|
|
|
|
${PREFIX}/lib
|
2000-04-24 08:00:49 +00:00
|
|
|
${LN} -sf librsaref.so.2 ${PREFIX}/lib/librsaref.so
|
2000-02-21 09:19:19 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/rsaref
|
|
|
|
.for file in info.txt rsaref.txt
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../doc/${file} ${PREFIX}/share/doc/rsaref
|
|
|
|
.endfor
|
|
|
|
.endif
|
1998-09-14 22:33:48 +00:00
|
|
|
|
1997-02-02 20:11:08 +00:00
|
|
|
.include <bsd.port.mk>
|