mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
9b5f85e3d1
- Fix glib2 detection by adding USES=pkgconfig - Bump dependent ports as .so version has changed Approved by: portmgr blanket
45 lines
914 B
Makefile
45 lines
914 B
Makefile
# 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>
|