# New ports collection makefile for:	mserver
# Date created:				21 May 1999
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD: ports/comms/mserver/Makefile,v 1.10 2003/03/07 05:57:37 ade Exp $
#

PORTNAME=	mserver
PORTVERSION=	0.23a
CATEGORIES=	comms
MASTER_SITES=	ftp://ftp.usf.uni-kassel.de/pub/unix/modem/ \
		ftp://ftp.be.uu.net/pub/staff/carl/

MAINTAINER=	sobomax@FreeBSD.org
COMMENT=	Network modem sharing server

MAKE_ARGS=	CC="${CC}" CCOPTS="${CFLAGS}"

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mserver ${PREFIX}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/tcpconn ${PREFIX}/sbin
	${INSTALL_DATA} ${WRKSRC}/mserver.conf ${PREFIX}/etc/mserver.conf.default
	${INSTALL_SCRIPT} ${WRKSRC}/mserver.sh.sample ${PREFIX}/etc/rc.d/mserver.sh.sample
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/mserver
	@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/mserver
	@${INSTALL_MAN} ${WRKSRC}/README.tcpconn ${PREFIX}/share/doc/mserver
.endif

.include <bsd.port.mk>
