summaryrefslogtreecommitdiffstats
path: root/comms/conserver-com/Makefile
blob: b348f621ce3de4b97deb9729fe13e027b31e5f09 (plain)
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
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:	conserver.com
# Date created:		9 December 2001
# Whom:			Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	conserver
PORTVERSION=	8.1.5
CATEGORIES=	comms
MASTER_SITES=	ftp://ftp.conserver.com/conserver/
PKGNAMESUFFIX=	-com

MAINTAINER=	kuriyama@FreeBSD.org
COMMENT=	Application that allows multiple users to watch serial consoles

GNU_CONFIGURE=	YES
CONFIGURE_ARGS=	--with-master=${DEFAULTHOST} --with-port=${DEFAULTPORT} \
		--with-libwrap
USE_RC_SUBR=	yes

MAN1=	console.1
MAN5=	conserver.cf.5 conserver.passwd.5
MAN8=	conserver.8

DEFAULTPORT?=	782
DEFAULTHOST?=	localhost

SED_SCRIPT=	-e 's,%%PREFIX%%,${PREFIX},g' \
		-e 's,%%RC_SUBR%%,${RC_SUBR},g'

post-build:
	${SED} ${SED_SCRIPT} ${FILESDIR}/conserver.sh >${WRKDIR}/conserver.sh

post-install:
	${INSTALL_SCRIPT} ${WRKDIR}/conserver.sh ${PREFIX}/etc/rc.d/conserver.sh

.include <bsd.port.mk>
OpenPOWER on IntegriCloud