<snip>
> I'd be fine with that if it were "*.pak" to include the point release
> pak files that should be bundled with the steam/gog releases.

Few more updates that include:
 - Using ${TRUEPREFIX} in the README as well as *.pak, snip whitespace
 - Do not require jpeg
 - Use ${INSTALL_SCRIPT} in Makefile

Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ Makefile    16 Jan 2016 00:28:38 -0000
@@ -0,0 +1,37 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2016/01/14 20:33:03 bmercer Exp $
+
+SHARED_ONLY=   Yes
+
+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 m ogg openal pthread vorbis vorbisfile z
+
+LIB_DEPENDS=   audio/libvorbis \
+               audio/openal \
+               devel/sdl2
+
+MAKE_ENV+=     VERBOSE=1
+USE_GMAKE=     Yes
+
+do-install:
+       ${INSTALL_SCRIPT} ${FILESDIR}/yquake2 ${PREFIX}/bin/
+       ${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: distinfo
===================================================================
RCS file: distinfo
diff -N distinfo
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ distinfo    16 Jan 2016 00:26:42 -0000
@@ -0,0 +1,2 @@
+SHA256 (quake2-5.32.tar.xz) = v8eAMlSp0iiIVU1a8lL//iEts9qwYxY3u5BFhhuOUIw=
+SIZE (quake2-5.32.tar.xz) = 1692720
Index: files/yquake2
===================================================================
RCS file: files/yquake2
diff -N files/yquake2
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ files/yquake2       16 Jan 2016 00:26:42 -0000
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /usr/local/share/yquake2
+exec /usr/local/share/yquake2/quake2 "$@"
Index: pkg/DESCR
===================================================================
RCS file: pkg/DESCR
diff -N pkg/DESCR
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ pkg/DESCR   16 Jan 2016 00:26:42 -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: pkg/PLIST
===================================================================
RCS file: pkg/PLIST
diff -N pkg/PLIST
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ pkg/PLIST   16 Jan 2016 00:26:42 -0000
@@ -0,0 +1,8 @@
+@comment $OpenBSD: PLIST,v 1.1.1.1 2016/01/14 20:33:03 bmercer Exp $
+bin/yquake2
+share/doc/pkg-readmes/${FULLPKGNAME}
+share/yquake2/
+share/yquake2/baseq2/
+share/yquake2/baseq2/game.so
+@bin share/yquake2/q2ded
+@bin share/yquake2/quake2
Index: pkg/README
===================================================================
RCS file: pkg/README
diff -N pkg/README
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ pkg/README  16 Jan 2016 00:46:40 -0000
@@ -0,0 +1,12 @@
+$OpenBSD: README,v 1.1.1.1 2016/01/14 20:33:03 bmercer Exp $
+
++-----------------------------------------------------------------------
+| Running ${FULLPKGNAME} on OpenBSD
++-----------------------------------------------------------------------
+
+To run yquake2 on OpenBSD, you need the original Quake II data files.
+
+Copy *.pak and the video directory to ${TRUEPREFIX}/share/yquake2/baseq2/
+and start up yquake2. Additional information can be found here:
+
+https://github.com/yquake2/yquake2/blob/master/README#L93

Reply via email to