1999-11-08 06:20:54 +00:00
|
|
|
# New ports collection makefile for: OpenSSH
|
|
|
|
# Version required: 19991107
|
|
|
|
# Date created: 7 October 1999
|
|
|
|
# Whom: green
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= OpenSSH-1.2
|
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://www.FreeBSD.org/~green/
|
|
|
|
|
|
|
|
MAINTAINER= green@FreeBSD.org
|
|
|
|
|
1999-11-09 11:43:11 +00:00
|
|
|
LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl
|
1999-11-08 06:20:54 +00:00
|
|
|
|
|
|
|
# Here, MANDIR is concetenated to DESTDIR which all forms the man install dir...
|
|
|
|
MAKE_ENV= DESTDIR=${PREFIX} MANDIR=/man/man
|
|
|
|
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
|
|
|
|
MAKE_ENV+= CRYPTOLIBS="-L${PREFIX}/lib -lcrypto -lRSAglue -lrsaref"
|
|
|
|
.else
|
|
|
|
MAKE_ENV+= CRYPTOLIBS="-L${PREFIX}/lib -lcrypto"
|
|
|
|
.endif
|
|
|
|
WRKSRC= ${WRKDIR}/ssh
|
|
|
|
|
|
|
|
pre-install:
|
1999-11-09 12:43:45 +00:00
|
|
|
@cd ${WRKSRC} && ${MAKE} DESTDIR=${PREFIX} distribution
|
1999-11-08 06:20:54 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|