# New ports collection makefile for:	mars_nwe
# Version required:     0.99.pl17
# Date created:		29 Dec 1998
# Whom:			Boris Popov <bp@FreeBSD.org>
#
# $FreeBSD: ports/net/mars_nwe/Makefile,v 1.8 1999/09/27 08:35:51 bp Exp $
#

DISTNAME=       mars_nwe-0.99.pl17
PKGNAME=	mars_nwe-0.99b17
CATEGORIES=	net
MASTER_SITES=	http://www.compu-art.de/download/ \
		ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/mars_nwe/ \
		ftp://ftp.butya.kz/pub/mars_nwe/
EXTRACT_SUFX=	.tgz

MAINTAINER=	bp@FreeBSD.org

WRKSRC=		${WRKDIR}/mars_nwe

do-build:
	@(cd ${WRKSRC} && ${MAKE} all)

do-install:
	@(cd ${WRKSRC} && ./mk.li install)
	@${INSTALL_DATA} ${WRKSRC}/examples/nw.ini ${PREFIX}/etc/nwserv.conf.example
	@${ECHO} "You'll need to create a startup file to load MARS_NWE Server when booting."
	@${ECHO}  "Create a nwserv.sh in ${PREFIX}/etc/rc.d directory and modify"
	@${ECHO}  "${PREFIX}/etc/nwserv.conf manually before you loading server."
	@${ECHO} "Kernel should be compiled with IPX support and IPXrouted should be"
	@${ECHO} "started before server."
	@${ECHO}  ""
	@${ECHO} "Please read details in ${WORKDIR}/mars_nwe/doc directory."
	@${ECHO} "Especially README.FREEBSD file."

.include <bsd.port.mk>
