diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2007-01-25 22:29:06 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2007-01-25 22:29:06 +0000 |
commit | 6e618a2f7bcedc80c831c41bb607686248aee3f5 (patch) | |
tree | 2a1e5d1be2ad5ac6ffdf01f0a3bd3afc0d9ab6b6 /games/masterserver | |
parent | f00f5d140dffdbb07535d18fa052f1eddac4d01f (diff) | |
download | ports-6e618a2f7bcedc80c831c41bb607686248aee3f5.tar.gz ports-6e618a2f7bcedc80c831c41bb607686248aee3f5.zip |
Notes
Diffstat (limited to 'games/masterserver')
-rw-r--r-- | games/masterserver/Makefile | 21 | ||||
-rw-r--r-- | games/masterserver/distinfo | 3 | ||||
-rw-r--r-- | games/masterserver/files/patch-common.mk | 38 | ||||
-rw-r--r-- | games/masterserver/files/patch-plugins__Makefile | 13 | ||||
-rw-r--r-- | games/masterserver/pkg-descr | 7 | ||||
-rw-r--r-- | games/masterserver/pkg-plist | 8 |
6 files changed, 90 insertions, 0 deletions
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 <bsd.port.mk> 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 |