summaryrefslogtreecommitdiffstats
path: root/games/gleyes
diff options
context:
space:
mode:
authorflathill <flathill@FreeBSD.org>1998-12-17 14:34:50 +0000
committerflathill <flathill@FreeBSD.org>1998-12-17 14:34:50 +0000
commit6a8ef707de87b9364deedf87555949010070a84b (patch)
tree58009e2e5ef640cac25ff6b9f442b1babc6a0988 /games/gleyes
parent0659f0748a4a94c8c5a28d31ed9746e125dbebe9 (diff)
downloadFreeBSD-ports-6a8ef707de87b9364deedf87555949010070a84b.zip
FreeBSD-ports-6a8ef707de87b9364deedf87555949010070a84b.tar.gz
PR: ports/8985
Submitted by: malte.lance@gmx.net GLUT version of Xeyes.
Diffstat (limited to 'games/gleyes')
-rw-r--r--games/gleyes/Makefile24
-rw-r--r--games/gleyes/distinfo1
-rw-r--r--games/gleyes/files/patch-aa32
-rw-r--r--games/gleyes/pkg-comment1
-rw-r--r--games/gleyes/pkg-descr4
-rw-r--r--games/gleyes/pkg-plist1
6 files changed, 63 insertions, 0 deletions
diff --git a/games/gleyes/Makefile b/games/gleyes/Makefile
new file mode 100644
index 0000000..09ade74
--- /dev/null
+++ b/games/gleyes/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: gleyes
+# Version required: 0.2
+# Date created: 2 December 1998
+# Whom: Malte Lance <malte.lance@gmx.net>
+#
+# $Id$
+#
+
+DISTNAME= gleyes-0.2
+CATEGORIES= games
+MASTER_SITES= http://puma.inf.ufpr.br/~claudio/gleyes/
+
+MAINTAINER= malte.lance@gmx.net
+
+LIB_DEPENDS= GL.14:${PORTSDIR}/graphics/Mesa3
+
+MAN1= gleyes.1
+USE_X_PREFIX= yes
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/gleyes ${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/gleyes.1 ${PREFIX}/man/man1/gleyes.1
+
+.include <bsd.port.mk>
diff --git a/games/gleyes/distinfo b/games/gleyes/distinfo
new file mode 100644
index 0000000..9336303
--- /dev/null
+++ b/games/gleyes/distinfo
@@ -0,0 +1 @@
+MD5 (gleyes-0.2.tar.gz) = 6bc8055c6121dd296f221223374e6304
diff --git a/games/gleyes/files/patch-aa b/games/gleyes/files/patch-aa
new file mode 100644
index 0000000..5176b93
--- /dev/null
+++ b/games/gleyes/files/patch-aa
@@ -0,0 +1,32 @@
+--- Makefile.orig Wed Oct 14 01:16:35 1998
++++ Makefile Thu Dec 17 22:54:53 1998
+@@ -5,21 +5,23 @@
+ #--------------------------------------------------------------------------
+
+ # Where you want to have it installed
+-BINDIR = /usr/X11/bin
+-MANDIR = /usr/X11/man/man1
++BINDIR = /usr/X11R6/bin
++MANDIR = /usr/X11R6/man/man1
+
+ # Use these for Mesa
+-#GL = -lglut -lMesaGLU -lMesaGL
++GL = -lglut -lMesaGLU -lMesaGL
+
+ # Use these for OpenGL
+-GL = -lglut -lGLU -lGL
++#GL = -lglut -lGLU -lGL
+
+ # Use these for gcc on Linux (may work in other systems as well)
+ CC = gcc
+-CFLAGS = -O3 -fomit-frame-pointer -ffast-math -Wall -Wno-implicit-int
++CFLAGS = -pipe -O2 -fexpensive-optimizations -ffast-math -fomit-frame-pointer \
++ -fforce-mem -fforce-addr -Wall -Wno-implicit-int -I/usr/X11R6/include \
++ -I/usr/local/include
+ LD = gcc
+ LDFLAGS = -o $@
+-LIBS = -L/usr/X11/lib -L/usr/local/lib $(GL) -lX11 -lXext -lXmu -lXi -lm
++LIBS = -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib $(GL) -lX11 -lXext -lXmu -lXi -lm
+
+ # Use these for cc on IRIX (submitted by Andrew Dalke <dalke@bioreason.com>)
+ #CC = cc
diff --git a/games/gleyes/pkg-comment b/games/gleyes/pkg-comment
new file mode 100644
index 0000000..f0ff280
--- /dev/null
+++ b/games/gleyes/pkg-comment
@@ -0,0 +1 @@
+GLeyes is a GLUT version of Xeyes.
diff --git a/games/gleyes/pkg-descr b/games/gleyes/pkg-descr
new file mode 100644
index 0000000..02244ae
--- /dev/null
+++ b/games/gleyes/pkg-descr
@@ -0,0 +1,4 @@
+GLeyes is a GLUT version of Xeyes. It will be of some use for those who
+have hardware-accelerated GL or can afford this terrible waste of CPU cycles
+(or for those who think that the utter coolness of having a floating eyeball
+in their desktops is worth the extra system load).
diff --git a/games/gleyes/pkg-plist b/games/gleyes/pkg-plist
new file mode 100644
index 0000000..1f43d9f
--- /dev/null
+++ b/games/gleyes/pkg-plist
@@ -0,0 +1 @@
+bin/gleyes
OpenPOWER on IntegriCloud