diff options
author | alepulver <alepulver@FreeBSD.org> | 2007-10-22 01:51:02 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2007-10-22 01:51:02 +0800 |
commit | 6645d03fa7bb1520ce27a5692ca469c384b3059e (patch) | |
tree | 36d5611c37723edd81323cb807e53b932faabe29 /games/uhexen2 | |
parent | c34155fe3b3caadeecd9bb65049f8e27f4994f59 (diff) | |
download | freebsd-ports-gnome-6645d03fa7bb1520ce27a5692ca469c384b3059e.tar.gz freebsd-ports-gnome-6645d03fa7bb1520ce27a5692ca469c384b3059e.tar.zst freebsd-ports-gnome-6645d03fa7bb1520ce27a5692ca469c384b3059e.zip |
- Update to version 1.4.2.
- Fix launcher Makefile (stock one was not working) [1].
PR: ports/117048
Submitted by: Pedro F. Giffuni <giffunip@tutopia.com>
Reworked by: alepulver [1]
Diffstat (limited to 'games/uhexen2')
-rw-r--r-- | games/uhexen2/Makefile | 6 | ||||
-rw-r--r-- | games/uhexen2/distinfo | 21 | ||||
-rw-r--r-- | games/uhexen2/files/patch-hexen2__Makefile | 22 | ||||
-rw-r--r-- | games/uhexen2/files/patch-hexenworld__Client__Makefile | 22 | ||||
-rw-r--r-- | games/uhexen2/files/patch-hexenworld__Master__Makefile | 19 | ||||
-rw-r--r-- | games/uhexen2/files/patch-hexenworld__Server__Makefile | 14 | ||||
-rw-r--r-- | games/uhexen2/files/patch-launcher__Makefile | 27 | ||||
-rw-r--r-- | games/uhexen2/files/patch-scripts__makefile.inc | 34 | ||||
-rw-r--r-- | games/uhexen2/pkg-plist | 5 |
9 files changed, 77 insertions, 93 deletions
diff --git a/games/uhexen2/Makefile b/games/uhexen2/Makefile index 164b9572e343..b841328462b5 100644 --- a/games/uhexen2/Makefile +++ b/games/uhexen2/Makefile @@ -6,8 +6,7 @@ # PORTNAME= uhexen2 -PORTVERSION= 1.4.1 -PORTREVISION= 1 +PORTVERSION= 1.4.2 CATEGORIES= games MASTER_SITES= SF DISTNAME= hexen2source-${PORTVERSION} @@ -46,7 +45,7 @@ PLIST_SUB+= DEMO="" \ UH2_DATA= default.cfg hexen.rc pak0.pak progs.dat UH2_DATADIR= ${WRKDIR}/hexen2demo-${PORTVERSION} .else -DISTFILES+= gamedata-all-1.16a${EXTRACT_SUFX} +DISTFILES+= gamedata-all-1.19${EXTRACT_SUFX} PLIST_SUB+= DEMO="@comment " \ FULL="" SUB_FILES+= pkg-message @@ -105,7 +104,6 @@ PLIST_SUB+= X86_ASM="@comment " .endif post-extract: - @${RM} -r ${WRKSRC}/docs/activision @${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC} post-patch: diff --git a/games/uhexen2/distinfo b/games/uhexen2/distinfo index 1a011e0b8013..bdfe1dc88f4e 100644 --- a/games/uhexen2/distinfo +++ b/games/uhexen2/distinfo @@ -1,12 +1,9 @@ -MD5 (uhexen2/hexen2source-1.4.1.tgz) = fe903c85565e785b853c34d04aa9e772 -SHA256 (uhexen2/hexen2source-1.4.1.tgz) = 16e87233b9a4f624e736b3924fe33d15bfb49e1653b68a07e946eb212a60c91e -SIZE (uhexen2/hexen2source-1.4.1.tgz) = 1977315 -MD5 (uhexen2/gamedata-all-1.16a.tgz) = ddc49a34ca3dc5c7eba7bf1cac7271b1 -SHA256 (uhexen2/gamedata-all-1.16a.tgz) = a25748d47fc1239e971096f6f76238c315db6523e6885db5d3032b98df49d27e -SIZE (uhexen2/gamedata-all-1.16a.tgz) = 3703921 -MD5 (uhexen2/hexen2demo-1.4.1-linux-i586.tgz) = 6932a1fe02145ee3362b11ddca0b36d4 -SHA256 (uhexen2/hexen2demo-1.4.1-linux-i586.tgz) = dde1d8a9c9203a1f9d171a9ed39bbd245ec23f4e049ea584bafb5aa1b0a84652 -SIZE (uhexen2/hexen2demo-1.4.1-linux-i586.tgz) = 18788495 -MD5 (uhexen2/hexenworld-pakfiles-0.15.tgz) = 91183a784f7f3ee273a04d0c7a828a77 -SHA256 (uhexen2/hexenworld-pakfiles-0.15.tgz) = 215e92f58bc7ed6098f076b45a20b94092599bfce6c4cd00f2895b24a6ee72fe -SIZE (uhexen2/hexenworld-pakfiles-0.15.tgz) = 4956848 +MD5 (uhexen2/hexen2source-1.4.2.tgz) = 97430f7f759f662c7424d33f2031e808 +SHA256 (uhexen2/hexen2source-1.4.2.tgz) = cd12e4a24edf1958e773110493a6ef67947d400eb74be2821c3b6786c7769c49 +SIZE (uhexen2/hexen2source-1.4.2.tgz) = 2062106 +MD5 (uhexen2/gamedata-all-1.19.tgz) = 3eeecab2f5d3bd362c68a6c26f990f70 +SHA256 (uhexen2/gamedata-all-1.19.tgz) = 1d291d06f3de337bc0ef13dae3d1c0d7593d5a9308a8a2451196730ffb5fe7b1 +SIZE (uhexen2/gamedata-all-1.19.tgz) = 3703620 +MD5 (uhexen2/hexenworld-pakfiles-0.15.tgz) = 9ac598a80765daa0862893bd0aac765a +SHA256 (uhexen2/hexenworld-pakfiles-0.15.tgz) = 49462cdf984deee7350d03c7d192d1c34d682647ffc9d06de4308e0a7c71c4d9 +SIZE (uhexen2/hexenworld-pakfiles-0.15.tgz) = 4948641 diff --git a/games/uhexen2/files/patch-hexen2__Makefile b/games/uhexen2/files/patch-hexen2__Makefile index 38016eaf9279..54ec06f63a20 100644 --- a/games/uhexen2/files/patch-hexen2__Makefile +++ b/games/uhexen2/files/patch-hexen2__Makefile @@ -1,29 +1,31 @@ ---- ./hexen2/Makefile.orig Fri Oct 6 13:43:32 2006 -+++ ./hexen2/Makefile Tue Jan 9 16:56:32 2007 -@@ -89,11 +89,11 @@ +--- hexen2/Makefile.orig Sat Sep 15 09:16:44 2007 ++++ hexen2/Makefile Mon Oct 8 15:56:50 2007 +@@ -113,13 +113,13 @@ USE_SDLAUDIO=yes USE_MIDI=yes USE_CDAUDIO=yes -USE_SDLCD=no +USE_SDLCD=yes WITH_SPLASHES=yes + LINK_DIRECTX=no OPT_EXTRA=yes LINK_GL_LIBS=no + USE_3DFXGAMMA=yes -USE_X86_ASM=yes +USE_X86_ASM?=no + COMPILE_32BITS=no # build environment sanity checks - ifeq ($(USE_X86_ASM),yes) -@@ -125,7 +125,7 @@ - #ARCHFLAGS:= +@@ -176,7 +176,7 @@ + + else - ifndef DEBUG -CFLAGS := $(CPUFLAGS) -O2 -Wall -ffast-math -fexpensive-optimizations +CFLAGS := $(CFLAGS) $(CPUFLAGS) -O2 -Wall -ffast-math -fexpensive-optimizations - HAVE_GCC_4_0:=$(shell sh $(UHEXEN2_TOP)/scripts/gcc40check.sh $(CC)) - DISABLE_UNIT_AT_A_TIME ?=$(HAVE_GCC_4_0) -@@ -141,7 +141,9 @@ + ifdef NO_UNIT_AT_A_TIME + CFLAGS := $(CFLAGS) $(call check_gcc,-fno-unit-at-a-time,) +@@ -184,7 +184,9 @@ ifeq ($(OPT_EXTRA),yes) # Note: re-check these flags for non-ia32 machines diff --git a/games/uhexen2/files/patch-hexenworld__Client__Makefile b/games/uhexen2/files/patch-hexenworld__Client__Makefile index 7c659fce873a..ebe2b3f1f39c 100644 --- a/games/uhexen2/files/patch-hexenworld__Client__Makefile +++ b/games/uhexen2/files/patch-hexenworld__Client__Makefile @@ -1,29 +1,31 @@ ---- ./hexenworld/Client/Makefile.orig Fri Oct 6 13:43:35 2006 -+++ ./hexenworld/Client/Makefile Tue Jan 9 16:56:32 2007 -@@ -89,11 +89,11 @@ +--- hexenworld/Client/Makefile.orig Sat Sep 15 09:16:44 2007 ++++ hexenworld/Client/Makefile Mon Oct 8 15:51:44 2007 +@@ -113,13 +113,13 @@ USE_SDLAUDIO=yes USE_MIDI=yes USE_CDAUDIO=yes -USE_SDLCD=no +USE_SDLCD=yes WITH_SPLASHES=yes + LINK_DIRECTX=no OPT_EXTRA=yes LINK_GL_LIBS=no + USE_3DFXGAMMA=yes -USE_X86_ASM=yes +USE_X86_ASM?=no + COMPILE_32BITS=no # build environment sanity checks - ifeq ($(USE_X86_ASM),yes) -@@ -125,7 +125,7 @@ - #ARCHFLAGS:= +@@ -176,7 +176,7 @@ + + else - ifndef DEBUG -CFLAGS := $(CPUFLAGS) -O2 -Wall -ffast-math -fexpensive-optimizations +CFLAGS := $(CFLAGS) $(CPUFLAGS) -O2 -Wall -ffast-math -fexpensive-optimizations - HAVE_GCC_4_0:=$(shell sh $(UHEXEN2_TOP)/scripts/gcc40check.sh $(CC)) - DISABLE_UNIT_AT_A_TIME ?=$(HAVE_GCC_4_0) -@@ -141,7 +141,9 @@ + ifdef NO_UNIT_AT_A_TIME + CFLAGS := $(CFLAGS) $(call check_gcc,-fno-unit-at-a-time,) +@@ -184,7 +184,9 @@ ifeq ($(OPT_EXTRA),yes) # Note: re-check these flags for non-ia32 machines diff --git a/games/uhexen2/files/patch-hexenworld__Master__Makefile b/games/uhexen2/files/patch-hexenworld__Master__Makefile index 2af19494ebcf..a2cb98bcd1d0 100644 --- a/games/uhexen2/files/patch-hexenworld__Master__Makefile +++ b/games/uhexen2/files/patch-hexenworld__Master__Makefile @@ -1,18 +1,11 @@ ---- ./hexenworld/Master/Makefile.orig Fri Oct 6 13:43:35 2006 -+++ ./hexenworld/Master/Makefile Tue Jan 9 16:56:32 2007 -@@ -24,14 +24,11 @@ - # Compiler flags +--- hexenworld/Master/Makefile.orig Thu Jul 12 14:41:20 2007 ++++ hexenworld/Master/Makefile Mon Oct 8 15:58:40 2007 +@@ -41,7 +41,7 @@ - # Overrides for the default CPUFLAGS --ifeq ($(MACH_TYPE),x86) --CPUFLAGS:=-march=i386 --endif - # Overrides for the default ARCHFLAGS - #ARCHFLAGS:= + else - ifndef DEBUG -CFLAGS := $(CPUFLAGS) -O2 -Wall +CFLAGS := $(CFLAGS) $(CPUFLAGS) -O2 -Wall - endif - # Other build flags + ifdef NO_UNIT_AT_A_TIME + CFLAGS := $(CFLAGS) $(call check_gcc,-fno-unit-at-a-time,) diff --git a/games/uhexen2/files/patch-hexenworld__Server__Makefile b/games/uhexen2/files/patch-hexenworld__Server__Makefile index 3e5c8b8065e6..49bff0f655a9 100644 --- a/games/uhexen2/files/patch-hexenworld__Server__Makefile +++ b/games/uhexen2/files/patch-hexenworld__Server__Makefile @@ -1,11 +1,11 @@ ---- ./hexenworld/Server/Makefile.orig Fri Oct 6 13:43:35 2006 -+++ ./hexenworld/Server/Makefile Tue Jan 9 16:56:32 2007 -@@ -30,7 +30,7 @@ - #ARCHFLAGS:= +--- hexenworld/Server/Makefile.orig Thu Jul 12 14:41:20 2007 ++++ hexenworld/Server/Makefile Mon Oct 8 16:01:34 2007 +@@ -64,7 +64,7 @@ + + else - ifndef DEBUG -CFLAGS := $(CPUFLAGS) -O2 -Wall -ffast-math -fexpensive-optimizations +CFLAGS := $(CFLAGS) $(CPUFLAGS) -O2 -Wall -ffast-math -fexpensive-optimizations - HAVE_GCC_4_0:=$(shell sh $(UHEXEN2_TOP)/scripts/gcc40check.sh $(CC)) - DISABLE_UNIT_AT_A_TIME ?=$(HAVE_GCC_4_0) + ifdef NO_UNIT_AT_A_TIME + CFLAGS := $(CFLAGS) $(call check_gcc,-fno-unit-at-a-time,) diff --git a/games/uhexen2/files/patch-launcher__Makefile b/games/uhexen2/files/patch-launcher__Makefile index 7adb678d731e..e14a1e3927b1 100644 --- a/games/uhexen2/files/patch-launcher__Makefile +++ b/games/uhexen2/files/patch-launcher__Makefile @@ -1,6 +1,6 @@ ---- ./launcher/Makefile.orig Fri Oct 6 13:43:36 2006 -+++ ./launcher/Makefile Tue Jan 9 16:56:32 2007 -@@ -11,27 +11,11 @@ +--- launcher/Makefile.orig Mon Aug 13 10:01:46 2007 ++++ launcher/Makefile Sun Oct 21 14:38:45 2007 +@@ -19,19 +19,7 @@ HOST_OS:=$(shell uname) @@ -17,15 +17,28 @@ -ifeq ($(CC_OVERRIDE),) -CC := $(CC_DEFAULT) -endif -+CC ?= gcc ++CC_DEFAULT:=cc LINKER:= $(CC) +@@ -39,11 +27,7 @@ + XDELTA_FLAGS:= + XDELTA_LINK:= -L$(XDELTA_DIR)/.libs -lxdelta -L$(XDELTA_DIR)/libedsio/.libs -ledsio + -ifdef DEMO --TMPNAME:= h2demo +-H2LAUNCH:= h2demo -else - TMPNAME:= h2launcher + H2LAUNCH:= h2launcher -endif ifdef GTK1 - H2LAUNCH:= $(TMPNAME).gtk1 + GTK_CFLAGS:= $(shell gtk-config --cflags) +@@ -124,7 +108,7 @@ + ALL_OBJECTS := $(LAUNCHER_OBJS) $(GUI_OBJS) $(XPATCH_OBJS) \ + $(LIBXDELTA_OBJS) $(LIBEDSIO_OBJS) $(LAUNCHER_MAIN) + +-$(H2LAUNCH): $(LAUNCHER_OBJS) $(LAUNCHER_MAIN) $(GUI_OBJS) $(XPATCH_OBJS) ++$(H2LAUNCH): $(ALL_OBJECTS) + @rm -f $(H2LAUNCH) + $(LINKER) -o $(H2LAUNCH) $(ALL_OBJECTS) $(LDFLAGS) + diff --git a/games/uhexen2/files/patch-scripts__makefile.inc b/games/uhexen2/files/patch-scripts__makefile.inc index edd33da68e99..b89449a8a24c 100644 --- a/games/uhexen2/files/patch-scripts__makefile.inc +++ b/games/uhexen2/files/patch-scripts__makefile.inc @@ -1,16 +1,15 @@ ---- ./scripts/makefile.inc.orig Fri Oct 6 13:43:36 2006 -+++ ./scripts/makefile.inc Tue Jan 9 16:56:32 2007 -@@ -15,7 +15,8 @@ +--- scripts/makefile.inc.orig Thu Jul 12 14:41:20 2007 ++++ scripts/makefile.inc Mon Oct 8 16:11:27 2007 +@@ -17,7 +17,7 @@ # Common paths: # X directory --X11_PATH ?=/usr/X11R6 -+X11BASE ?= /usr/X11R6 -+X11_PATH ?= $(X11BASE) +-X11BASE ?=/usr/X11R6 ++X11BASE ?=/usr/local # MinGW32 directory: MINGWDIR ?=/mingw -@@ -61,22 +62,7 @@ +@@ -73,22 +73,7 @@ endif # Compiler selection: @@ -30,26 +29,7 @@ -ifeq ($(CC_OVERRIDE),) -CC := $(CC_DEFAULT) -endif -+CC ?= gcc ++CC ?= cc NASM ?= $(NASM_BIN) WINDRES ?= windres -@@ -104,9 +90,6 @@ - - # default CPU flags - CPUFLAGS:= --ifeq ($(MACH_TYPE),x86) --CPUFLAGS:=-march=i586 --endif - - # NASM flags: - # These are required for IA32 assembly for hexen2/hexenworld clients -@@ -121,7 +104,7 @@ - # be added to the make command - DFLAGS := -g -Wall - ifdef DEBUG --CFLAGS := $(DFLAGS) -+CFLAGS := $(CFLAGS) $(DFLAGS) - endif - - # the "sdl-config" command diff --git a/games/uhexen2/pkg-plist b/games/uhexen2/pkg-plist index 70bdcab63a11..0253a0ce0d6e 100644 --- a/games/uhexen2/pkg-plist +++ b/games/uhexen2/pkg-plist @@ -12,9 +12,6 @@ %%PORTDOCS%%%%DOCSDIR%%/COMPILE %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/Features -%%PORTDOCS%%%%DOCSDIR%%/LICENSE -%%PORTDOCS%%%%DOCSDIR%%/NOTES.porting -%%PORTDOCS%%%%DOCSDIR%%/NonIntel.log %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/README.3dfx %%PORTDOCS%%%%DOCSDIR%%/README.AoT @@ -29,6 +26,7 @@ %%PORTDOCS%%%%DOCSDIR%%/ReleaseNotes-1.3.0 %%PORTDOCS%%%%DOCSDIR%%/ReleaseNotes-1.4.0 %%PORTDOCS%%%%DOCSDIR%%/ReleaseNotes-1.4.1 +%%PORTDOCS%%%%DOCSDIR%%/ReleaseNotes-1.4.2 %%PORTDOCS%%%%DOCSDIR%%/TODO %%DATADIR%%/data1/default.cfg %%DATADIR%%/data1/hexen.rc @@ -41,6 +39,7 @@ %%HW%%%%DATADIR%%/hw/default.cfg %%HW%%%%DATADIR%%/hw/hwprogs.dat %%HW%%%%DATADIR%%/hw/pak4.pak +%%HW%%%%DATADIR%%/hw/pak4_readme.txt %%HW%%%%DATADIR%%/hw/strings.txt %%FULL%%%%DATADIR%%/portals/default.cfg %%FULL%%%%DATADIR%%/portals/hexen.rc |