# $OpenBSD: Makefile,v 1.2 2007/09/16 01:37:10 merdely Exp $ COMMENT= RFC 2217 compliant serial port redirector DISTNAME= sredird-2.2.2 CATEGORIES= comms MAINTAINER= Alexey E. Suslikov # 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