summaryrefslogtreecommitdiff
path: root/games/billardgl
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-01-31 02:47:25 +0000
committerrillig <rillig@pkgsrc.org>2006-01-31 02:47:25 +0000
commit75f1f62b6d999949fadea3775cade345b89d2ab7 (patch)
tree4a41b14b6cfa2958c66c18984aad3aa6958bc20c /games/billardgl
parentb5616504de2b699ab812aa028e67b0f4396573de (diff)
downloadpkgsrc-75f1f62b6d999949fadea3775cade345b89d2ab7.tar.gz
Imported billardgl from pkgsrc-wip.
BillardGL is an OpenGL pool billiard simulation by Stefan Disch, Tobias Nopper and Martina Welte. BillardGL is published under the GPL. Packaged by wojtek@3miasto.net.
Diffstat (limited to 'games/billardgl')
-rw-r--r--games/billardgl/DESCR4
-rw-r--r--games/billardgl/Makefile27
-rw-r--r--games/billardgl/PLIST109
-rw-r--r--games/billardgl/distinfo6
-rw-r--r--games/billardgl/patches/patch-aa33
5 files changed, 179 insertions, 0 deletions
diff --git a/games/billardgl/DESCR b/games/billardgl/DESCR
new file mode 100644
index 00000000000..a315b9b58df
--- /dev/null
+++ b/games/billardgl/DESCR
@@ -0,0 +1,4 @@
+BillardGL is an OpenGL pool billiard simulation by Stefan Disch, Tobias
+Nopper and Martina Welte.
+
+BillardGL is published under the GPL.
diff --git a/games/billardgl/Makefile b/games/billardgl/Makefile
new file mode 100644
index 00000000000..d6fd686d3ec
--- /dev/null
+++ b/games/billardgl/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/01/31 02:47:25 rillig Exp $
+#
+
+DISTNAME= BillardGL-1.75
+PKGNAME= ${DISTNAME:S/BillardGL/billardgl/}
+CATEGORIES= games
+MASTER_SITES= http://wesley.informatik.uni-freiburg.de/~nopper/BillardGL/download/
+
+MAINTAINER= wojtek@3miasto.net
+HOMEPAGE= http://www.tobias-nopper.de/BillardGL/
+COMMENT= 3D Billard using OpenGL hardware acceleration
+
+BUILD_DIRS= src
+USE_TOOLS+= gmake imake
+MAKE_ENV+= PAX=${PAX:Q}
+
+SUBST_CLASSES+= billardgl
+SUBST_STAGE.billardgl= do-configure
+SUBST_MESSAGE.billardgl= Fixing hard-coded paths
+SUBST_FILES.billardgl= src/Namen.h
+SUBST_SED.billardgl= -e 's,"/usr/share/,"${PREFIX}/share/,'
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../graphics/glut/buildlink3.mk"
+.include "../../pkgtools/x11-links/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/billardgl/PLIST b/games/billardgl/PLIST
new file mode 100644
index 00000000000..8b3de523d36
--- /dev/null
+++ b/games/billardgl/PLIST
@@ -0,0 +1,109 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/31 02:47:25 rillig Exp $
+bin/BillardGL
+share/BillardGL/Texturen/1/1.bmp
+share/BillardGL/Texturen/1/10.bmp
+share/BillardGL/Texturen/1/11.bmp
+share/BillardGL/Texturen/1/12.bmp
+share/BillardGL/Texturen/1/13.bmp
+share/BillardGL/Texturen/1/14.bmp
+share/BillardGL/Texturen/1/15.bmp
+share/BillardGL/Texturen/1/2.bmp
+share/BillardGL/Texturen/1/3.bmp
+share/BillardGL/Texturen/1/4.bmp
+share/BillardGL/Texturen/1/5.bmp
+share/BillardGL/Texturen/1/6.bmp
+share/BillardGL/Texturen/1/7.bmp
+share/BillardGL/Texturen/1/8.bmp
+share/BillardGL/Texturen/1/9.bmp
+share/BillardGL/Texturen/1/a00.bmp
+share/BillardGL/Texturen/1/a1.bmp
+share/BillardGL/Texturen/1/a10.bmp
+share/BillardGL/Texturen/1/a11.bmp
+share/BillardGL/Texturen/1/a12.bmp
+share/BillardGL/Texturen/1/a13.bmp
+share/BillardGL/Texturen/1/a14.bmp
+share/BillardGL/Texturen/1/a15.bmp
+share/BillardGL/Texturen/1/a2.bmp
+share/BillardGL/Texturen/1/a3.bmp
+share/BillardGL/Texturen/1/a4.bmp
+share/BillardGL/Texturen/1/a5.bmp
+share/BillardGL/Texturen/1/a6.bmp
+share/BillardGL/Texturen/1/a7.bmp
+share/BillardGL/Texturen/1/a8.bmp
+share/BillardGL/Texturen/1/a9.bmp
+share/BillardGL/Texturen/1/aalpha.bmp
+share/BillardGL/Texturen/1/aalpha2.bmp
+share/BillardGL/Texturen/1/buchstaben.bmp
+share/BillardGL/Texturen/1/buchstabenalpha.bmp
+share/BillardGL/Texturen/1/dreizehn.bmp
+share/BillardGL/Texturen/1/filzkachel.bmp
+share/BillardGL/Texturen/1/halbe.bmp
+share/BillardGL/Texturen/1/holz.bmp
+share/BillardGL/Texturen/1/logo.bmp
+share/BillardGL/Texturen/1/volle.bmp
+share/BillardGL/Texturen/2/1.bmp
+share/BillardGL/Texturen/2/10.bmp
+share/BillardGL/Texturen/2/11.bmp
+share/BillardGL/Texturen/2/12.bmp
+share/BillardGL/Texturen/2/13.bmp
+share/BillardGL/Texturen/2/14.bmp
+share/BillardGL/Texturen/2/15.bmp
+share/BillardGL/Texturen/2/2.bmp
+share/BillardGL/Texturen/2/3.bmp
+share/BillardGL/Texturen/2/4.bmp
+share/BillardGL/Texturen/2/5.bmp
+share/BillardGL/Texturen/2/6.bmp
+share/BillardGL/Texturen/2/7.bmp
+share/BillardGL/Texturen/2/8.bmp
+share/BillardGL/Texturen/2/9.bmp
+share/BillardGL/Texturen/2/aalpha2.bmp
+share/BillardGL/Texturen/2/buchstaben.bmp
+share/BillardGL/Texturen/2/buchstabenalpha.bmp
+share/BillardGL/Texturen/2/filzkachel.bmp
+share/BillardGL/Texturen/2/halbe.bmp
+share/BillardGL/Texturen/2/holz.bmp
+share/BillardGL/Texturen/2/volle.bmp
+share/BillardGL/Texturen/4/1.bmp
+share/BillardGL/Texturen/4/10.bmp
+share/BillardGL/Texturen/4/11.bmp
+share/BillardGL/Texturen/4/12.bmp
+share/BillardGL/Texturen/4/13.bmp
+share/BillardGL/Texturen/4/14.bmp
+share/BillardGL/Texturen/4/15.bmp
+share/BillardGL/Texturen/4/2.bmp
+share/BillardGL/Texturen/4/3.bmp
+share/BillardGL/Texturen/4/4.bmp
+share/BillardGL/Texturen/4/5.bmp
+share/BillardGL/Texturen/4/6.bmp
+share/BillardGL/Texturen/4/7.bmp
+share/BillardGL/Texturen/4/8.bmp
+share/BillardGL/Texturen/4/9.bmp
+share/BillardGL/Texturen/4/holz.bmp
+share/BillardGL/Texturen/8/1.bmp
+share/BillardGL/Texturen/8/10.bmp
+share/BillardGL/Texturen/8/11.bmp
+share/BillardGL/Texturen/8/12.bmp
+share/BillardGL/Texturen/8/13.bmp
+share/BillardGL/Texturen/8/14.bmp
+share/BillardGL/Texturen/8/15.bmp
+share/BillardGL/Texturen/8/2.bmp
+share/BillardGL/Texturen/8/3.bmp
+share/BillardGL/Texturen/8/4.bmp
+share/BillardGL/Texturen/8/5.bmp
+share/BillardGL/Texturen/8/6.bmp
+share/BillardGL/Texturen/8/7.bmp
+share/BillardGL/Texturen/8/8.bmp
+share/BillardGL/Texturen/8/9.bmp
+share/BillardGL/Texturen/8/holz.bmp
+share/BillardGL/lang/900.lang
+share/BillardGL/lang/901.lang
+share/BillardGL/lang/904.lang
+share/BillardGL/lang/999.lang
+share/doc/BillardGL/README
+@dirrm share/BillardGL/Texturen/8
+@dirrm share/BillardGL/Texturen/4
+@dirrm share/BillardGL/Texturen/2
+@dirrm share/BillardGL/Texturen/1
+@dirrm share/BillardGL/Texturen
+@dirrm share/BillardGL/lang
+@dirrm share/BillardGL
diff --git a/games/billardgl/distinfo b/games/billardgl/distinfo
new file mode 100644
index 00000000000..966fb52ef08
--- /dev/null
+++ b/games/billardgl/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/01/31 02:47:25 rillig Exp $
+
+SHA1 (BillardGL-1.75.tar.gz) = b1e3c044a500cf1331ae392c861f8d8402f1806e
+RMD160 (BillardGL-1.75.tar.gz) = 11586d3c887367e3137e2d498e9ff729156cf233
+Size (BillardGL-1.75.tar.gz) = 736295 bytes
+SHA1 (patch-aa) = 43a5dec85f0f161c67f7a3e59b39f11e6dc5b9f3
diff --git a/games/billardgl/patches/patch-aa b/games/billardgl/patches/patch-aa
new file mode 100644
index 00000000000..c6df4c3b0ee
--- /dev/null
+++ b/games/billardgl/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/01/31 02:47:25 rillig Exp $
+
+--- src/Makefile.orig 2002-04-29 13:26:46.000000000 +0200
++++ src/Makefile 2006-01-31 03:25:14.000000000 +0100
+@@ -11,7 +11,7 @@ CFLAGS = -pipe -Wall -W -DNO_DEBUG -g
+ CXXFLAGS= -pipe -Wall -W -DNO_DEBUG -g
+ INCPATH = -I/usr/X11R6/include
+ LINK = g++
+-LFLAGS =
++LFLAGS = ${LDFLAGS}
+ LIBS = -L/usr/X11R6/lib -lGL -lGLU -lglut -lXmu -lXext -lX11 -lm -lXi
+
+ ## -lqgl -lGLU
+@@ -151,13 +151,12 @@ clear:
+ -rm -f *~ core
+
+ install:
+- -cp BillardGL /usr/X11R6/bin/BillardGL
+- -cp BillardGL /usr/X11R6/bin/billardGL
+- -mkdir -p /usr/share/BillardGL
+- -cp -R Texturen /usr/share/BillardGL
+- -cp -R lang /usr/share/BillardGL
+- -mkdir -p /usr/share/doc/packages/BillardGL
+- -cp README /usr/share/doc/packages/BillardGL
++ ${BSD_INSTALL_PROGRAM} BillardGL ${PREFIX}/bin/BillardGL
++ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/BillardGL
++ ${PAX} -rw Texturen ${PREFIX}/share/BillardGL
++ ${PAX} -rw lang ${PREFIX}/share/BillardGL
++ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/doc/BillardGL
++ ${BSD_INSTALL_DATA} README ${PREFIX}/share/doc/BillardGL/README
+
+ uninstall:
+ -rm /usr/X11R6/bin/BillardGL