93e7abf2c3
This is ser2net, a program for allowing network connections to serial ports. See the man page for information about using the program. Note that ser2net supports RFC 2217 (remote control of serial port parameters), but you must have a complient client. The only one I know if is kermit (http://www.columbia.edu/kermit). WWW: http://www.sourceforge.net/projects/ser2net/ Submitted by: Devon H. O'Dell <devon.odell@coyotepoint.com>
29 lines
711 B
Makefile
29 lines
711 B
Makefile
# New ports collection makefile for: serialoverip
|
|
# Date created: 3 September 2006
|
|
# Whom: Devon H. O'Dell <devon.odell@coyotepoint.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ser2net
|
|
PORTVERSION= 2.3
|
|
CATEGORIES= comms net
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= devon.odell@coyotepoint.com
|
|
COMMENT= Allows to access serial ports over IP
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --without-uucp-locking
|
|
MAN8= ${PORTNAME}.8
|
|
PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e's!/etc!${PREFIX}/etc!g' ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/${PORTNAME}.8
|
|
|
|
post-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
|
|
|
|
.include <bsd.port.mk>
|