From igor@doom.homeunix.org  Sun Jan 22 18:47:02 2006
Return-Path: <igor@doom.homeunix.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EE84716A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Jan 2006 18:47:02 +0000 (GMT)
	(envelope-from igor@doom.homeunix.org)
Received: from mail.ecolines.ru (ns.ecolines.ru [81.3.181.213])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 21DE943D6D
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Jan 2006 18:46:57 +0000 (GMT)
	(envelope-from igor@doom.homeunix.org)
Received: (qmail 2512 invoked from network); 22 Jan 2006 18:50:51 -0000
Received: from unknown (HELO doom.homeunix.org) (ip@212.113.114.36)
  by mail.ecolines.ru with ESMTPA; 22 Jan 2006 18:50:51 -0000
Received: from doom.homeunix.org (localhost [127.0.0.1])
	by doom.homeunix.org (8.13.4/8.13.4) with ESMTP id k0MIjQ79008654
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Jan 2006 21:45:32 +0300 (MSK)
	(envelope-from igor@doom.homeunix.org)
Received: (from igor@localhost)
	by doom.homeunix.org (8.13.4/8.13.4/Submit) id k0MIjMn8008649;
	Sun, 22 Jan 2006 21:45:22 +0300 (MSK)
	(envelope-from igor)
Message-Id: <200601221845.k0MIjMn8008649@doom.homeunix.org>
Date: Sun, 22 Jan 2006 21:45:22 +0300 (MSK)
From: Igor Pokrovsky <ip@doom.homeunix.org>
Reply-To: Igor Pokrovsky <ip@doom.homeunix.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: games/glaxium An OpenGL based space-ship "shoot-em-up" game
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         92166
>Category:       ports
>Synopsis:       New port: games/glaxium An OpenGL based space-ship "shoot-em-up" game
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 22 18:50:06 GMT 2006
>Closed-Date:    Mon Jan 23 18:05:44 GMT 2006
>Last-Modified:  Mon Jan 23 18:05:44 GMT 2006
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Dec 15 07:51:52 MSK 2005 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL-p3 i386


	
>Description:
Glaxium is an OpenGL-based space-ship "shoot-em-up" styled game.
It is designed to provide the same feel as the old 2D games of that
type, but with 3D for the special effects.

WWW:	http://xhosxe.free.fr/glaxium/
	
>How-To-Repeat:
	
>Fix:

	

--- glaxium.shar begins here ---
# 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:
#
#	glaxium
#	glaxium/pkg-plist
#	glaxium/pkg-descr
#	glaxium/distinfo
#	glaxium/Makefile
#	glaxium/files
#	glaxium/files/patch-Makefile.in
#	glaxium/files/patch-configure.in
#
echo c - glaxium
mkdir -p glaxium > /dev/null 2>&1
echo x - glaxium/pkg-plist
sed 's/^X//' >glaxium/pkg-plist << 'END-of-glaxium/pkg-plist'
Xbin/glaxium
Xshare/glaxium/samples/detection.wav
Xshare/glaxium/samples/explode1.wav
Xshare/glaxium/samples/explode2.wav
Xshare/glaxium/samples/gameover.wav
Xshare/glaxium/samples/glax.xm
Xshare/glaxium/samples/glax3.xm
Xshare/glaxium/samples/glups.wav
Xshare/glaxium/samples/powerup.wav
Xshare/glaxium/samples/tachefire.wav
Xshare/glaxium/samples/tir.wav
Xshare/glaxium/samples/welcome.wav
Xshare/glaxium/textures/bandit1.png
Xshare/glaxium/textures/bandit2.png
Xshare/glaxium/textures/board.png
Xshare/glaxium/textures/bord.png
Xshare/glaxium/textures/border.png
Xshare/glaxium/textures/border2.png
Xshare/glaxium/textures/camouflage.png
Xshare/glaxium/textures/capsule_bomb.png
Xshare/glaxium/textures/capsule_invul.png
Xshare/glaxium/textures/capsule_power.png
Xshare/glaxium/textures/capsule_shield.png
Xshare/glaxium/textures/chain.png
Xshare/glaxium/textures/chars.png
Xshare/glaxium/textures/cube.png
Xshare/glaxium/textures/deadtache.png
Xshare/glaxium/textures/effect1.png
Xshare/glaxium/textures/fighter2.png
Xshare/glaxium/textures/floor.png
Xshare/glaxium/textures/floor1.png
Xshare/glaxium/textures/floor2.png
Xshare/glaxium/textures/floor3.png
Xshare/glaxium/textures/floor4.png
Xshare/glaxium/textures/floormap.png
Xshare/glaxium/textures/floormap1.png
Xshare/glaxium/textures/floormap2.png
Xshare/glaxium/textures/floormap3.png
Xshare/glaxium/textures/floormap4.png
Xshare/glaxium/textures/fumee1.png
Xshare/glaxium/textures/fumee2.png
Xshare/glaxium/textures/fumee3.png
Xshare/glaxium/textures/galaxy.png
Xshare/glaxium/textures/gameover.png
Xshare/glaxium/textures/glax2.png
Xshare/glaxium/textures/iflicla.png
Xshare/glaxium/textures/mark.png
Xshare/glaxium/textures/missile.png
Xshare/glaxium/textures/myship.png
Xshare/glaxium/textures/piege.png
Xshare/glaxium/textures/ship1.png
Xshare/glaxium/textures/space0.png
Xshare/glaxium/textures/space1.png
Xshare/glaxium/textures/space2.png
Xshare/glaxium/textures/space3.png
Xshare/glaxium/textures/sphere.png
Xshare/glaxium/textures/tache.png
Xshare/glaxium/textures/thunder.png
X@dirrm share/glaxium/textures
X@dirrm share/glaxium/samples
X@dirrm share/glaxium
END-of-glaxium/pkg-plist
echo x - glaxium/pkg-descr
sed 's/^X//' >glaxium/pkg-descr << 'END-of-glaxium/pkg-descr'
XGlaxium is an OpenGL-based space-ship "shoot-em-up" styled game.
XIt is designed to provide the same feel as the old 2D games of that
Xtype, but with 3D for the special effects.
X
XWWW:	http://xhosxe.free.fr/glaxium/
END-of-glaxium/pkg-descr
echo x - glaxium/distinfo
sed 's/^X//' >glaxium/distinfo << 'END-of-glaxium/distinfo'
XMD5 (glaxium_0.5.tar.gz) = ea6d6f8b4ebb7c73b74af64d83f45cb7
XSHA256 (glaxium_0.5.tar.gz) = 78f5a9e1785e9e39f6dcb32134a3bd224372f572f191e7ed77bf50b109afb5f7
XSIZE (glaxium_0.5.tar.gz) = 1692219
END-of-glaxium/distinfo
echo x - glaxium/Makefile
sed 's/^X//' >glaxium/Makefile << 'END-of-glaxium/Makefile'
X# New ports collection makefile for:	glaxium
X# Date created:		21 Jan 2006
X# Whom:			Igor Pokrovsky <ip@doom.homeunix.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	glaxium
XPORTVERSION=	0.5
XCATEGORIES=	games
XMASTER_SITES=	http://xhosxe.free.fr/glaxium/
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	ip@doom.homeunix.org
XCOMMENT=	An OpenGL based space-ship "shoot-em-up" game
X
XLIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
X
XUSE_REINPLACE=	yes
XUSE_GMAKE=	yes
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XGNU_CONFIGURE=	yes
XUSE_GL=		yes
XUSE_SDL=	sdl mixer
XALL_TARGET=	${PORTNAME}
X
XMAN6=		glaxium.6
X
Xpost-patch:
X	@${REINPLACE_CMD} -i '' -e 's|/usr/X11R6|${X11BASE}|g; \
X		s|\$datadir/games/glaxium|\$datadir/glaxium|g' \
X		${WRKSRC}/configure
X	@${REINPLACE_CMD} -i '' -e 's|%%X11BASE%%|${X11BASE}|g' \
X		${WRKSRC}/Makefile.in
X
X.include <bsd.port.mk>
END-of-glaxium/Makefile
echo c - glaxium/files
mkdir -p glaxium/files > /dev/null 2>&1
echo x - glaxium/files/patch-Makefile.in
sed 's/^X//' >glaxium/files/patch-Makefile.in << 'END-of-glaxium/files/patch-Makefile.in'
X--- Makefile.in.orig
X+++ Makefile.in
X@@ -15,11 +15,11 @@
X 
X GLAXIUM_INSTALLDIR=$(bindir)
X DATA_DIRS=samples textures
X-GLAXIUM_HOME=$(datadir)/games/glaxium
X+GLAXIUM_HOME=$(datadir)/glaxium
X MAN_DIR=$(mandir)
X 
X glaxium : $(OBJ)
X-	gcc -g -o glaxium $(OBJ) $(LIB)
X+	$(CC) -g -o glaxium $(OBJ) $(LIB)
X 
X 
X 
END-of-glaxium/files/patch-Makefile.in
echo x - glaxium/files/patch-configure.in
sed 's/^X//' >glaxium/files/patch-configure.in << 'END-of-glaxium/files/patch-configure.in'
X--- configure.in.orig
X+++ configure.in
X@@ -10,8 +10,8 @@
X dnl Check for SDL
X AM_PATH_SDL(1.1.5, , AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]))
X 
X-LIBS="$LIBS -L/usr/X11R6/lib $SDL_LIBS"
X-CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include $SDL_CFLAGS"
X+LIBS="$LIBS -L%%X11BASE%%/lib $SDL_LIBS"
X+CPPFLAGS="$CPPFLAGS -I%%X11BASE%%/include $SDL_CFLAGS"
X 
X AC_CHECK_HEADER(SDL.h,  , echo "No SDL.h header... cannot do anything !";exit 12 )
X 
X@@ -41,7 +41,7 @@
X AC_EGREP_HEADER(PFNGLBINDPROGRAMNVPROC, GL/glext.h,  ,echo "Glaxium won't compile: get a newer version of your openGL header GL/glext.h at <http://oss.sgi.com/projects/ogl-sample/registry/>";exit 12)
X 
X dnl Expand DATADIR
X-FC_EXPAND_DIR(DATADIR, "$datadir/games/glaxium")
X+FC_EXPAND_DIR(DATADIR, "$datadir/glaxium")
X AC_DEFINE_UNQUOTED(DATADIR, "$DATADIR")
X 
X AC_OUTPUT(Makefile)
END-of-glaxium/files/patch-configure.in
exit
--- glaxium.shar ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Mon Jan 23 16:37:10 UTC 2006 
State-Changed-Why:  
Does not configure: 

... 
checking for GL/glu.h... yes 
checking GL/glut.h usability... no 
checking GL/glut.h presence... no 
checking for GL/glut.h... no 
No GL/glut.h header... cannot do anything ! 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Mon Jan 23 16:37:10 UTC 2006 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92166 

From: Igor Pokrovsky <ip@doom.homeunix.org>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/92166: New port: games/glaxium An OpenGL based space-ship "shoot-em-up" game
Date: Mon, 23 Jan 2006 19:56:51 +0300

 I'm very sorry, my fault. Here is the patch.
 
 --- glaxium.orig/Makefile	Mon Jan 23 19:52:14 2006
 +++ glaxium/Makefile	Mon Jan 23 19:52:47 2006
 @@ -14,7 +14,8 @@
  MAINTAINER=	ip@doom.homeunix.org
  COMMENT=	An OpenGL based space-ship "shoot-em-up" game
  
 -LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
 +LIB_DEPENDS=	glut.4:${PORTSDIR}/graphics/libglut \
 +		png.5:${PORTSDIR}/graphics/png
  
  USE_REINPLACE=	yes
  USE_GMAKE=	yes

From: Igor Pokrovsky <ip@doom.homeunix.org>
To: bug-followup@freebsd.org, ip@doom.homeunix.org
Cc:  
Subject: Re: ports/92166: New port: games/glaxium An OpenGL based space-ship "shoot-em-up" game
Date: Mon, 23 Jan 2006 20:18:13 +0300

 Sorry, forgot to add glut dependancy.
 
 --- glaxium.orig/Makefile	Mon Jan 23 19:52:14 2006
 +++ glaxium/Makefile	Mon Jan 23 19:52:47 2006
 @@ -14,7 +14,8 @@
  MAINTAINER=	ip@doom.homeunix.org
  COMMENT=	An OpenGL based space-ship "shoot-em-up" game
  
 -LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
 +LIB_DEPENDS=	glut.4:${PORTSDIR}/graphics/libglut \
 +		png.5:${PORTSDIR}/graphics/png
  
  USE_REINPLACE=	yes
  USE_GMAKE=	yes
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Mon Jan 23 18:05:37 UTC 2006 
State-Changed-Why:  
New port added, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92166 
>Unformatted:
