Date: Mon, 26 Feb 2007 23:26:44 -0300 From: "Alejandro Pulver" <alepulver@FreeBSD.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/109586: [UPDATE] games/stratagus: update to version 2.2.2 Message-ID: <1172543204.12016@phobos.mars.bsd> Resent-Message-ID: <200702270230.l1R2UCh0068646@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109586 >Category: ports >Synopsis: [UPDATE] games/stratagus: update to version 2.2.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Feb 27 02:30:12 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 6.1-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD 6.1-RELEASE-p1 #3: Mon Jun 19 14:49:35 ART 2006 root@phobos.mars.bsd:/usr/obj/usr/src/sys/ATHLON-PHOBOS >Description: - Update to version 2.2.2. - Use SF macro in MASTER_SITES. - Redefine EXTRACT_SUFX instead of DISTNAME to avoid changing WRKSRC. - Change USE_SDL from "yes" (obsolete) to "sdl". - Respect CFLAGS. - Remove IGNORE for FreeBSD < 5.x (unsupported). - Remove files/patch-configure (was integrated). - Misc format on pkg-message. >How-To-Repeat: >Fix: --- stratagus.diff begins here --- Index: stratagus/Makefile =================================================================== RCS file: /home/pcvs/ports/games/stratagus/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile --- stratagus/Makefile 30 Sep 2006 11:00:20 -0000 1.9 +++ stratagus/Makefile 27 Feb 2007 02:14:34 -0000 @@ -6,12 +6,10 @@ # PORTNAME= stratagus -PORTVERSION= 2.1 -PORTREVISION= 3 +PORTVERSION= 2.2.2 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= ${PORTNAME}-${PORTVERSION}-src +MASTER_SITES= SF +EXTRACT_SUFX= -src.tar.gz MAINTAINER= tlp@liquidx.org COMMENT= Free cross-platform real-time strategy gaming engine @@ -20,14 +18,11 @@ USE_GMAKE= yes USE_LUA= 5.0 -USE_SDL= yes +USE_SDL= sdl USE_XLIB= yes GNU_CONFIGURE= yes -CFLAGS= -I${LUA_INCDIR} -LDFLAGS= -L${LUA_LIBDIR} -CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - EXTRA_CFLAGS="${CFLAGS}" EXTRA_LIBS="${LDFLAGS}" -WRKSRC= ${WRKDIR}/stratagus-040702 +CFLAGS+= -I${LUA_INCDIR} +CONFIGURE_ENV= LDFLAGS="-L${LUA_LIBDIR} -lm" OPTIONS= OPENGL "Enable OpenGL support" on \ MIKMOD "Enable Mikmod support" off \ @@ -37,10 +32,6 @@ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -IGNORE= does not run properly on FreeBSD 4.x -.endif - .if defined(WITH_OPENGL) CONFIGURE_ARGS+=--with-opengl .endif @@ -57,7 +48,13 @@ CONFIGURE_ARGS+=--without-ogg .endif +post-patch: + @${REINPLACE_CMD} -e 's|-ldl||; s|gcc|${CC}|' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} + post-install: + @${ECHO_CMD} @${CAT} ${PKGMESSAGE} + @${ECHO_CMD} .include <bsd.port.post.mk> Index: stratagus/distinfo =================================================================== RCS file: /home/pcvs/ports/games/stratagus/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- stratagus/distinfo 22 Jan 2006 11:18:42 -0000 1.2 +++ stratagus/distinfo 27 Feb 2007 02:14:34 -0000 @@ -1,3 +1,3 @@ -MD5 (stratagus-2.1-src.tar.gz) = ff6b2070b66e8847eeed6bedc24ad8bb -SHA256 (stratagus-2.1-src.tar.gz) = 1a5fb943ebc9422a18d165ba57deeae406d3d5e2cba171dfe15608732a22326b -SIZE (stratagus-2.1-src.tar.gz) = 995686 +MD5 (stratagus-2.2.2-src.tar.gz) = 0e116a9d4080dbca6dad78b7d34fec8f +SHA256 (stratagus-2.2.2-src.tar.gz) = b01417a32358a4f234d2d093fff932e3dd526c1bdba1bf0b95fb6aed52e1c9be +SIZE (stratagus-2.2.2-src.tar.gz) = 931693 Index: stratagus/pkg-message =================================================================== RCS file: /home/pcvs/ports/games/stratagus/pkg-message,v retrieving revision 1.2 diff -u -r1.2 pkg-message --- stratagus/pkg-message 15 Sep 2006 08:17:07 -0000 1.2 +++ stratagus/pkg-message 27 Feb 2007 02:14:34 -0000 @@ -1,4 +1,5 @@ ------------------------------------------------------------------------------ + NOTE: This is only the engine. If you wish to play a game that uses the Stratagus engine, you must manually download the Stratagus game data. @@ -11,4 +12,5 @@ http://stratagus.sourceforge.net/games.shtml Enjoy! + ------------------------------------------------------------------------------ Index: stratagus/files/patch-configure =================================================================== RCS file: stratagus/files/patch-configure diff -N stratagus/files/patch-configure --- stratagus/files/patch-configure 15 Sep 2006 08:17:07 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ ---- ./configure.orig Thu Jul 1 22:46:35 2004 -+++ ./configure Mon Jul 17 19:23:06 2006 -@@ -3229,9 +3229,6 @@ - VIDEO_LIBS="$VIDEO_LIBS -lwsock32 -lws2_32 -lmingwex -lgmon" - fi - fi --if test "$ARCH" = "bsd"; then -- VIDEO_LIBS="$VIDEO_LIBS -lc" --fi - - - --- stratagus.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1172543204.12016>