summaryrefslogblamecommitdiff
path: root/net/SSLtelnet/Makefile
blob: 1b724638673e9e8eb27f7e32aa9c84c60dcfe460 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                 
                            
                                    
                                            
 
                                                     
 
                                      
                                    
                                                                  
 



                                                                            



                                                                                       
                 

                           
                                                            




                                                                
 

                                                            









                                           
 
                      
# New ports collection makefile for:	SSLtelnet
# Version required:	0.13
# Date created:		Mar 29, 1998
# Whom:			issei@jp.FreeBSD.ORG
#
# $Id: Makefile,v 1.9 1999/08/23 04:23:52 mharo Exp $

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>