blob: 46164016062a2fe87b72ce26c48c5dd938fd5471 (
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
43
44
|
# 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= # see ${SCRIPTDIR}/fetchit
MAINTAINER= green@FreeBSD.org
LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl
RESTRICTED= "Links with cryptographic code."
# 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
.if !exists(/usr/include/tcpd.h)
MAKE_ENV+= TCP_WRAPPERS=NO
.endif
NO_CHECKSUM= YES
WRKSRC= ${WRKDIR}/ssh
do-fetch:
@if [ ! -e ${WRKDIR}/.fetch_done ]; then \
${SETENV} WRKDIR=${WRKDIR} ${SCRIPTDIR}/fetchit || exit 1; \
${TOUCH} ${WRKDIR}/.fetch_done; \
fi
do-extract:
@${CP} ${FILESDIR}/strlcpy.c ${WRKSRC}/lib/
pre-install:
@cd ${WRKSRC} && ${MAKE} DESTDIR=${PREFIX} distribution
.include <bsd.port.mk>
|