aboutsummaryrefslogtreecommitdiffstats
path: root/comms/ser2net/Makefile
blob: d4b9ae9648249612fe21f1bb17e6e5551e1359f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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>