Re: games/yquake2 - add $@ to quake2 execution

2018-02-13 Thread Adam Wolk
On Tue, Feb 13, 2018 at 09:09:23PM +, Tom Murphy wrote:
> I noticed in /usr/local/bin/quake2 you couldn't pass command-line options
> to it (such as +connect ) because it didn't use them when
> executing. Here's a small patch to add it.
> 
> Thanks,
> Tom

This is OK awolk@ and has been discussed of list.

I'm looking for another OK to commit the change.

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/games/yquake2/Makefile,v
> retrieving revision 1.12
> diff -u -p -r1.12 Makefile
> --- Makefile  11 Jan 2018 19:27:02 -  1.12
> +++ Makefile  13 Feb 2018 20:49:07 -
> @@ -8,7 +8,7 @@ V=7.10
>  PKGNAME= ${N}-${V}
>  DISTNAME=quake2-${V}
>  CATEGORIES=  games
> -REVISION=0
> +REVISION=1
>  
>  HOMEPAGE=http://www.yamagi.org/quake2/
>  MAINTAINER=  Adam Wolk 
> Index: files/quake2.sh
> ===
> RCS file: /cvs/ports/games/yquake2/files/quake2.sh,v
> retrieving revision 1.1
> diff -u -p -r1.1 quake2.sh
> --- files/quake2.sh   9 Nov 2017 16:20:31 -   1.1
> +++ files/quake2.sh   13 Feb 2018 20:49:07 -
> @@ -1,4 +1,4 @@
>  #!/bin/sh
>  cd ${TRUEPREFIX}/share/yquake2
> -exec ${TRUEPREFIX}/share/yquake2/quake2
> +exec ${TRUEPREFIX}/share/yquake2/quake2 $@
>  
> 



games/yquake2 - add $@ to quake2 execution

2018-02-13 Thread Tom Murphy
I noticed in /usr/local/bin/quake2 you couldn't pass command-line options
to it (such as +connect ) because it didn't use them when
executing. Here's a small patch to add it.

Thanks,
Tom

Index: Makefile
===
RCS file: /cvs/ports/games/yquake2/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile11 Jan 2018 19:27:02 -  1.12
+++ Makefile13 Feb 2018 20:49:07 -
@@ -8,7 +8,7 @@ V=  7.10
 PKGNAME=   ${N}-${V}
 DISTNAME=  quake2-${V}
 CATEGORIES=games
-REVISION=  0
+REVISION=  1
 
 HOMEPAGE=  http://www.yamagi.org/quake2/
 MAINTAINER=Adam Wolk 
Index: files/quake2.sh
===
RCS file: /cvs/ports/games/yquake2/files/quake2.sh,v
retrieving revision 1.1
diff -u -p -r1.1 quake2.sh
--- files/quake2.sh 9 Nov 2017 16:20:31 -   1.1
+++ files/quake2.sh 13 Feb 2018 20:49:07 -
@@ -1,4 +1,4 @@
 #!/bin/sh
 cd ${TRUEPREFIX}/share/yquake2
-exec ${TRUEPREFIX}/share/yquake2/quake2
+exec ${TRUEPREFIX}/share/yquake2/quake2 $@