1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/security/openssh/Makefile

45 lines
1.1 KiB
Makefile

# 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>