summaryrefslogtreecommitdiff
path: root/security/openssh/Makefile
blob: b3084bb6f31e23caf82475a4e957aba6dd2f4e73 (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
# 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

BUILD_DEPENDS=	openssl:${PORTSDIR}/security/openssl
LIB_DEPENDS=	crypto.1:${PORTSDIR}/security/openssl

CFLAGS+=	-I${PREFIX}/include
# 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:
	@cd ${WRKSRC} && make DESTDIR=${PREFIX} distribution

.include <bsd.port.mk>