1998-04-11 15:07:05 +00:00
|
|
|
# New ports collection makefile for: SSLtelnet
|
|
|
|
# Version required: 0.11
|
|
|
|
# Date created: Mar 29, 1998
|
1998-08-26 09:14:54 +00:00
|
|
|
# Whom: issei@jp.FreeBSD.ORG
|
1998-04-11 15:07:05 +00:00
|
|
|
#
|
1998-09-25 10:20:21 +00:00
|
|
|
# $Id: Makefile,v 1.3 1998/08/26 09:14:48 vanilla Exp $
|
1998-04-11 15:07:05 +00:00
|
|
|
|
|
|
|
DISTNAME= SSLtelnet-0.11
|
|
|
|
CATEGORIES= net security
|
1998-06-04 03:58:04 +00:00
|
|
|
MASTER_SITES= ftp://ftp.psy.uq.oz.au/pub/Crypto/SSLapps/
|
1998-04-11 15:07:05 +00:00
|
|
|
|
1998-08-26 09:14:54 +00:00
|
|
|
MAINTAINER= issei@jp.FreeBSD.ORG
|
|
|
|
|
|
|
|
.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
|
1998-09-25 10:20:21 +00:00
|
|
|
LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
|
1998-08-26 09:14:54 +00:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/Makefile.patch
|
|
|
|
.endif
|
|
|
|
.endif
|
1998-04-11 15:07:05 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ssleay:${PORTSDIR}/security/SSLeay
|
|
|
|
RUN_DEPENDS= ssleay:${PORTSDIR}/security/SSLeay
|
|
|
|
|
|
|
|
RESTRICTED= "Cryptography"
|
|
|
|
|
|
|
|
.if !defined(BATCH)
|
|
|
|
INSTALL_TARGET= install certificate
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
strip $(PREFIX)/bin/telnet
|
|
|
|
strip $(PREFIX)/libexec/telnetd
|
|
|
|
.include <bsd.port.mk>
|