Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2006 17:59:04 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97558: New port: games/pipepanic A pipe connecting game using libSDL
Message-ID:  <20060521135904.5905646B@hades.panopticon>
Resent-Message-ID: <200605211400.k4LE0Sjh050846@freefall.freebsd.org>

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

>Number:         97558
>Category:       ports
>Synopsis:       New port: games/pipepanic A pipe connecting game using libSDL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 21 14:00:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 11 15:07:32 MSD 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
A pipe connecting game using libSDL that is playable on Linux PCs
and the Sharp Zaurus. Connect as many different shaped pipes together
as possible within the time given. Comes with built-in help, is
primarily mouse/stylus driven and can be played in different
resolutions and orientations.

WWW: http://thunor.org.uk/pipepanic
>How-To-Repeat:
>Fix:

--- pipepanic-0.1.3.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:
#
#	pipepanic
#	pipepanic/pkg-plist
#	pipepanic/Makefile
#	pipepanic/distinfo
#	pipepanic/pkg-descr
#	pipepanic/files
#	pipepanic/files/patch-Makefile
#
echo c - pipepanic
mkdir -p pipepanic > /dev/null 2>&1
echo x - pipepanic/pkg-plist
sed 's/^X//' >pipepanic/pkg-plist << 'END-of-pipepanic/pkg-plist'
Xbin/pipepanic
X%%DATADIR%%/ascii15.bmp
X%%DATADIR%%/ascii30.bmp
X%%DATADIR%%/digits24.bmp
X%%DATADIR%%/digits48.bmp
X%%DATADIR%%/tiles24.bmp
X%%DATADIR%%/tiles48.bmp
X@dirrm %%DATADIR%%
END-of-pipepanic/pkg-plist
echo x - pipepanic/Makefile
sed 's/^X//' >pipepanic/Makefile << 'END-of-pipepanic/Makefile'
X# New ports collection makefile for:	pipepanic
X# Date created:		20 May 2006
X# Whom:			Dmitry Marakasov <amdmi3@mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pipepanic
XPORTVERSION=	0.1.3
XCATEGORIES=	games
XMASTER_SITES=	http://www.users.waitrose.com/~thunor/pipepanic/dload/
XDISTNAME=	${PORTNAME}-${PORTVERSION}-source
X
XMAINTAINER=	amdmi3@mail.ru
XCOMMENT=	A pipe connecting game using libSDL
X
XUSE_SDL=	sdl
X
XPORTDOCS=	README
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/main.c
X	@${REINPLACE_CMD} -e '/^#define DATADIR/ s|.*|#define DATADIR "${DATADIR}/"|' ${WRKSRC}/main.h
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/pipepanic ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X.for file in ascii15.bmp ascii30.bmp digits24.bmp digits48.bmp tiles24.bmp tiles48.bmp
X	${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
X.endfor
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-pipepanic/Makefile
echo x - pipepanic/distinfo
sed 's/^X//' >pipepanic/distinfo << 'END-of-pipepanic/distinfo'
XMD5 (pipepanic-0.1.3-source.tar.gz) = 99b68e990012b2f58c184b8ba9e4fb4d
XSHA256 (pipepanic-0.1.3-source.tar.gz) = 4b02249c92228b03f4cc3c1d999cacf3fe52c16df53c6bf76fc6c1e2caa74318
XSIZE (pipepanic-0.1.3-source.tar.gz) = 232200
END-of-pipepanic/distinfo
echo x - pipepanic/pkg-descr
sed 's/^X//' >pipepanic/pkg-descr << 'END-of-pipepanic/pkg-descr'
XA pipe connecting game using libSDL that is playable on Linux PCs
Xand the Sharp Zaurus. Connect as many different shaped pipes together
Xas possible within the time given. Comes with built-in help, is
Xprimarily mouse/stylus driven and can be played in different
Xresolutions and orientations.
X
XWWW: http://thunor.org.uk/pipepanic
END-of-pipepanic/pkg-descr
echo c - pipepanic/files
mkdir -p pipepanic/files > /dev/null 2>&1
echo x - pipepanic/files/patch-Makefile
sed 's/^X//' >pipepanic/files/patch-Makefile << 'END-of-pipepanic/files/patch-Makefile'
X--- Makefile.orig	Wed May 17 00:11:29 2006
X+++ Makefile	Sat May 20 18:49:20 2006
X@@ -3,11 +3,10 @@
X TARGET=pipepanic
X 
X # Settings for x86.
X-CC=gcc
X-CFLAGS=-O2 -Wall -pedantic `sdl-config --cflags`
X-LINK=gcc
X+CFLAGS+=`$(SDL_CONFIG) --cflags`
X+LINK=$(CC)
X LDFLAGS=
X-LIBS=`sdl-config --libs`
X+LIBS=`$(SDL_CONFIG) --libs`
X 
X all:
X 	$(CC) $(CFLAGS) -c $(SOURCES)
END-of-pipepanic/files/patch-Makefile
exit
--- pipepanic-0.1.3.shar ends here ---


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



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