summaryrefslogtreecommitdiff
path: root/games/mythserver/Makefile
blob: 43a4db1f1d5f77fabe6650c3a979c64fba9eccdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# 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=	ports@FreeBSD.org
COMMENT=	Bungie.net MythII Metaserver Open Source

USE_ZIP=	yes
USE_GMAKE=	yes
WRKSRC=		${WRKDIR}/metaserver2open/spaghetti

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 501000
BROKEN=		"Does not compile on FreeBSD ${OSVERSION}"
.endif

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} "#############################################"

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.post.mk>