freebsd-ports/net/omnitty/Makefile
Tijl Coosemans 216b5a285f - Fix missing library problems when the linker enforces explicit linking
PR:		192062
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-08-26 14:06:08 +00:00

31 lines
694 B
Makefile

# Created by: Rong-En Fan <rafan@infor.org>
# $FreeBSD$
PORTNAME= omnitty
PORTVERSION= 0.3.0
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= rafan@FreeBSD.org
COMMENT= Curses-based SSH multiplexer
LIB_DEPENDS= librote.so:${PORTSDIR}/devel/rote
USES= gmake
GNU_CONFIGURE= yes
LIBS+= -lncurses
ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/omnitty man/man1/omnitty.1.gz
post-patch:
${REINPLACE_CMD} 's|<alloca.h>|<stdlib.h>|' \
${WRKSRC}/machmgr.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>