aboutsummaryrefslogtreecommitdiffstats
path: root/net/SSLtelnet/Makefile
blob: a7013a2b5e5cc36d19aeccd671769544e7e28a3f (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
# New ports collection makefile for:    SSLtelnet
# Version required: 0.11
# Date created:     Mar 29, 1998
# Whom:         issei@jp.FreeBSD.ORG
#
# $Id: Makefile,v 1.3 1998/08/26 09:14:48 vanilla Exp $

DISTNAME=       SSLtelnet-0.11
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
    @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
LIB_DEPENDS=        rsaref.2:${PORTSDIR}/security/rsaref

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

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>