Bug 84923 - [NEW PORT] games/annelid - Remake of the ubiquitous "Snake" and "Worm" games
Summary: [NEW PORT] games/annelid - Remake of the ubiquitous "Snake" and "Worm" games
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-14 19:40 UTC by Alejandro Pulver
Modified: 2005-10-04 12:08 UTC (History)
0 users

See Also:


Attachments
file.shar (5.72 KB, text/plain)
2005-08-14 19:40 UTC, Alejandro Pulver
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Pulver 2005-08-14 19:40:16 UTC

This port is marked as RESTRICTED because binary/source redistribution is not allowed. So /usr/ports/LEGAL should be updated.
Comment 1 Alejandro Pulver 2005-09-22 20:58:21 UTC
>Submitter-Id:	current-users 
>Originator:	Alejandro Pulver 
>Organization:	 
>Confidential:	no 
>Synopsis:	Re: ports/84923: [NEW PORT] games/annelid - Remake of the ubiquitous "Snake" and "Worm" games 
>Severity:	non-critical 
>Priority:	low 
>Category:	ports 
>Class:		change-request 
>Release:	FreeBSD 5.4-RELEASE i386 
>Environment:





>Description:


This patch has to be applied to the previous shar.

Changes:
* Fix wrapper script (wasn't passing its arguments to the real executable).


>How-To-Repeat:





>Fix:


--- annelid.diff begins here ---
--- pkgd/sent/annelid.shar	Thu Aug 11 14:44:20 2005
+++ annelid.shar	Thu Sep 22 16:55:56 2005
@@ -6,16 +6,75 @@
 # This archive contains:
 #
 #	annelid
-#	annelid/Makefile
-#	annelid/pkg-descr
-#	annelid/distinfo
 #	annelid/files
 #	annelid/files/patch-Makefile
 #	annelid/files/annelid-sh.in
+#	annelid/Makefile
+#	annelid/pkg-descr
+#	annelid/distinfo
 #	annelid/pkg-plist
 #
 echo c - annelid
 mkdir -p annelid > /dev/null 2>&1
+echo c - annelid/files
+mkdir -p annelid/files > /dev/null 2>&1
+echo x - annelid/files/patch-Makefile
+sed 's/^X//' >annelid/files/patch-Makefile << 'END-of-annelid/files/patch-Makefile'
+X--- Makefile.orig	Thu Jun 17 23:58:24 2004
+X+++ Makefile	Sun Jul 24 14:38:41 2005
+X@@ -4,7 +4,6 @@
+X # For more information, please visit http://www.garthgillespie.com/annelid/ .
+X 
+X # Comment the next line for non-windows.  This is not well tested.
+X-WINDOWS=1
+X 
+X ifdef WINDOWS
+X NAME=annelid.exe
+X@@ -14,16 +13,16 @@
+X 
+X OBJS=main.o mixer.o highscore.o texture.o centeredtexture.o fonttexture.o scrolltexture.o targa.o worm.o apple.o powerup.o visual.o
+X 
+X-CC=gcc
+X-CCC=g++
+X-CFLAGS=-I. `sdl-config --cflags` -c -Wall -ggdb -fomit-frame-pointer -O3
+X+CCC=$(CXX)
+X+CFLAGS=%%CFLAGS%% -I. -I%%X11BASE%%/include `sdl-config --cflags` -c -Wall $(OPT)
+X+OPT = -fomit-frame-pointer -O3
+X 
+X-LD=g++
+X+LD=$(CXX)
+X 
+X ifdef WINDOWS
+X LIBS=-lopengl32 `sdl-config --libs`
+X else
+X-LIBS=-L/usr/X11R6/lib -lGL `sdl-config --libs`
+X+LIBS=-L%%X11BASE%%/lib -lGL `sdl-config --libs`
+X endif
+X 
+X all: $(NAME)
+END-of-annelid/files/patch-Makefile
+echo x - annelid/files/annelid-sh.in
+sed 's/^X//' >annelid/files/annelid-sh.in << 'END-of-annelid/files/annelid-sh.in'
+X#!/bin/sh
+X
+X# The executable needs to be run from its data directory, and needs to store
+X# configuration in it. We therefore mirror the data directory hierarchy in
+X# ~/.annelid, and create symlinks to the data files.
+X
+Xcd %%DATADIR%% || exit 1
+X
+Xmkdir -p ~/.annelid || exit 1
+X
+Xtest -f ~/.annelid/annelid.dat || cp annelid.dat ~/.annelid && \
+Xchmod u+w ~/.annelid/annelid.dat
+X
+Xfind * -type f -exec ln -s %%DATADIR%%/{} ~/.annelid/{} \; 2>/dev/null || \
+Xexit 1
+X
+Xcd ~/.annelid || exit 1
+X
+Xexec %%PREFIX%%/libexec/annelid "$@"
+END-of-annelid/files/annelid-sh.in
 echo x - annelid/Makefile
 sed 's/^X//' >annelid/Makefile << 'END-of-annelid/Makefile'
 X# New ports collection makefile for:	annelid
@@ -114,65 +173,6 @@
 XMD5 (annelid-media.zip) = 062040d11b3c944b0cc0b053557fc698
 XSIZE (annelid-media.zip) = 450722
 END-of-annelid/distinfo
-echo c - annelid/files
-mkdir -p annelid/files > /dev/null 2>&1
-echo x - annelid/files/patch-Makefile
-sed 's/^X//' >annelid/files/patch-Makefile << 'END-of-annelid/files/patch-Makefile'
-X--- Makefile.orig	Thu Jun 17 23:58:24 2004
-X+++ Makefile	Sun Jul 24 14:38:41 2005
-X@@ -4,7 +4,6 @@
-X # For more information, please visit http://www.garthgillespie.com/annelid/ .
-X 
-X # Comment the next line for non-windows.  This is not well tested.
-X-WINDOWS=1
-X 
-X ifdef WINDOWS
-X NAME=annelid.exe
-X@@ -14,16 +13,16 @@
-X 
-X OBJS=main.o mixer.o highscore.o texture.o centeredtexture.o fonttexture.o scrolltexture.o targa.o worm.o apple.o powerup.o visual.o
-X 
-X-CC=gcc
-X-CCC=g++
-X-CFLAGS=-I. `sdl-config --cflags` -c -Wall -ggdb -fomit-frame-pointer -O3
-X+CCC=$(CXX)
-X+CFLAGS=%%CFLAGS%% -I. -I%%X11BASE%%/include `sdl-config --cflags` -c -Wall $(OPT)
-X+OPT = -fomit-frame-pointer -O3
-X 
-X-LD=g++
-X+LD=$(CXX)
-X 
-X ifdef WINDOWS
-X LIBS=-lopengl32 `sdl-config --libs`
-X else
-X-LIBS=-L/usr/X11R6/lib -lGL `sdl-config --libs`
-X+LIBS=-L%%X11BASE%%/lib -lGL `sdl-config --libs`
-X endif
-X 
-X all: $(NAME)
-END-of-annelid/files/patch-Makefile
-echo x - annelid/files/annelid-sh.in
-sed 's/^X//' >annelid/files/annelid-sh.in << 'END-of-annelid/files/annelid-sh.in'
-X#!/bin/sh
-X
-X# The executable needs to be run from its data directory, and needs to store
-X# configuration in it. We therefore mirror the data directory hierarchy in
-X# ~/.annelid, and create symlinks to the data files.
-X
-Xcd %%DATADIR%% || exit 1
-X
-Xmkdir -p ~/.annelid || exit 1
-X
-Xtest -f ~/.annelid/annelid.dat || cp annelid.dat ~/.annelid && \
-Xchmod u+w ~/.annelid/annelid.dat
-X
-Xfind * -type f -exec ln -s %%DATADIR%%/{} ~/.annelid/{} \; 2>/dev/null || \
-Xexit 1
-X
-Xcd ~/.annelid || exit 1
-X
-Xexec %%PREFIX%%/libexec/annelid
-END-of-annelid/files/annelid-sh.in
 echo x - annelid/pkg-plist
 sed 's/^X//' >annelid/pkg-plist << 'END-of-annelid/pkg-plist'
 Xbin/annelid
--- annelid.diff ends here ---
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2005-10-04 12:08:04 UTC
State Changed
From-To: open->closed

New port added. Thanks!