1997-11-22 14:56:14 +00:00
|
|
|
# Ports collection makefile for: conserver
|
|
|
|
# Date created: 22 November 1997
|
|
|
|
# Whom: Peter Wemm <peter@netplex.com.au>
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1997-11-22 14:56:14 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 23:24:42 +00:00
|
|
|
PORTNAME= conserver
|
|
|
|
PORTVERSION= 5.21b
|
1997-11-22 14:56:14 +00:00
|
|
|
CATEGORIES= comms
|
|
|
|
MASTER_SITES= ftp://ftp.uu.net/vendor/bitsko/config-mgmt/ \
|
|
|
|
ftp://unix.hensa.ac.uk/mirrors/uunet/vendor/bitsko/config-mgmt/
|
2000-04-08 23:24:42 +00:00
|
|
|
DISTNAME= conserver-5.21-Beta
|
1997-11-22 14:56:14 +00:00
|
|
|
EXTRACT_SUFX= .shar.gz
|
|
|
|
|
|
|
|
MAINTAINER= peter@FreeBSD.org
|
|
|
|
|
|
|
|
EXTRACT_CMD= zcat
|
|
|
|
EXTRACT_BEFORE_ARGS=
|
|
|
|
EXTRACT_AFTER_ARGS= |sh
|
|
|
|
NO_WRKSUBDIR= yes
|
1997-11-22 15:25:01 +00:00
|
|
|
MAN5= conserver.cf.5
|
|
|
|
MAN8= console.8 conserver.8
|
1997-11-22 14:56:14 +00:00
|
|
|
|
|
|
|
# Set this to where you want console(8) to connect to by default
|
1997-11-22 15:25:01 +00:00
|
|
|
# or use something like ``make DEFAULTHOST=myserver.mydomain.net''
|
|
|
|
DEFAULTHOST?= localhost
|
|
|
|
MAKE_ENV+= DEFAULTHOST="${DEFAULTHOST}"
|
1997-11-22 14:56:14 +00:00
|
|
|
|
1998-03-22 11:47:19 +00:00
|
|
|
# XXX we also have to work around ``new'' uudecode behavior, thanks guys!
|
1997-11-22 14:56:14 +00:00
|
|
|
post-extract:
|
1999-08-18 19:56:41 +00:00
|
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
1998-03-22 11:47:19 +00:00
|
|
|
if [ -f ${WRKSRC}/group.c ]; then \
|
1999-08-18 19:56:41 +00:00
|
|
|
${MV} ${WRKSRC}/group.c ${WRKSRC}/conserver/group.c ; \
|
1998-03-22 11:47:19 +00:00
|
|
|
fi
|
1997-11-22 14:56:14 +00:00
|
|
|
|
1997-11-22 15:37:11 +00:00
|
|
|
post-install:
|
|
|
|
@if [ ! -f ${PREFIX}/etc/rc.d/conserver.sh ]; then \
|
1999-08-18 19:56:41 +00:00
|
|
|
${ECHO} "Installing ${PREFIX}/etc/rc.d/conserver.sh startup file."; \
|
2000-07-05 12:37:06 +00:00
|
|
|
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/conserver.sh \
|
|
|
|
${PREFIX}/etc/rc.d/conserver.sh; \
|
1997-11-22 15:37:11 +00:00
|
|
|
fi
|
|
|
|
|
1997-11-22 14:56:14 +00:00
|
|
|
.include <bsd.port.mk>
|