From owner-svn-ports-all@FreeBSD.ORG Fri Jun 6 15:39:02 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5B8ACE9; Fri, 6 Jun 2014 15:39:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C66D62F62; Fri, 6 Jun 2014 15:39:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s56Fd1JU098079; Fri, 6 Jun 2014 15:39:01 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s56Fd1Gf098073; Fri, 6 Jun 2014 15:39:01 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201406061539.s56Fd1Gf098073@svn.freebsd.org> From: Alexey Dokuchaev Date: Fri, 6 Jun 2014 15:39:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356809 - in head/games/quake2-lights: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2014 15:39:02 -0000 Author: danfe Date: Fri Jun 6 15:39:00 2014 New Revision: 356809 URL: http://svnweb.freebsd.org/changeset/ports/356809 QAT: https://qat.redports.org/buildarchive/r356809/ Log: - Stagify; fix the build by dropping now unsupported compiler options - Point MASTER_SITES to a working mirror; optimize away MASTER_SITE_SUBDIR - Provide a real port description; deuglify patch names; mute MKDIR's Added: head/games/quake2-lights/files/patch-lights-src-Makefile - copied, changed from r356807, head/games/quake2-lights/files/patch-lights__src__Makefile head/games/quake2-lights/files/patch-lights-src-g_items.c - copied unchanged from r356803, head/games/quake2-lights/files/patch-lights__src__g_items.c Deleted: head/games/quake2-lights/files/patch-lights__src__Makefile head/games/quake2-lights/files/patch-lights__src__g_items.c Modified: head/games/quake2-lights/Makefile head/games/quake2-lights/pkg-descr Modified: head/games/quake2-lights/Makefile ============================================================================== --- head/games/quake2-lights/Makefile Fri Jun 6 15:38:37 2014 (r356808) +++ head/games/quake2-lights/Makefile Fri Jun 6 15:39:00 2014 (r356809) @@ -1,12 +1,11 @@ -# Created by: alepulver +# Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= lights PORTVERSION= 1 CATEGORIES= games -MASTER_SITES= http://qudos.quakedev.com/linux/quake2/mods/:data \ - ${MASTER_SITE_LOCAL:S|$|:src|} -MASTER_SITE_SUBDIR= alepulver/:src +MASTER_SITES= http://bfeared.com/library/quake/archive/quakedev/qudos/quake2/mods/:data \ + LOCAL/alepulver/:src PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX} DISTNAME= Lights.v${PORTVERSION}.Linux DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:data,src \ @@ -22,26 +21,22 @@ ALL_TARGET= release DOCSDIR= ${PREFIX}/share/doc/${LATEST_LINK} -NO_STAGE= yes -.include "${.CURDIR}/../quake2-data/Makefile.include" - -.include - post-patch: @${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${BUILD_WRKSRC}/q_shared.c @${REINPLACE_CMD} -e 's///' \ ${BUILD_WRKSRC}/ace/acebot_compress.c do-install: - ${MKDIR} ${Q2DIR}/${PORTNAME} + @${MKDIR} ${STAGEDIR}${Q2DIR}/${PORTNAME} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/lights/game.so \ - ${Q2DIR}/${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/lights/pak99.pak ${Q2DIR}/${PORTNAME} - cd ${WRKSRC}/quake2/lights && \ - ${CP} -R autoexec.cfg demos pics sprites ${Q2DIR}/${PORTNAME} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/quake2/lights/Readme. ${DOCSDIR}/readme.txt -.endif + ${STAGEDIR}${Q2DIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/lights/pak99.pak \ + ${STAGEDIR}${Q2DIR}/${PORTNAME} + cd ${WRKSRC}/quake2/lights && ${CP} -a autoexec.cfg demos pics \ + sprites ${STAGEDIR}${Q2DIR}/${PORTNAME} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/quake2/lights/Readme. \ + ${STAGEDIR}${DOCSDIR}/readme.txt -.include +.include "${.CURDIR}/../quake2-data/Makefile.include" +.include Copied and modified: head/games/quake2-lights/files/patch-lights-src-Makefile (from r356807, head/games/quake2-lights/files/patch-lights__src__Makefile) ============================================================================== --- head/games/quake2-lights/files/patch-lights__src__Makefile Fri Jun 6 15:33:39 2014 (r356807, copy source) +++ head/games/quake2-lights/files/patch-lights-src-Makefile Fri Jun 6 15:39:00 2014 (r356809) @@ -28,7 +28,7 @@ - -falign-jumps=2 -falign-functions=2 + -fexpensive-optimizations +ifeq ($(ARCH),i386) -+RELEASE_CFLAGS+=-falign-loops=2 -falign-jumps=2 -falign-functions=2 ++RELEASE_CFLAGS+=-falign-functions=2 +endif DEBUG_CFLAGS=$(BASE_CFLAGS) -g -LDFLAGS=-ldl -lm @@ -36,7 +36,7 @@ SHLIBEXT=so -@@ -31,7 +23,7 @@ +@@ -31,7 +23,7 @@ SHLIBLDFLAGS=-shared DO_CC=$(CC) $(CFLAGS) -o $@ -c $< DO_SHLIB_CC=$(CC) $(CFLAGS) $(SHLIBCFLAGS) -o $@ -c $< @@ -45,7 +45,7 @@ all: @echo -@@ -43,11 +35,11 @@ +@@ -43,11 +35,11 @@ all: debug: @-mkdir -p $(BUILD_DEBUG_DIR)/lights/nav @@ -59,7 +59,7 @@ targets: $(TARGETS) -@@ -116,7 +108,7 @@ +@@ -116,7 +108,7 @@ LIGHTS_OBJS = \ $(BUILDDIR)/scanner.o \ $(BUILDDIR)/q_shared.o @@ -68,7 +68,7 @@ $(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(LIGHTS_OBJS) $(BUILDDIR)/acebot_ai.o : ace/acebot_ai.c -@@ -310,10 +302,10 @@ +@@ -310,10 +302,10 @@ $(BUILDDIR)/q_shared.o : q_shared.c clean: clean-debug clean-release clean-debug: Copied: head/games/quake2-lights/files/patch-lights-src-g_items.c (from r356803, head/games/quake2-lights/files/patch-lights__src__g_items.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/quake2-lights/files/patch-lights-src-g_items.c Fri Jun 6 15:39:00 2014 (r356809, copy of r356803, head/games/quake2-lights/files/patch-lights__src__g_items.c) @@ -0,0 +1,10 @@ +--- ./lights/src/g_items.c.orig Sun Feb 4 16:20:11 2007 ++++ ./lights/src/g_items.c Sun Feb 4 16:20:32 2007 +@@ -1794,6 +1794,7 @@ + 60, /*ATTILA respwan after 60 secs*/ + NULL, + 0, ++ 0, + NULL, + 0, + /* precache */ "hover/hovidle1.wav items/damage.wav items/damage2.wav items/damage3.wav" Modified: head/games/quake2-lights/pkg-descr ============================================================================== --- head/games/quake2-lights/pkg-descr Fri Jun 6 15:38:37 2014 (r356808) +++ head/games/quake2-lights/pkg-descr Fri Jun 6 15:39:00 2014 (r356809) @@ -1 +1,11 @@ -Lights modification for Quake II. +This is a modification for Quake II which adds lights and lots of effects +for the weapons shots. + +This mod is intended to play it with Quake2Max supported binaries because +the lights and effects are better saw compared to original Quake2 binaries. + +There are already a lot of new commands, scanner, flashlight, decoys, +defense laser, chasecam, hook, etc. Some keys in the autoexec.cfg are set +by default. + +Single player game is also playable with this mod.