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

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

MAINTAINER= kuriyama@FreeBSD.org

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} == "alpha" || ${ARCH} == "sparc64" || ${ARCH} == "ia64"
CONFIGURE_ARGS+=--with-64bit
.endif

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

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

.include <bsd.port.post.mk>