Skip site navigation (1)Skip section navigation (2)
Date:      27 Oct 2002 15:17:55 -0000
From:      Thomas Vogt <thomas.vogt@bsdunix.cho>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44531: New Port: games/foobillard
Message-ID:  <20021027151755.56173.qmail@conversation.bsdunix.ch>

next in thread | raw e-mail | index | archive | help

>Number:         44531
>Category:       ports
>Synopsis:       New Port: games/foobillard
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 27 07:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Vogt
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD conversation.bsdunix.ch 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Thu Oct 10 18:50:40 CEST 2002 root@conversation.bsdunix.ch:/usr/obj/usr/src/sys/CONVERSATION i386

>Description:
Foobillard is a free OpenGL-billard game for Unix with realistic physics,
AI-player and many gametypes like pool carambol or snooker.
>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	foobillard/
#	foobillard/distinfo
#	foobillard/files
#	foobillard/files/patch-sys_stuff.c
#	foobillard/files/patch-Makefile.in
#	foobillard/Makefile
#	foobillard/pkg-descr
#	foobillard/pkg-comment
#	foobillard/pkg-plist
#
echo c - foobillard/
mkdir -p foobillard/ > /dev/null 2>&1
echo x - foobillard/distinfo
sed 's/^X//' >foobillard/distinfo << 'END-of-foobillard/distinfo'
XMD5 (foobillard-1.8.tar.gz) = 14038a77187316f378e95ab6ef9ce6fc
END-of-foobillard/distinfo
echo c - foobillard/files
mkdir -p foobillard/files > /dev/null 2>&1
echo x - foobillard/files/patch-sys_stuff.c
sed 's/^X//' >foobillard/files/patch-sys_stuff.c << 'END-of-foobillard/files/patch-sys_stuff.c'
X--- src/sys_stuff.c.orig	Sat Oct 26 20:47:23 2002
X+++ src/sys_stuff.c	Sat Oct 26 20:47:32 2002
X@@ -5,7 +5,7 @@
X #ifndef USE_SDL
X #include <GL/glut.h>
X #else
X-#include <SDL/SDL.h>
X+#include <SDL11/SDL.h>
X #include <GL/gl.h>
X #include <GL/glu.h>
X #endif
END-of-foobillard/files/patch-sys_stuff.c
echo x - foobillard/files/patch-Makefile.in
sed 's/^X//' >foobillard/files/patch-Makefile.in << 'END-of-foobillard/files/patch-Makefile.in'
X--- src/Makefile.in.orig	Sat Oct 26 22:01:08 2002
X+++ src/Makefile.in	Sat Oct 26 22:01:40 2002
X@@ -1,4 +1,4 @@
X-# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
X+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
X 
X # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
X # This Makefile.in is free software; the Free Software Foundation
X@@ -72,14 +72,14 @@
X #INCDIR = /usr/X11R6/include
X 
X CC = gcc
X-@USE_SDL_TRUE@SDL_CFLAGS = `sdl-config --cflags` -DUSE_SDL
X+@USE_SDL_TRUE@SDL_CFLAGS = `$(SDL_CONFIG) --cflags` -DUSE_SDL
X @USE_SDL_FALSE@SDL_CFLAGS = 
X-@USE_SDL_TRUE@SDL_LIBS = `sdl-config --libs`
X+@USE_SDL_TRUE@SDL_LIBS = `$(SDL_CONFIG) --libs`
X @USE_SDL_FALSE@SDL_LIBS = 
X @USE_SDL_TRUE@GLUT_LIBS = 
X @USE_SDL_FALSE@GLUT_LIBS = -lglut
X 
X-CFLAGS = -Wall -O3 `freetype-config --cflags` ${SDL_CFLAGS}
X+CFLAGS = -Wall -O3 `freetype-config --cflags` ${SDL_CFLAGS} -I%%X11BASE%%/include -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/SDL11
X 
X #LIBS   = -L$(LIBDIR) -lglut -lGLU -lGL -lXext -lXaw -lm -lXi -lpng -lz
X #LIBS   = -L$(LIBDIR) -lglut -lGLU -lGL -lXext -lXaw -lm -lXi -lpng -lz
END-of-foobillard/files/patch-Makefile.in
echo x - foobillard/Makefile
sed 's/^X//' >foobillard/Makefile << 'END-of-foobillard/Makefile'
X# New ports collection makefile for:	foobillard
X# Date created:		26 October 2002
X# Whom:			Thomas Vogt <thomas.vogt@bsdunix.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	foobillard
XPORTVERSION=	1.8
XCATEGORIES=	games
XMASTER_SITES=	http://foobillard.sunsite.dk/dnl/
X
XMAINTAINER=	thomas.vogt@bsdunix.ch
X
XLIB_DEPENDS=	SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
X		png.5:${PORTSDIR}/graphics/png \
X		freetype.9:${PORTSDIR}/print/freetype2
X
XSDL_CONFIG=	${LOCALBASE}/bin/sdl11-config
XUSE_MESA=	yes
XUSE_GMAKE=	yes
XMAKE_ENV=	SDL_CONFIG="${SDL_CONFIG}"
XUSE_REINPLACE=	yes
X
XHAS_CONFIGURE=  yes
X
XCONFIGURE_ARGS= --enable-SDL \
X		--prefix=${PREFIX} \
X		--includedir="${X11BASE}/include"
X
Xpost-patch:
X	@${REINPLACE_CMD} -E -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
X	${WRKSRC}/src/Makefile.in
X	@${REINPLACE_CMD} -E -e 's|%%X11BASE%%|${X11BASE}|g' \
X	${WRKSRC}/src/Makefile.in
X
X.include <bsd.port.mk>
END-of-foobillard/Makefile
echo x - foobillard/pkg-descr
sed 's/^X//' >foobillard/pkg-descr << 'END-of-foobillard/pkg-descr'
XFoobillard is a free OpenGL-billard game for Unix with realistic physics,
XAI-player and many gametypes like pool carambol or snooker. 
X
XWWW: http://foobillard.sunsite.dk/
X
X- Thomas Vogt <thomas.vogt@bsdunix.ch>
END-of-foobillard/pkg-descr
echo x - foobillard/pkg-comment
sed 's/^X//' >foobillard/pkg-comment << 'END-of-foobillard/pkg-comment'
XA free OpenGL-billard game 
END-of-foobillard/pkg-comment
echo x - foobillard/pkg-plist
sed 's/^X//' >foobillard/pkg-plist << 'END-of-foobillard/pkg-plist'
Xbin/foobillard
Xshare/foobillard/blende.png
Xshare/foobillard/bluebold.ttf
Xshare/foobillard/cue_shadow.png
Xshare/foobillard/foobillard.gif
Xshare/foobillard/foobillard.png
Xshare/foobillard/full_symbol.png
Xshare/foobillard/fullhalf_symbol.png
Xshare/foobillard/half_symbol.png
Xshare/foobillard/iomanoid.ttf
Xshare/foobillard/lightflare.png
Xshare/foobillard/place_cue_ball.png
Xshare/foobillard/queue.png
Xshare/foobillard/queue_shadow.png
Xshare/foobillard/shadow2.png
Xshare/foobillard/shadow3.png
Xshare/foobillard/shadow_alpha.png
Xshare/foobillard/sphere_map_128x128.png
Xshare/foobillard/sphere_map_128x128_light.png
Xshare/foobillard/sphere_map_64x64.png
Xshare/foobillard/table-frame.png
Xshare/foobillard/tabletex_fB_128x128.png
Xshare/foobillard/tabletex_fB_256x256.png
Xshare/foobillard/youregon.ttf
X@dirrm share/foobillard
END-of-foobillard/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021027151755.56173.qmail>