mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
32 lines
814 B
Makefile
32 lines
814 B
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= 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>
|