aboutsummaryrefslogtreecommitdiff
path: root/games/quake2
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake2')
-rw-r--r--games/quake2/quake2-5.10-desktopfile.patch.xzbin0 -> 428 bytes
-rw-r--r--games/quake2/quake2-5.10-optflags.patch.xzbin0 -> 316 bytes
-rw-r--r--games/quake2/quake2-5.10-systemdirvid.patch.xzbin0 -> 580 bytes
-rw-r--r--games/quake2/quake2-ctf-1.02-desktopfile.patch.xzbin0 -> 460 bytes
-rw-r--r--games/quake2/quake2-ctf-1.02-optflags.patch.xzbin0 -> 324 bytes
-rw-r--r--games/quake2/quake2-rogue-1.07-desktopfile.patch.xzbin0 -> 456 bytes
-rw-r--r--games/quake2/quake2-rogue-1.07-optflags.patch.xzbin0 -> 324 bytes
-rw-r--r--games/quake2/quake2-xatrix-1.09-desktopfile.patch.xzbin0 -> 460 bytes
-rw-r--r--games/quake2/quake2-xatrix-1.09-optflags.patch.xzbin0 -> 328 bytes
-rwxr-xr-xgames/quake2/quake2.build109
10 files changed, 109 insertions, 0 deletions
diff --git a/games/quake2/quake2-5.10-desktopfile.patch.xz b/games/quake2/quake2-5.10-desktopfile.patch.xz
new file mode 100644
index 0000000..2e415c1
--- /dev/null
+++ b/games/quake2/quake2-5.10-desktopfile.patch.xz
Binary files differ
diff --git a/games/quake2/quake2-5.10-optflags.patch.xz b/games/quake2/quake2-5.10-optflags.patch.xz
new file mode 100644
index 0000000..eebf99b
--- /dev/null
+++ b/games/quake2/quake2-5.10-optflags.patch.xz
Binary files differ
diff --git a/games/quake2/quake2-5.10-systemdirvid.patch.xz b/games/quake2/quake2-5.10-systemdirvid.patch.xz
new file mode 100644
index 0000000..79984a5
--- /dev/null
+++ b/games/quake2/quake2-5.10-systemdirvid.patch.xz
Binary files differ
diff --git a/games/quake2/quake2-ctf-1.02-desktopfile.patch.xz b/games/quake2/quake2-ctf-1.02-desktopfile.patch.xz
new file mode 100644
index 0000000..295e625
--- /dev/null
+++ b/games/quake2/quake2-ctf-1.02-desktopfile.patch.xz
Binary files differ
diff --git a/games/quake2/quake2-ctf-1.02-optflags.patch.xz b/games/quake2/quake2-ctf-1.02-optflags.patch.xz
new file mode 100644
index 0000000..5e3c869
--- /dev/null
+++ b/games/quake2/quake2-ctf-1.02-optflags.patch.xz
Binary files differ
diff --git a/games/quake2/quake2-rogue-1.07-desktopfile.patch.xz b/games/quake2/quake2-rogue-1.07-desktopfile.patch.xz
new file mode 100644
index 0000000..7b082ff
--- /dev/null
+++ b/games/quake2/quake2-rogue-1.07-desktopfile.patch.xz
Binary files differ
diff --git a/games/quake2/quake2-rogue-1.07-optflags.patch.xz b/games/quake2/quake2-rogue-1.07-optflags.patch.xz
new file mode 100644
index 0000000..ee9c420
--- /dev/null
+++ b/games/quake2/quake2-rogue-1.07-optflags.patch.xz
Binary files differ
diff --git a/games/quake2/quake2-xatrix-1.09-desktopfile.patch.xz b/games/quake2/quake2-xatrix-1.09-desktopfile.patch.xz
new file mode 100644
index 0000000..116672f
--- /dev/null
+++ b/games/quake2/quake2-xatrix-1.09-desktopfile.patch.xz
Binary files differ
diff --git a/games/quake2/quake2-xatrix-1.09-optflags.patch.xz b/games/quake2/quake2-xatrix-1.09-optflags.patch.xz
new file mode 100644
index 0000000..9aef994
--- /dev/null
+++ b/games/quake2/quake2-xatrix-1.09-optflags.patch.xz
Binary files differ
diff --git a/games/quake2/quake2.build b/games/quake2/quake2.build
new file mode 100755
index 0000000..9805355
--- /dev/null
+++ b/games/quake2/quake2.build
@@ -0,0 +1,109 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=quake2
+VERSION=5.10
+BUILD=2
+DEPENDS=('sdl >= 1.2.15-1' 'sound >= 1.0.26-1' 'libvorbis >= 1.3.3-1' 'libopenal >= 1.15.1-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: quake2
+${NAME}:
+${NAME}: Yamagi Quake II is an enhanced client for id Software's Quake II. The
+${NAME}: main focus is an unchanged single player experience like back in
+${NAME}: 1997, thus the gameplay and the graphics are unaltered. Over 1000
+${NAME}: bugs were fixed and an extensive code audit was done, making Yamagi
+${NAME}: Quake II one of the most solid Quake II implementations available.
+${NAME}:
+${NAME}: Homepage: http://www.yamagi.org/quake2
+${NAME}:
+${NAME}:
+EOF
+
+QLIBDIR="${SYS_DIR[lib]}/plugins/quake2"
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://deponie.yamagi.org/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+
+build0()
+{
+make ${JOBS} VERBOSE=1 \
+OPTS="${FLAGS} -DSYSTEMWIDE -DSYSTEMDIR=\\\"${QLIBDIR}\\\""
+doc README
+changelog CHANGELOG
+license LICENSE
+install.dir ${PKG}${SYS_DIR[bin]}
+install.bin release/quake2 ${PKG}${SYS_DIR[bin]}
+install.bin release/q2ded ${PKG}${SYS_DIR[bin]}
+install.dir ${PKG}${QLIBDIR}/baseq2
+install.bin release/ref_gl.so ${PKG}${QLIBDIR}
+install.bin release/baseq2/game.so ${PKG}${QLIBDIR}/baseq2
+install.dir ${PKG}${SYS_DIR[share]}/applications
+install.dat quake2.desktop ${PKG}${SYS_DIR[share]}/applications
+#install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps
+#install.dat icon/Quake2.png ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps/quake2.png
+}
+
+SRCNAME[1]=${NAME}-rogue
+SRCVERS[1]=1.07
+SRCPACK[1]=http://deponie.yamagi.org/${SRCNAME[0]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz
+
+build1()
+{
+make ${JOBS} VERBOSE=1 OPTS="${FLAGS}"
+doc README
+changelog CHANGELOG
+license LICENSE
+install.dir ${PKG}${QLIBDIR}/rogue
+install.bin release/game.so ${PKG}${QLIBDIR}/rogue
+install.dir ${PKG}${SYS_DIR[share]}/applications
+install.dat quake2-rogue.desktop ${PKG}${SYS_DIR[share]}/applications
+}
+
+SRCNAME[2]=${NAME}-xatrix
+SRCVERS[2]=1.09
+SRCPACK[2]=http://deponie.yamagi.org/${SRCNAME[0]}/${SRCNAME[2]}-${SRCVERS[2]}.tar.xz
+
+build2()
+{
+make ${JOBS} VERBOSE=1 OPTS="${FLAGS}"
+doc README
+changelog CHANGELOG
+license LICENSE
+install.dir ${PKG}${QLIBDIR}/xatrix
+install.bin release/game.so ${PKG}${QLIBDIR}/xatrix
+install.dir ${PKG}${SYS_DIR[share]}/applications
+install.dat quake2-xatrix.desktop ${PKG}${SYS_DIR[share]}/applications
+}
+
+SRCNAME[3]=${NAME}-ctf
+SRCVERS[3]=1.02
+SRCPACK[3]=http://deponie.yamagi.org/${SRCNAME[0]}/${SRCNAME[3]}-${SRCVERS[3]}.tar.xz
+
+build3()
+{
+make ${JOBS} VERBOSE=1 OPTS="${FLAGS}"
+doc README
+changelog CHANGELOG
+license LICENSE
+install.dir ${PKG}${QLIBDIR}/ctf
+install.bin release/game.so ${PKG}${QLIBDIR}/ctf
+install.dir ${PKG}${SYS_DIR[share]}/applications
+install.dat quake2-ctf.desktop ${PKG}${SYS_DIR[share]}/applications
+}