summaryrefslogtreecommitdiff
path: root/net/SSLtelnet/Makefile
blob: 62940da9a00ec3ebb45a719106b3912389ba10ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:	SSLtelnet
# Version required:	0.13
# Date created:		Mar 29, 1998
# Whom:			issei@jp.FreeBSD.org
#
# $FreeBSD$

DISTNAME=		SSLtelnet-0.13
CATEGORIES=		net security
MASTER_SITES=		ftp://ftp.psy.uq.oz.au/pub/Crypto/SSLapps/

MAINTAINER=		issei@jp.FreeBSD.org

.if defined(USA_RESIDENT) && ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
pre-fetch:
	@${ECHO_MSG}
	@${ECHO_MSG} You must set variable USA_RESIDENT to YES, if you are USA resident
	@${ECHO_MSG} or to NO, if you aren\'t USA resident to build this package.
	@${ECHO_MSG} You must also have installed RSAREF if you are USA resident.
	@${FALSE}
.elif defined(USA_RESIDENT)
.if ${USA_RESIDENT} == YES
LIB_DEPENDS=		rsaref.2:${PORTSDIR}/security/rsaref

pre-configure:
	${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/Makefile.patch
.endif
.endif

BUILD_DEPENDS=		openssl:${PORTSDIR}/security/openssl
RUN_DEPENDS=		openssl:${PORTSDIR}/security/openssl

RESTRICTED=		"Cryptography"

.if !defined(BATCH)
INSTALL_TARGET=		install certificate
.endif

post-install:
	strip $(PREFIX)/bin/telnet
	strip $(PREFIX)/libexec/telnetd

.include <bsd.port.mk>