mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
65ab34a667
Prompted by PR: 13476, 13477 Submitted by: KATO Tsuguru
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# 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>
|