summaryrefslogtreecommitdiff
path: root/games/gleyes
diff options
context:
space:
mode:
authorSeiichirou Hiraoka <flathill@FreeBSD.org>1998-12-17 14:34:50 +0000
committerSeiichirou Hiraoka <flathill@FreeBSD.org>1998-12-17 14:34:50 +0000
commit6e4d9c0010f766921f08a5f6d2cd866242a6c22d (patch)
tree4b72ca2accc21f9aea2fc9a51bfd8c2ab3f8fbd8 /games/gleyes
parentupgrade to 2.01 (diff)
PR: ports/8985
Submitted by: malte.lance@gmx.net GLUT version of Xeyes.
Notes
Notes: svn path=/head/; revision=15400
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 000000000000..09ade74b5c72
--- /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 000000000000..9336303fe388
--- /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 000000000000..5176b93d7ca9
--- /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 000000000000..f0ff2805e52e
--- /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 000000000000..02244aed16b7
--- /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 000000000000..1f43d9fdc057
--- /dev/null
+++ b/games/gleyes/pkg-plist
@@ -0,0 +1 @@
+bin/gleyes