aboutsummaryrefslogtreecommitdiffstats
path: root/security/fressh/Makefile
blob: 9a70eb207b6e43189f4f6da741ffc7acfa40a6bd (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
# New ports collection makefile for:    fressh
# Date created:             25 July 2000
# Whom:                 Alistair G. Crooks <agc@netbsd.org>
#
# $FreeBSD$
#

PORTNAME=   fressh
PORTVERSION=    0.8.1
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   http://www.fressh.org/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A free rewritten implementation of the SSH communication protocol

USE_BZIP2=  yes

.include <bsd.port.pre.mk>

.if !exists(/usr/lib/libssl.a) || !exists(/usr/lib/libcrypto.a)
.if exists(${LOCALBASE}/lib/libssl.a) && exists(${LOCALBASE}/lib/libcrypto.a)
LIB_DEPENDS+=   ssl.3:${PORTSDIR}/security/openssl
MAKE_ENV=   CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib" \
        RSAGLUE="${RSAGLUE}"
.if exists(${LOCALBASE}/lib/librsaref.a)
RSAGLUE=    -lrsaref
.endif
RSAGLUE+=   -lRSAglue
.endif
.endif

.include <bsd.port.post.mk>