aboutsummaryrefslogtreecommitdiff
path: root/games/wmquake
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-02-18 13:58:25 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-02-18 13:58:25 +0000
commit2a4f6541af6378b63d9cdf23ad4e4585c645d9ff (patch)
treef3c817465bcc23b3451042e1709607d74055c9ac /games/wmquake
parentfb7c154f954227e6d2c2b28eaba93ee152d19e2a (diff)
downloadports-2a4f6541af6378b63d9cdf23ad4e4585c645d9ff.tar.gz
ports-2a4f6541af6378b63d9cdf23ad4e4585c645d9ff.zip
Notes
Diffstat (limited to 'games/wmquake')
-rw-r--r--games/wmquake/Makefile38
-rw-r--r--games/wmquake/distinfo2
-rw-r--r--games/wmquake/files/patch-Makefile18
-rw-r--r--games/wmquake/pkg-descr4
-rw-r--r--games/wmquake/pkg-message5
5 files changed, 67 insertions, 0 deletions
diff --git a/games/wmquake/Makefile b/games/wmquake/Makefile
new file mode 100644
index 000000000000..762f9dc78ff8
--- /dev/null
+++ b/games/wmquake/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: games/wmquake
+# Date created: 17.01.2005
+# Whom: Ulrich Spoerlein <q@uni.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmquake
+PORTVERSION= 1.1
+CATEGORIES= games
+MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/
+
+MAINTAINER= q@uni.de
+COMMENT= Id Software\'s Quake I in a 64x64 WM dockapp window
+
+LIB_DEPENDS+= gdk12.2:${PORTSDIR}/x11-toolkits/gtk12
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+
+PLIST_FILES= bin/wmquake
+
+.if defined(WITH_OPTIMIZED_CFLAGS)
+CFLAGS+= -O3 -fomit-frame-pointer -funroll-loops -fno-strength-reduce
+.endif
+
+pre-everything::
+.if !defined(WITH_OPTIMIZED_CFLAGS)
+ @${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to enable aggressive optimizations"
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmquake ${PREFIX}/bin
+
+post-install:
+ ${CAT} pkg-message
+
+.include <bsd.port.mk>
diff --git a/games/wmquake/distinfo b/games/wmquake/distinfo
new file mode 100644
index 000000000000..ed83e7a0b5cf
--- /dev/null
+++ b/games/wmquake/distinfo
@@ -0,0 +1,2 @@
+MD5 (wmquake-1.1.tar.bz2) = 3b74f146c2eb8530514b8d1181de2910
+SIZE (wmquake-1.1.tar.bz2) = 256999
diff --git a/games/wmquake/files/patch-Makefile b/games/wmquake/files/patch-Makefile
new file mode 100644
index 000000000000..1b7e9df71227
--- /dev/null
+++ b/games/wmquake/files/patch-Makefile
@@ -0,0 +1,18 @@
+--- Makefile.orig Mon Jan 17 15:11:12 2005
++++ Makefile Mon Jan 17 15:19:21 2005
+@@ -1,6 +1,4 @@
+-CC = gcc
+ #CFLAGS = -g -Wall
+-CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -fno-strength-reduce
+
+ ifneq (, $(findstring freebsd, $(OSTYPE)))
+ GTKCONFIG = gtk12-config
+@@ -10,7 +8,7 @@
+ LIBGDK = -lgdk
+ endif
+
+-LIBS = `$(GTKCONFIG) --libs | sed "s/-l.*//g"` $(LIBGDK) -lm
++LIBS = `$(GTKCONFIG) --libs`
+
+ all: wmquake
+
diff --git a/games/wmquake/pkg-descr b/games/wmquake/pkg-descr
new file mode 100644
index 000000000000..3b41d69746b3
--- /dev/null
+++ b/games/wmquake/pkg-descr
@@ -0,0 +1,4 @@
+Just what you always wanted. Hardcore quake fanatics can
+now enjoy their favorite game in a 64x64 window!
+
+WWW: http://www.ne.jp/asahi/linux/timecop/
diff --git a/games/wmquake/pkg-message b/games/wmquake/pkg-message
new file mode 100644
index 000000000000..16285eabc765
--- /dev/null
+++ b/games/wmquake/pkg-message
@@ -0,0 +1,5 @@
+
+To use wmquake, you have to run it from within Quake I's
+directory, so it can access the "id1" directory containing
+maps, sound and models.
+