1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/security/lsh/Makefile
Johan van Selst 9c1b4a445e - Update to lsh 2.1
- Stagify
- Adopt port
2014-05-28 09:14:48 +00:00

44 lines
898 B
Makefile

# Created by: Eric Schwertfeger <eric@cybernut.com>
# $FreeBSD$
PORTNAME= lsh
PORTVERSION= 2.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>