blob: 1117205054a0b8c643c19aa448239380eff50d96 (
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
|
# Created by: Eric Schwertfeger <eric@cybernut.com>
# $FreeBSD$
PORTNAME= lsh
PORTVERSION= 2.1
PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= GNU
MAINTAINER= johans@FreeBSD.org
COMMENT= Secure (encrypted) remote shell compatible with ssh 2
LIB_DEPENDS= liboop.so:${PORTSDIR}/devel/liboop \
libgmp.so:${PORTSDIR}/math/gmp \
libnettle.so:${PORTSDIR}/security/nettle
USE_CSTD= c89
GNU_CONFIGURE= yes
USE_XORG= xau
USES= gmake shebangfix
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INFO= lsh
SHEBANG_FILES= src/lcp
post-configure:
${REINPLACE_CMD} 's,^#define WITH_READLINE,// &,' \
${WRKSRC}/src/sftp/config.h
test:
(cd ${WRKSRC}/src/testsuite && ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 900000
PLIST_SUB+= KRB=""
.else
PLIST_SUB+= KRB="@comment "
.endif
.include <bsd.port.post.mk>
|