From 6e618a2f7bcedc80c831c41bb607686248aee3f5 Mon Sep 17 00:00:00 2001 From: Alejandro Pulver Date: Thu, 25 Jan 2007 22:29:06 +0000 Subject: [PATCH] LASANGE aims at creating a mostly-automated LAN session administration and management system. It will provide game server management (instant deployment of game servers) and tournament management in a more advanced and automated way than other systems. It will also consist of basic tools for LAN sessions such as a generic modular Masterserver, IRC bot, etc. WWW: http://lasange-system.sourceforge.net/ --- games/Makefile | 1 + games/masterserver/Makefile | 21 ++++++++++ games/masterserver/distinfo | 3 ++ games/masterserver/files/patch-common.mk | 38 +++++++++++++++++++ .../files/patch-plugins__Makefile | 13 +++++++ games/masterserver/pkg-descr | 7 ++++ games/masterserver/pkg-plist | 8 ++++ 7 files changed, 91 insertions(+) create mode 100644 games/masterserver/Makefile create mode 100644 games/masterserver/distinfo create mode 100644 games/masterserver/files/patch-common.mk create mode 100644 games/masterserver/files/patch-plugins__Makefile create mode 100644 games/masterserver/pkg-descr create mode 100644 games/masterserver/pkg-plist diff --git a/games/Makefile b/games/Makefile index 150a3b23783d..75197f241b89 100644 --- a/games/Makefile +++ b/games/Makefile @@ -438,6 +438,7 @@ SUBDIR += marathon-evil SUBDIR += marathon2-data SUBDIR += marsnomercy + SUBDIR += masterserver SUBDIR += meqcc SUBDIR += merlin SUBDIR += mindfocus diff --git a/games/masterserver/Makefile b/games/masterserver/Makefile new file mode 100644 index 000000000000..0b76f7268332 --- /dev/null +++ b/games/masterserver/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: masterserver +# Date created: 2007-01-25 +# Whom: alepulver +# +# $FreeBSD$ +# + +PORTNAME= masterserver +PORTVERSION= 0.4.1 +CATEGORIES= games +MASTER_SITES= SF +MASTER_SITE_SUBDIR= lasange-system + +MAINTAINER= alepulver@FreeBSD.org +COMMENT= Masterserver for IdSoftware games (D3, EF, H2, Q2, Q3, QW) + +USE_BZIP2= yes +USE_GCC= 3.4+ +USE_GMAKE= yes + +.include diff --git a/games/masterserver/distinfo b/games/masterserver/distinfo new file mode 100644 index 000000000000..e11398a7337a --- /dev/null +++ b/games/masterserver/distinfo @@ -0,0 +1,3 @@ +MD5 (masterserver-0.4.1.tar.bz2) = 5adf9779e95f911784645bd09ecdb98e +SHA256 (masterserver-0.4.1.tar.bz2) = 42be9f767dae53435d8c18bd978ca37d93840d168eaca0b6106ecb2bfffd8d43 +SIZE (masterserver-0.4.1.tar.bz2) = 59089 diff --git a/games/masterserver/files/patch-common.mk b/games/masterserver/files/patch-common.mk new file mode 100644 index 000000000000..8c493842f6c8 --- /dev/null +++ b/games/masterserver/files/patch-common.mk @@ -0,0 +1,38 @@ +--- ./common.mk.orig Tue Mar 15 15:35:46 2005 ++++ ./common.mk Thu Jan 25 11:36:02 2007 +@@ -1,18 +1,18 @@ + SHELL = /bin/sh + +-prefix = /usr ++prefix = $(PREFIX) + bindir = $(prefix)/bin + sbindir = $(prefix)/sbin + libdir = $(prefix)/lib + +-INSTALL = /usr/bin/install +-INSTALLDATA = /usr/bin/install -m 644 +-CC = gcc +-LD = ld +-RM = rm -f +-RMDIR = rmdir -p --ignore-fail-on-non-empty ++INSTALL ?= /usr/bin/install ++INSTALLDATA = $(BSD_INSTALL_DATA) ++CC ?= gcc ++LD ?= ld ++RM ?= rm -f ++RMDIR = -rmdir -p + +-CFLAGS = -DDEBUG -g -Wall ++CFLAGS += -DDEBUG -g -Wall + + PLATFORM := $(shell uname) + ifeq "$(PLATFORM)" "Linux" +@@ -26,7 +26,7 @@ + + ifeq "$(PLATFORM)" "FreeBSD" + CFLAGS_MAIN = $(CFLAGS) -rdynamic \ +- -DMASTERSERVER_LIB_DIR=\"/usr/lib/lasange/masterserver\" ++ -DMASTERSERVER_LIB_DIR=\"$(libdir)/masterserver\" + CFLAGS_PLUGIN = $(CFLAGS) -fPIC + CFLAGS_TESTS = $(CFLAGS) -lm + LDFLAGS = -pthread diff --git a/games/masterserver/files/patch-plugins__Makefile b/games/masterserver/files/patch-plugins__Makefile new file mode 100644 index 000000000000..56a560ac0320 --- /dev/null +++ b/games/masterserver/files/patch-plugins__Makefile @@ -0,0 +1,13 @@ +--- ./plugins/Makefile.orig Sat May 28 11:10:25 2005 ++++ ./plugins/Makefile Thu Jan 25 11:35:53 2007 +@@ -18,8 +18,8 @@ + $(RM) $(OBJS) $(LIBS) + + install: +- $(INSTALL) -m 755 -d $(libdir)/lasange/masterserver +- $(INSTALLDATA) $(LIBS) $(libdir)/lasange/masterserver ++ $(INSTALL) -m 755 -d $(libdir)/masterserver ++ $(INSTALLDATA) $(LIBS) $(libdir)/masterserver + + uninstall: + $(RM) $(libdir)/lasange/masterserver/libq3.so diff --git a/games/masterserver/pkg-descr b/games/masterserver/pkg-descr new file mode 100644 index 000000000000..a433c0c09d60 --- /dev/null +++ b/games/masterserver/pkg-descr @@ -0,0 +1,7 @@ +LASANGE aims at creating a mostly-automated LAN session administration and +management system. It will provide game server management (instant deployment +of game servers) and tournament management in a more advanced and automated +way than other systems. It will also consist of basic tools for LAN sessions +such as a generic modular Masterserver, IRC bot, etc. + +WWW: http://lasange-system.sourceforge.net/ diff --git a/games/masterserver/pkg-plist b/games/masterserver/pkg-plist new file mode 100644 index 000000000000..30063d4f122f --- /dev/null +++ b/games/masterserver/pkg-plist @@ -0,0 +1,8 @@ +bin/masterserver +lib/masterserver/libd3.so +lib/masterserver/libef.so +lib/masterserver/libh2.so +lib/masterserver/libq2.so +lib/masterserver/libq3.so +lib/masterserver/libqw.so +@dirrm lib/masterserver