1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/net/mosh/Makefile
Ryan Steinmetz 054cdfe9bc - Fix build when devel/ncurses is installed
- Do not bump PORTREVISION

PR:		ports/185574
2014-01-14 17:46:52 +00:00

45 lines
1.0 KiB
Makefile

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= mosh
PORTVERSION= 1.2.4
CATEGORIES= net
MASTER_SITES= http://mosh.mit.edu/ \
http://mirrors.rit.edu/zi/
MAINTAINER= zi@FreeBSD.org
COMMENT= Mobile terminal that supports intermittent connectivity
LICENSE= GPLv3
LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf
USE_PERL5= run
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-utempter --without-ncurses
CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \
TINFO_CFLAGS="-I/usr/include"
INSTALL_TARGET= install-strip
USE_OPENSSL= yes
USES= pkgconfig perl5
LATEST_LINK= mosh-term
CONFLICTS_INSTALL= mosh-0.[2-9].*
PLIST_FILES= bin/mosh bin/mosh-server bin/mosh-client \
man/man1/mosh-client.1.gz man/man1/mosh-server.1.gz man/man1/mosh.1.gz
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 900004
LIB_DEPENDS+= libutempter.so:${PORTSDIR}/sysutils/libutempter
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>