aboutsummaryrefslogtreecommitdiffstats
path: root/comms/conserver-com/Makefile
blob: e100fda7da25d258d43d1efb75dfd6903f8fbc3e (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
# New ports collection makefile for:    conserver.com
# Date created:     9 December 2001
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

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

MAINTAINER= kuriyama@FreeBSD.org

GNU_CONFIGURE=  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

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

post-install:
    ${LN} -s ../conserver.rc ${PREFIX}/etc/rc.d/conserver.sh-

.include <bsd.port.mk>