1d131f203d
This is the source code for Bungie's MythII metaserver, the backend server system that supported MythII online play over the Internet for several years. The day has come for Bungie's MythII server to be retired. This source code for the server is being released so that the Myth community will have a starting point for creating their own Myth server system, should the need or desire to do so arise. PR: 34755 Submitted by: Miguel Mendez <flynn@energyhq.homeip.net>
43 lines
1.4 KiB
Makefile
43 lines
1.4 KiB
Makefile
# New ports collection makefile for: Bungie.net MythII Metaserver
|
|
# Date created: Sat Feb 9 16:00:13 CET 2002
|
|
# Whom: Miguel Mendez <flynn@energyhq.homeip.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mythserver
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://support.bungie.com/ftp/pub/win/misc/
|
|
DISTNAME= metaserver2open
|
|
|
|
MAINTAINER= flynn@energyhq.homeip.net
|
|
|
|
USE_ZIP= yes
|
|
USE_GMAKE= yes
|
|
WRKSRC= ${WRKDIR}/metaserver2open/spaghetti
|
|
|
|
pre-everything::
|
|
@${ECHO_CMD} "#############################################"
|
|
@${ECHO_CMD} " IMPORTANT!"
|
|
@${ECHO_CMD} " Please: Edit and modify environment.h"
|
|
@${ECHO_CMD} " located at $$\{WRKSRC\}/utils/"
|
|
@${ECHO_CMD} " after running make patch but"
|
|
@${ECHO_CMD} " before compiling this port."
|
|
@${ECHO_CMD} "#############################################"
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e 's@\r@@g' ${WRKSRC}/users_new/main.c
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/game_search_server_new ${PREFIX}/bin
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/roomd_new ${PREFIX}/bin
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/userd_new ${PREFIX}/bin
|
|
@${MKDIR} ${PREFIX}/share/${PORTNAME}/db
|
|
@${MKDIR} ${PREFIX}/share/${PORTNAME}/log
|
|
@${INSTALL_DATA} ${WRKSRC}/motd ${PREFIX}/share/${PORTNAME}/
|
|
@${TOUCH} ${PREFIX}/share/${PORTNAME}/db/orders.dat
|
|
@${TOUCH} ${PREFIX}/share/${PORTNAME}/db/users.dat
|
|
|
|
.include <bsd.port.mk>
|