Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 1999 00:02:39 +0800 (CST)
From:      Ying-Chieh Liao <ijliao@Terry.Dorm10.NCTU.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11306: New Port : games/bnetd
Message-ID:  <199904241602.AAA21293@Terry.Dorm10.NCTU.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         11306
>Category:       ports
>Synopsis:       New Port : games/bnetd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 24 09:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
NCTU CSIE
>Environment:

FreeBSD Terry.Dorm10.NCTU.edu.tw 4.0-CURRENT FreeBSD 4.0-CURRENT #16: Sun Mar 21
 12:54:31 CST 1999     root@Terry.Dorm10.NCTU.edu.tw:/usr/src/sys/compile/TERRY
 i386

>Description:

Bnetd is a program that will eventually emulate a Blizzard Entertainment's Battle.net(r) server. 

>How-To-Repeat:

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	bnetd
#	bnetd/Makefile
#	bnetd/files
#	bnetd/files/md5
#	bnetd/pkg
#	bnetd/pkg/DESCR
#	bnetd/pkg/COMMENT
#	bnetd/pkg/PLIST
#
echo c - bnetd
mkdir -p bnetd > /dev/null 2>&1
echo x - bnetd/Makefile
sed 's/^X//' >bnetd/Makefile << 'END-of-bnetd/Makefile'
X# New ports collection makefile for:	bnetd
X# Version required:	0.4.6
X# Date created:		24 April 1999
X# Whom:			Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
X#
X# $Id$
X#
X
XDISTNAME=	bnetd-0.4.6
XCATEGORIES=	net game
XMASTER_SITES=	http://www.bnetd.org/files/
X
XMAINTAINER=	ijliao@csie.nctu.edu.tw
X
XMAN1=		bnclient.1 bnetd.1 bnpass.1
XMAN4=		bnetd.conf.4 bntext.4
XMLINKS=		bntext.4 bnmotd.txt.4 bntext.4 bnnews.txt.4
X
Xdo-build:
X	@(cd ${WRKSRC}/src; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS})
X
Xdo-install:
X	cd ${WRKSRC}/bin; ${INSTALL_PROGRAM} bnclient bnpass ${PREFIX}/bin
X	cd ${WRKSRC}/sbin; ${INSTALL_PROGRAM} bnetd ${PREFIX}/sbin
X	cd ${WRKSRC}/man; ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1; ${INSTALL_MAN} ${MAN4} ${MAN4PREFIX}/man/man4
X	${MKDIR} ${PREFIX}/bnetd; ${CP} -R ${WRKSRC}/files ${WRKSRC}/users ${WRKSRC}/conf ${PREFIX}/bnetd
X
Xpost-install:
X	@if [ ! -f ${PREFIX}/etc/rc.d/bnetd.sh ]; then \
X		${ECHO} "Installing ${PREFIX}/etc/rc.d/bnetd.sh startup file."; \
X		${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/bnetd.sh; \
X		${ECHO} "cd ${PREFIX}; [ -x sbin/bnetd -a -f bnetd/conf/bnetd.conf ] && sbin/bnetd -c bnetd/conf/bnetd.conf > /dev/null && echo -n ' bnetd'" >> ${PREFIX}/etc/rc.d/bnetd.sh; \
X		chmod 751 ${PREFIX}/etc/rc.d/bnetd.sh; \
X	fi
X
X.include <bsd.port.mk>
END-of-bnetd/Makefile
echo c - bnetd/files
mkdir -p bnetd/files > /dev/null 2>&1
echo x - bnetd/files/md5
sed 's/^X//' >bnetd/files/md5 << 'END-of-bnetd/files/md5'
XMD5 (bnetd-0.4.6.tar.gz) = 29e0025babc4f6d7f1eafa86697a6c79
END-of-bnetd/files/md5
echo c - bnetd/pkg
mkdir -p bnetd/pkg > /dev/null 2>&1
echo x - bnetd/pkg/DESCR
sed 's/^X//' >bnetd/pkg/DESCR << 'END-of-bnetd/pkg/DESCR'
XBnetd is a program that will eventually emulate a Blizzard Entertainment's
XBattle.net(r) server. It started on the linux platform, but has since been
Xreported to work on *BSD, Solaris, AIX and HP-UX. It should compile and run
Xon any standards-based *nix.
X
XBnetd on WWW : http://www.bnetd.org/
X
XYing-Chieh Liao
Xijliao@csie.nctu.edu.tw
END-of-bnetd/pkg/DESCR
echo x - bnetd/pkg/COMMENT
sed 's/^X//' >bnetd/pkg/COMMENT << 'END-of-bnetd/pkg/COMMENT'
XA game server for StarCraft
END-of-bnetd/pkg/COMMENT
echo x - bnetd/pkg/PLIST
sed 's/^X//' >bnetd/pkg/PLIST << 'END-of-bnetd/pkg/PLIST'
Xbin/bnclient
Xbin/bnpass
Xsbin/bnetd
Xetc/rc.d/bnetd.sh
X@unexec rm -rf %D/bnetd 2>/dev/null || true
END-of-bnetd/pkg/PLIST
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904241602.AAA21293>