diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-07 08:44:10 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-07 08:44:10 +0000 |
commit | 046c7d98be0b931585d10825376f97a2d927b37b (patch) | |
tree | 35a73a3ed2cdf67e9750aacc50270307dbcd2fd2 /games/BillardGL | |
parent | 4b2011d1b2032c189b55c0fe1822be4deff16785 (diff) | |
download | ports-046c7d98be0b931585d10825376f97a2d927b37b.tar.gz ports-046c7d98be0b931585d10825376f97a2d927b37b.zip |
Notes
Diffstat (limited to 'games/BillardGL')
-rw-r--r-- | games/BillardGL/Makefile | 47 | ||||
-rw-r--r-- | games/BillardGL/distinfo | 1 | ||||
-rw-r--r-- | games/BillardGL/files/patch-Makefile | 24 | ||||
-rw-r--r-- | games/BillardGL/files/patch-Namen.h | 11 | ||||
-rw-r--r-- | games/BillardGL/pkg-descr | 8 | ||||
-rw-r--r-- | games/BillardGL/pkg-plist | 109 |
6 files changed, 200 insertions, 0 deletions
diff --git a/games/BillardGL/Makefile b/games/BillardGL/Makefile new file mode 100644 index 000000000000..a9d0ff7d76cc --- /dev/null +++ b/games/BillardGL/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: BillardGL +# Date created: 02 Jan 2004 +# Whom: Igor Pokrovsky <tiamat@comset.net> +# +# $FreeBSD$ +# + +PORTNAME= BillardGL +PORTVERSION= 1.75 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= billardgl + +MAINTAINER= tiamat@comset.net +COMMENT= An OpenGL billiard simulator + +LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/libglut + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src + +USE_GMAKE= yes +USE_REINPLACE= yes +USE_X_PREFIX= yes +USE_GL= yes + +post-patch: + @${REINPLACE_CMD} -e 's|%%PORTNAME%%|${PORTNAME}|; \ + s|%%X11BASE%%|${X11BASE}|' ${WRKSRC}/Namen.h + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + + @${MKDIR} ${DATADIR} + @${MKDIR} ${DATADIR}/lang + ${INSTALL_DATA} ${WRKSRC}/lang/*.lang ${DATADIR}/lang + @${MKDIR} ${DATADIR}/Texturen +.for i in 1 2 4 8 + @${MKDIR} ${DATADIR}/Texturen/${i} + ${INSTALL_DATA} ${WRKSRC}/Texturen/${i}/*.bmp ${DATADIR}/Texturen/${i} +.endfor + +.ifndef (NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${TR} -d '\r' <${WRKSRC}/README >${DOCSDIR}/README +.endif + +.include <bsd.port.mk> diff --git a/games/BillardGL/distinfo b/games/BillardGL/distinfo new file mode 100644 index 000000000000..d81b58ac4214 --- /dev/null +++ b/games/BillardGL/distinfo @@ -0,0 +1 @@ +MD5 (BillardGL-1.75.tar.gz) = 46f2cf99e1a2b2aa4707d3500e43be47 diff --git a/games/BillardGL/files/patch-Makefile b/games/BillardGL/files/patch-Makefile new file mode 100644 index 000000000000..fadeee59e3f3 --- /dev/null +++ b/games/BillardGL/files/patch-Makefile @@ -0,0 +1,24 @@ +--- Makefile.orig Sat Jan 3 16:30:14 2004 ++++ Makefile Sat Jan 3 16:32:08 2004 +@@ -5,14 +5,14 @@ +
+ ####### Compiler, tools and options
+
+-CC = gcc
+-CXX = g++
+-CFLAGS = -pipe -Wall -W -DNO_DEBUG -g
+-CXXFLAGS= -pipe -Wall -W -DNO_DEBUG -g
+-INCPATH = -I/usr/X11R6/include
+-LINK = g++
++CC ?= gcc
++CXX ?= g++
++CFLAGS += -pipe -Wall -W -DNO_DEBUG -g
++CXXFLAGS+= -pipe -Wall -W -DNO_DEBUG -g
++INCPATH = -I${X11BASE}/include
++LINK = ${CXX} + LFLAGS =
+-LIBS = -L/usr/X11R6/lib -lGL -lGLU -lglut -lXmu -lXext -lX11 -lm -lXi
++LIBS = -L${X11BASE}/lib -lGL -lGLU -lglut -lXmu -lXext -lX11 -lm -lXi
+
+ ## -lqgl -lGLU
+
diff --git a/games/BillardGL/files/patch-Namen.h b/games/BillardGL/files/patch-Namen.h new file mode 100644 index 000000000000..b42a532a6ce5 --- /dev/null +++ b/games/BillardGL/files/patch-Namen.h @@ -0,0 +1,11 @@ +--- Namen.h.orig Sat Jan 3 16:33:42 2004 ++++ Namen.h Sat Jan 3 16:34:03 2004 +@@ -23,7 +23,7 @@ + #define TUTORIAL 105
+
+ #ifndef _WIN32
+-#define PFAD "/usr/share/BillardGL/"
++#define PFAD "%%X11BASE%%/share/%%PORTNAME%%/"
+ #endif
+
+ #ifndef PFAD
diff --git a/games/BillardGL/pkg-descr b/games/BillardGL/pkg-descr new file mode 100644 index 000000000000..04c12381f14a --- /dev/null +++ b/games/BillardGL/pkg-descr @@ -0,0 +1,8 @@ +BillardGL is a very nice looking OpenGL pool billiard simulation, +which was developed within the scope of the course +"Computergraphics" at the University of Freiburg (Germany). + +WWW: http://www.BillardGL.de + +- Igor Pokrovsky +tiamat@comset.net diff --git a/games/BillardGL/pkg-plist b/games/BillardGL/pkg-plist new file mode 100644 index 000000000000..e59a1e25be39 --- /dev/null +++ b/games/BillardGL/pkg-plist @@ -0,0 +1,109 @@ +bin/BillardGL +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%DATADIR%%/lang/900.lang +%%DATADIR%%/lang/901.lang +%%DATADIR%%/lang/904.lang +%%DATADIR%%/lang/999.lang +@dirrm %%DATADIR%%/lang +%%DATADIR%%/Texturen/1/1.bmp +%%DATADIR%%/Texturen/1/10.bmp +%%DATADIR%%/Texturen/1/11.bmp +%%DATADIR%%/Texturen/1/12.bmp +%%DATADIR%%/Texturen/1/13.bmp +%%DATADIR%%/Texturen/1/14.bmp +%%DATADIR%%/Texturen/1/15.bmp +%%DATADIR%%/Texturen/1/2.bmp +%%DATADIR%%/Texturen/1/3.bmp +%%DATADIR%%/Texturen/1/4.bmp +%%DATADIR%%/Texturen/1/5.bmp +%%DATADIR%%/Texturen/1/6.bmp +%%DATADIR%%/Texturen/1/7.bmp +%%DATADIR%%/Texturen/1/8.bmp +%%DATADIR%%/Texturen/1/9.bmp +%%DATADIR%%/Texturen/1/a00.bmp +%%DATADIR%%/Texturen/1/a1.bmp +%%DATADIR%%/Texturen/1/a10.bmp +%%DATADIR%%/Texturen/1/a11.bmp +%%DATADIR%%/Texturen/1/a12.bmp +%%DATADIR%%/Texturen/1/a13.bmp +%%DATADIR%%/Texturen/1/a14.bmp +%%DATADIR%%/Texturen/1/a15.bmp +%%DATADIR%%/Texturen/1/a2.bmp +%%DATADIR%%/Texturen/1/a3.bmp +%%DATADIR%%/Texturen/1/a4.bmp +%%DATADIR%%/Texturen/1/a5.bmp +%%DATADIR%%/Texturen/1/a6.bmp +%%DATADIR%%/Texturen/1/a7.bmp +%%DATADIR%%/Texturen/1/a8.bmp +%%DATADIR%%/Texturen/1/a9.bmp +%%DATADIR%%/Texturen/1/aalpha.bmp +%%DATADIR%%/Texturen/1/aalpha2.bmp +%%DATADIR%%/Texturen/1/buchstaben.bmp +%%DATADIR%%/Texturen/1/buchstabenalpha.bmp +%%DATADIR%%/Texturen/1/dreizehn.bmp +%%DATADIR%%/Texturen/1/filzkachel.bmp +%%DATADIR%%/Texturen/1/halbe.bmp +%%DATADIR%%/Texturen/1/holz.bmp +%%DATADIR%%/Texturen/1/logo.bmp +%%DATADIR%%/Texturen/1/volle.bmp +@dirrm %%DATADIR%%/Texturen/1 +%%DATADIR%%/Texturen/2/1.bmp +%%DATADIR%%/Texturen/2/10.bmp +%%DATADIR%%/Texturen/2/11.bmp +%%DATADIR%%/Texturen/2/12.bmp +%%DATADIR%%/Texturen/2/13.bmp +%%DATADIR%%/Texturen/2/14.bmp +%%DATADIR%%/Texturen/2/15.bmp +%%DATADIR%%/Texturen/2/2.bmp +%%DATADIR%%/Texturen/2/3.bmp +%%DATADIR%%/Texturen/2/4.bmp +%%DATADIR%%/Texturen/2/5.bmp +%%DATADIR%%/Texturen/2/6.bmp +%%DATADIR%%/Texturen/2/7.bmp +%%DATADIR%%/Texturen/2/8.bmp +%%DATADIR%%/Texturen/2/9.bmp +%%DATADIR%%/Texturen/2/aalpha2.bmp +%%DATADIR%%/Texturen/2/buchstaben.bmp +%%DATADIR%%/Texturen/2/buchstabenalpha.bmp +%%DATADIR%%/Texturen/2/filzkachel.bmp +%%DATADIR%%/Texturen/2/halbe.bmp +%%DATADIR%%/Texturen/2/holz.bmp +%%DATADIR%%/Texturen/2/volle.bmp +@dirrm %%DATADIR%%/Texturen/2 +%%DATADIR%%/Texturen/4/1.bmp +%%DATADIR%%/Texturen/4/10.bmp +%%DATADIR%%/Texturen/4/11.bmp +%%DATADIR%%/Texturen/4/12.bmp +%%DATADIR%%/Texturen/4/13.bmp +%%DATADIR%%/Texturen/4/14.bmp +%%DATADIR%%/Texturen/4/15.bmp +%%DATADIR%%/Texturen/4/2.bmp +%%DATADIR%%/Texturen/4/3.bmp +%%DATADIR%%/Texturen/4/4.bmp +%%DATADIR%%/Texturen/4/5.bmp +%%DATADIR%%/Texturen/4/6.bmp +%%DATADIR%%/Texturen/4/7.bmp +%%DATADIR%%/Texturen/4/8.bmp +%%DATADIR%%/Texturen/4/9.bmp +%%DATADIR%%/Texturen/4/holz.bmp +@dirrm %%DATADIR%%/Texturen/4 +%%DATADIR%%/Texturen/8/1.bmp +%%DATADIR%%/Texturen/8/10.bmp +%%DATADIR%%/Texturen/8/11.bmp +%%DATADIR%%/Texturen/8/12.bmp +%%DATADIR%%/Texturen/8/13.bmp +%%DATADIR%%/Texturen/8/14.bmp +%%DATADIR%%/Texturen/8/15.bmp +%%DATADIR%%/Texturen/8/2.bmp +%%DATADIR%%/Texturen/8/3.bmp +%%DATADIR%%/Texturen/8/4.bmp +%%DATADIR%%/Texturen/8/5.bmp +%%DATADIR%%/Texturen/8/6.bmp +%%DATADIR%%/Texturen/8/7.bmp +%%DATADIR%%/Texturen/8/8.bmp +%%DATADIR%%/Texturen/8/9.bmp +%%DATADIR%%/Texturen/8/holz.bmp +@dirrm %%DATADIR%%/Texturen/8 +@dirrm %%DATADIR%%/Texturen +@dirrm %%DATADIR%% |