On Wed, Jan 13, 2016 at 12:08:54PM -0500, Brandon Mercer wrote:
> cje...@openbsd.org
> Cc: 
> Bcc: 
> Subject: games/quake2 update
> Reply-To: 
> 
> Inspired by the recent dhewm3 work, I decided to try quake2 again only
> to find that it does not work. There was some dialogue by folks earlier
> to get the existing port, that has been broken for the better part of
> two years, replaced with yquake2. Because yquake2 is different than
> quake2, I propose we import this new, working version and then delete
> the existing port. This diff was sent out by jsg@ some time ago before a
> fun bikeshedding session. Looking for OK's to import this: 
> 
> bmercer@

I can't test the port but please add "SHARED_ONLY=Yes", remove
PFRAG.shared and update PLIST.

> 
> Index: yquake2/Makefile
> ===================================================================
> RCS file: yquake2/Makefile
> diff -N yquake2/Makefile
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ yquake2/Makefile  13 Jan 2016 16:51:48 -0000
> @@ -0,0 +1,34 @@
> +# $OpenBSD$
> +
> +COMMENT=     Yamagi Quake II
> +N=           yquake2
> +V=           5.32
> +PKGNAME=     ${N}-${V}
> +DISTNAME=    quake2-${V}
> +CATEGORIES=  games
> +
> +HOMEPAGE=    http://www.yamagi.org/quake2/
> +MASTER_SITES=        http://deponie.yamagi.org/quake2/
> +EXTRACT_SUFX=        .tar.xz
> +
> +# GPLv2
> +PERMIT_PACKAGE_CDROM=   Yes
> +
> +WANTLIB += GL SDL2 c jpeg m ogg pthread vorbis vorbisfile z
> +
> +LIB_DEPENDS= audio/libvorbis \
> +             graphics/jpeg \
> +             devel/sdl2
> +
> +MAKE_ENV+=   VERBOSE=1
> +USE_GMAKE=   Yes
> +
> +do-install:
> +     ${INSTALL_DATA_DIR} ${PREFIX}/share/${N}
> +     ${INSTALL_PROGRAM} ${WRKBUILD}/release/{quake2,q2ded} \
> +         ${PREFIX}/share/${N}/
> +     ${INSTALL_DATA_DIR} ${PREFIX}/share/${N}/baseq2
> +     ${INSTALL_PROGRAM} ${WRKBUILD}/release/baseq2/game.so \
> +         ${PREFIX}/share/${N}/baseq2/
> +
> +.include <bsd.port.mk>
> Index: yquake2/distinfo
> ===================================================================
> RCS file: yquake2/distinfo
> diff -N yquake2/distinfo
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ yquake2/distinfo  13 Jan 2016 16:26:47 -0000
> @@ -0,0 +1,2 @@
> +SHA256 (quake2-5.32.tar.xz) = v8eAMlSp0iiIVU1a8lL//iEts9qwYxY3u5BFhhuOUIw=
> +SIZE (quake2-5.32.tar.xz) = 1692720
> Index: yquake2/pkg/DESCR
> ===================================================================
> RCS file: yquake2/pkg/DESCR
> diff -N yquake2/pkg/DESCR
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ yquake2/pkg/DESCR 13 Jan 2016 16:26:47 -0000
> @@ -0,0 +1,7 @@
> +Yamagi Quake II is an enhanced client for id Software's Quake II. The
> +main focus is an unchanged single player experience like back in 1997,
> +thus the gameplay and the graphics are unaltered. Over 1000 bugs were
> +fixed and an extensive code audit done, making Yamagi Quake II one of
> +the most solid Quake II implementations available. Other than most ports
> +Yamagi Quake II is full 64 bit clean, so it works perfectly on modern 64
> +bit processors and operating systems.
> Index: yquake2/pkg/PFRAG.shared
> ===================================================================
> RCS file: yquake2/pkg/PFRAG.shared
> diff -N yquake2/pkg/PFRAG.shared
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ yquake2/pkg/PFRAG.shared  13 Jan 2016 16:26:47 -0000
> @@ -0,0 +1,2 @@
> +@comment $OpenBSD$
> +share/yquake2/baseq2/game.so
> Index: yquake2/pkg/PLIST
> ===================================================================
> RCS file: yquake2/pkg/PLIST
> diff -N yquake2/pkg/PLIST
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ yquake2/pkg/PLIST 13 Jan 2016 16:26:47 -0000
> @@ -0,0 +1,6 @@
> +@comment $OpenBSD$
> +%%SHARED%%
> +share/yquake2/
> +share/yquake2/baseq2/
> +@bin share/yquake2/q2ded
> +@bin share/yquake2/quake2
> 

-- 
Juan Francisco Cantero Hurtado http://juanfra.info

Reply via email to