openbsd-ports/comms/sredird/Makefile
alek 59b1318a66 Import sredird 2.2.2
Sredird is a serial port redirector that is compliant with the RFC 2217
"Telnet Com Port Control Option" protocol. This protocol lets you share
a serial port through the network.

From Alexey E. Suslikov <alexey.suslikov@gmail.com>
2006-06-29 10:53:08 +00:00

32 lines
724 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2006/06/29 10:53:08 alek Exp $
COMMENT= "RFC 2217 compliant serial port redirector"
DISTNAME= sredird-2.2.2
CATEGORIES= comms
MAINTAINER= Alexey E. Suslikov <alexey.suslikov@gmail.com>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= http://www.ibiblio.org/pub/Linux/system/serial/
NO_REGRESS= Yes
pre-build:
@perl -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/sredird.8
do-build:
${CC} ${CFLAGS} -Wall -o ${WRKSRC}/sredird ${WRKSRC}/sredird.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sredird ${PREFIX}/libexec
${INSTALL_MAN} ${WRKSRC}/sredird.8 ${PREFIX}/man/man8
.include <bsd.port.mk>