pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40286: Update games/prboom to 2.5.0



>Number:         40286
>Category:       pkg
>Synopsis:       games/prboom isn't the latest stable version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 28 17:15:00 +0000 2008
>Originator:     Leonardo Taccari
>Release:        NetBSD 5.0_BETA
>Organization:
NetBSD Italia
>Environment:
        
        
System: NetBSD jones 5.0_BETA NetBSD 5.0_BETA (JONES) #0: Sun Nov 16 15:23:23 
CET 2008 leot@boh:/usr/src/sys/arch/i386/compile/JONES i386
Architecture: i386
Machine: i386
>Description:
        games/prboom in pkgsrc isn't the latest stable version. We have the
        version 2.4.7 version while 2.5.0 is out.

        Just some hours ago Thomas Klausner (wiz@) updated the pkgsrc/doc/TODO
        regarding this issue. However, I didn't found any 2.5.0.1 version. It
        seems that the 2.5.0 is the latest stable one. If the 2.5.0 isn't the
        latest stable version please send an email to me and I'll try to update 
it
        in few minutes. Thank you!
>How-To-Repeat:
        $ cd ${PKGSRCDIR}/games/prboom && make show-var VARNAME=DISTNAME
>Fix:
        Please apply the attached patches and remove patches/patch-ac and 
patches,
        patch-ac is no longer required thanks to the SUBST framework.

        Happy new year and thanks a lot!


Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/games/prboom/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- distinfo    6 Jul 2007 19:41:09 -0000       1.14
+++ distinfo    28 Dec 2008 16:23:58 -0000
@@ -1,6 +1,5 @@
 $NetBSD: distinfo,v 1.14 2007/07/06 19:41:09 drochner Exp $
 
-SHA1 (prboom-2.4.7.tar.gz) = 52aeb933db770b48331317dc357f6cbad3085600
-RMD160 (prboom-2.4.7.tar.gz) = 78c8548954dd95469f8099bc8fa697f62a69c17e
-Size (prboom-2.4.7.tar.gz) = 999524 bytes
-SHA1 (patch-ac) = c3df8311277a382fc085ba147614700b73444ac2
+SHA1 (prboom-2.5.0.tar.gz) = f17dc6ed4e72d07b85429177b00b8709ea36f5a0
+RMD160 (prboom-2.5.0.tar.gz) = cc695ca0ceb9f9b9ca2ace7267a064799c61ffba
+Size (prboom-2.5.0.tar.gz) = 1049505 bytes


Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/prboom/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- Makefile    12 Jun 2008 02:14:30 -0000      1.31
+++ Makefile    28 Dec 2008 16:23:43 -0000
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.31 2008/06/12 02:14:30 joerg Exp $
 
-DISTNAME=      prboom-2.4.7
+DISTNAME=      prboom-2.5.0
 CATEGORIES=    games
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=prboom/}
 
@@ -15,6 +15,12 @@ CONFIGURE_ARGS+=     --with-waddir=${PREFIX}
 
 #CONFIGURE_ARGS+=      --enable-gl
 
+SUBST_CLASSES+=                gamesdir
+SUBST_STAGE.gamesdir=  pre-build
+SUBST_MESSAGE.gamesdir=        Fixing hard-coded gamesdir
+SUBST_FILES.gamesdir=  src/Makefile.in
+SUBST_SED.gamesdir+=-e '/^gamesdir =/ s;/games;/bin;g'
+
 .include "../../audio/SDL_mixer/buildlink3.mk"
 .include "../../net/SDL_net/buildlink3.mk"
 

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index