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

PORTNAME=   conserver
PORTVERSION=    7.2.7
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
USE_REINPLACE=  yes
CONFIGURE_ARGS= --with-master=${DEFAULTHOST} --with-port=${DEFAULTPORT} \
        --with-libwrap

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

DEFAULTPORT?=   782
DEFAULTHOST?=   localhost

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386"
CONFIGURE_ARGS+=--with-64bit
.endif

post-patch:
    ${REINPLACE_CMD} \
        -e 's@/usr/local/bin@${PREFIX}/sbin@' \
        ${WRKSRC}/conserver/conserver.rc.in

.include <bsd.port.post.mk>