ff3b1152a6
They must always be bumped after devel/protobuf because it include following files whose filenames contain %%PORTVERSION%%. Consequently, the shlib will always change when PORTVERSION is increased. lib/libprotobuf-lite.so.%%PORTVERSION%%.0 lib/libprotobuf.so.%%PORTVERSION%%.0 lib/libprotoc.so.%%PORTVERSION%%.0 Approved by: portmgr (blanket; fixing consumers)
37 lines
971 B
Makefile
37 lines
971 B
Makefile
PORTNAME= mosh
|
|
PORTVERSION= 1.4.0
|
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
|
PORTREVISION= 10
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Mobile terminal that supports intermittent connectivity
|
|
WWW= https://mosh.org/
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libprotobuf.so:devel/protobuf
|
|
|
|
USES= autoreconf compiler:c++17-lang ncurses perl5 pkgconfig ssl
|
|
USE_PERL5= run
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
CONFIGURE_ARGS= --with-utempter --without-ncurses
|
|
CONFIGURE_ENV+= OpenSSL_CFLAGS="-I${OPENSSLINC}" OpenSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \
|
|
TINFO_CFLAGS="-I/usr/include" ac_cv_have_decl_bswap64=yes \
|
|
ac_cv_have_decl___builtin_bswap64=yes
|
|
INSTALL_TARGET= install-strip
|
|
USE_CXXSTD= c++17
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mobile-shell
|
|
|
|
CONFLICTS_INSTALL= mosh-0.[2-9].*
|
|
|
|
PLIST_FILES= bin/mosh bin/mosh-server bin/mosh-client \
|
|
share/man/man1/mosh-client.1.gz \
|
|
share/man/man1/mosh-server.1.gz \
|
|
share/man/man1/mosh.1.gz
|
|
|
|
.include <bsd.port.mk>
|