openbsd-ports/net/mosh/Makefile
sthen 3fcd3c6004 import ports/net/mosh, from Jeremie Courreges-Anglas, ok abieber@
Remote terminal application that allows roaming, supports intermittent
connectivity, and provides intelligent local echo and line editing of
user keystrokes.

Mosh is designed to be more robust and responsive than SSH, especially
over Wi-Fi, cellular, and long-distance links.
2013-04-21 19:46:37 +00:00

36 lines
800 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2013/04/21 19:46:37 sthen Exp $
COMMENT = mobile shell
DISTNAME = mosh-1.2.4
CATEGORIES = net
HOMEPAGE = http://mosh.mit.edu/
MAINTAINER = Jeremie Courreges-Anglas <jca@wxcvbn.org>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c crypto m ncursesw protobuf pthread ssl stdc++ util
WANTLIB += z
MASTER_SITES = ${HOMEPAGE}
LIB_DEPENDS = devel/protobuf
MAKE_FLAGS = CPPFLAGS='-Dbe16toh=betoh16 -Dbe64toh=betoh64'
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
# --enable-hardening forces PIE on, which doesn't work on all arches
# pick only ld(1) -z now to match upstream
CONFIGURE_ARGS = --disable-hardening
CONFIGURE_ENV = ac_cv_have_decl_htobe64=yes LDFLAGS="-Wl,-z,now"
# upstream says 1.3 will ship with tests
NO_TEST = Yes
.include <bsd.port.mk>