Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2001 01:54:06 +0800 (CST)
From:      Leland Wang <llwang@infor.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32197: New port: games/54321 5 games in 4-, 3-, or 2-D for one player
Message-ID:  <200111221754.fAMHs6B39121@leland.infor.org>

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

>Number:         32197
>Category:       ports
>Synopsis:       New port: games/54321 5 games in 4-, 3-, or 2-D for one player
>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:   Thu Nov 22 10:00:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Leland Wang
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD leland.infor.org 4.4-STABLE FreeBSD 4.4-STABLE #4: Fri Nov 16 13:49:38 CST 2001 llwang@leland.infor.org:/usr/src/sys/compile/LELAND i386


	
>Description:
54321 is a game created for the 1mb SDL Game Programming Contest.
It is five games in four-, three-, or two-dimensions for one player.
It takes five classic two-dimensional puzzle games and extends them
into three and four dimensions.
	
>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:
#
#	games/54321
#	games/54321/Makefile
#	games/54321/distinfo
#	games/54321/files
#	games/54321/files/variables.GNU
#	games/54321/files/54321.sh
#	games/54321/pkg-comment
#	games/54321/pkg-plist
#	games/54321/pkg-descr
#
echo c - games/54321
mkdir -p games/54321 > /dev/null 2>&1
echo x - games/54321/Makefile
sed 's/^X//' >games/54321/Makefile << 'END-of-games/54321/Makefile'
X# New ports collection makefile for:	54321
X# Date created:				22 November 2001
X# Whom:					Leland Wang <llwang@infor.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	54321
XPORTVERSION=	1.0.2001.11.16
XCATEGORIES=	games
XMASTER_SITES=	http://www.nklein.com/products/54321/${PORTVERSION}/
XDISTNAME=	54321
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	llwang@infor.org
X
XLIB_DEPENDS=	SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
X		SDL_image.10:${PORTSDIR}/graphics/sdl_image \
X		png.5:${PORTSDIR}/graphics/png
X
XUSE_GMAKE=	yes
XMAKEFILE=	GNUmakefile
XALL_TARGET=	all size
X
Xpost-extract:
X	@${MKDIR} ${WRKSRC}/archs/FreeBSD
X	@${CP} ${FILESDIR}/variables.GNU ${WRKSRC}/archs/FreeBSD
X
Xpost-build:
X	@${SED} -e "s;@PREFIX@;${PREFIX};g" \
X		${FILESDIR}/54321.sh > ${WRKSRC}/54321
X
Xdo-install:
X	@${MKDIR} ${PREFIX}/share/54321/bin/FreeBSD
X	@${MKDIR} ${PREFIX}/share/54321/data
X	@${CHMOD} -R 755 ${PREFIX}/share/54321
X	@${INSTALL_PROGRAM} ${WRKSRC}/Release/bin/FreeBSD/54321 ${PREFIX}/share/54321/bin/FreeBSD
X	@${INSTALL_DATA} ${WRKSRC}/Release/data/* ${PREFIX}/share/54321/data
X	@${INSTALL_SCRIPT} ${WRKSRC}/54321 ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-games/54321/Makefile
echo x - games/54321/distinfo
sed 's/^X//' >games/54321/distinfo << 'END-of-games/54321/distinfo'
XMD5 (54321.tgz) = 20b2ad52ef45742c1a65911b225b6ddc
END-of-games/54321/distinfo
echo c - games/54321/files
mkdir -p games/54321/files > /dev/null 2>&1
echo x - games/54321/files/variables.GNU
sed 's/^X//' >games/54321/files/variables.GNU << 'END-of-games/54321/files/variables.GNU'
X############################################################
XCXX := c++
XSTRIP := strip
X############################################################
XMKDIR_CMD = test -d $(@D) || mkdir -p $(@D)
X############################################################
X
XSDL := /usr/local
XSDL_IMAGE := /usr/local
X
XCPPFLAGS += -I${SDL}/include/SDL11 -I${SDL_IMAGE}/include/SDL11
XLDFLAGS += \
X	-L${SDL_IMAGE}/lib -Wl,-rpath -Wl,${SDL_IMAGE}/lib \
X	-L${SDL}/lib -Wl,-rpath -Wl,${SDL}/lib \
X	-lSDL_image -lSDL-1.1 -lSDLmain-1.1 -pthread -lpng
X
Xprog:	Release/54321-$(ARCH)
X
XRelease/54321-$(ARCH):
X	-@$(MKDIR_CMD)
X	echo '#!/bin/sh' > $@
X	echo "cd ./bin/$(ARCH) && exec ./54321 \$$*" >> $@
X	chmod 755 $@
END-of-games/54321/files/variables.GNU
echo x - games/54321/files/54321.sh
sed 's/^X//' >games/54321/files/54321.sh << 'END-of-games/54321/files/54321.sh'
X#!/bin/sh
Xcd @PREFIX@/share/54321/bin/FreeBSD
Xexec ./54321 $*
END-of-games/54321/files/54321.sh
echo x - games/54321/pkg-comment
sed 's/^X//' >games/54321/pkg-comment << 'END-of-games/54321/pkg-comment'
X54321 is five games in four-, three-, or two-dimensions for one player
END-of-games/54321/pkg-comment
echo x - games/54321/pkg-plist
sed 's/^X//' >games/54321/pkg-plist << 'END-of-games/54321/pkg-plist'
Xbin/54321
Xshare/54321/bin/FreeBSD/54321
Xshare/54321/data/bs1.hlp
Xshare/54321/data/bs2.hlp
Xshare/54321/data/bs3.hlp
Xshare/54321/data/bs4.hlp
Xshare/54321/data/cr1.hlp
Xshare/54321/data/cr2.hlp
Xshare/54321/data/cr3.hlp
Xshare/54321/data/cr4.hlp
Xshare/54321/data/ff1.hlp
Xshare/54321/data/ff2.hlp
Xshare/54321/data/ff3.hlp
Xshare/54321/data/ff4.hlp
Xshare/54321/data/mr1.hlp
Xshare/54321/data/mr2.hlp
Xshare/54321/data/mr3.hlp
Xshare/54321/data/nd1.hlp
Xshare/54321/data/nd2.hlp
Xshare/54321/data/nd3.hlp
Xshare/54321/data/nd4.hlp
Xshare/54321/data/nd5.hlp
Xshare/54321/data/nd6.hlp
Xshare/54321/data/nd7.hlp
Xshare/54321/data/nd8.hlp
Xshare/54321/data/pj1.hlp
Xshare/54321/data/pj2.hlp
Xshare/54321/data/pj3.hlp
Xshare/54321/data/pj4.hlp
Xshare/54321/data/top.hlp
Xshare/54321/data/ts1.hlp
Xshare/54321/data/ts2.hlp
Xshare/54321/data/ts3.hlp
Xshare/54321/data/ts4.hlp
Xshare/54321/data/wn1.hlp
Xshare/54321/data/wn10.hlp
Xshare/54321/data/wn2.hlp
Xshare/54321/data/wn3.hlp
Xshare/54321/data/wn4.hlp
Xshare/54321/data/wn5.hlp
Xshare/54321/data/wn6.hlp
Xshare/54321/data/wn7.hlp
Xshare/54321/data/wn8.hlp
Xshare/54321/data/wn9.hlp
Xshare/54321/data/b2-0n.peg
Xshare/54321/data/b2-0w.peg
Xshare/54321/data/b2-1n.peg
Xshare/54321/data/b2-1w.peg
Xshare/54321/data/b2-2n.peg
Xshare/54321/data/b2-2w.peg
Xshare/54321/data/b3-0n.peg
Xshare/54321/data/b3-0w.peg
Xshare/54321/data/b3-1n.peg
Xshare/54321/data/b3-1w.peg
Xshare/54321/data/b3-2n.peg
Xshare/54321/data/b3-2w.peg
Xshare/54321/data/b4-0n.peg
Xshare/54321/data/b4-0w.peg
Xshare/54321/data/b4-1n.peg
Xshare/54321/data/me.png
Xshare/54321/data/b4-1w.peg
Xshare/54321/data/b4-2n.peg
Xshare/54321/data/b4-2w.peg
Xshare/54321/data/_bvfonts.png
Xshare/54321/data/_nklein.png
Xshare/54321/data/_png.png
Xshare/54321/data/_sdl.png
Xshare/54321/data/_umlaut.png
Xshare/54321/data/actOff.png
Xshare/54321/data/actOn.png
Xshare/54321/data/back.png
Xshare/54321/data/backdrop.png
Xshare/54321/data/blogo.png
Xshare/54321/data/bomb.png
Xshare/54321/data/borders.png
Xshare/54321/data/centers.png
Xshare/54321/data/continue.png
Xshare/54321/data/covered.png
Xshare/54321/data/defeat.png
Xshare/54321/data/dimOff.png
Xshare/54321/data/dimOn.png
Xshare/54321/data/empty.png
Xshare/54321/data/flagged.png
Xshare/54321/data/flogo.png
Xshare/54321/data/font.png
Xshare/54321/data/goal.png
Xshare/54321/data/help.png
Xshare/54321/data/helpOff.png
Xshare/54321/data/helpOn.png
Xshare/54321/data/hole.png
Xshare/54321/data/marked.png
Xshare/54321/data/mlogo.png
Xshare/54321/data/moverlay.png
Xshare/54321/data/off.png
Xshare/54321/data/on.png
Xshare/54321/data/overlay.png
Xshare/54321/data/panel.png
Xshare/54321/data/peg.png
Xshare/54321/data/plogo.png
Xshare/54321/data/pointer.png
Xshare/54321/data/selected.png
Xshare/54321/data/setOff.png
Xshare/54321/data/setOn.png
Xshare/54321/data/threed.png
Xshare/54321/data/tlogo.png
Xshare/54321/data/uncovered.png
Xshare/54321/data/unmarked.png
Xshare/54321/data/victory.png
Xshare/54321/data/wall0.png
Xshare/54321/data/wall1.png
Xshare/54321/data/wall2.png
Xshare/54321/data/wall3.png
Xshare/54321/data/wall4.png
Xshare/54321/data/wall5.png
Xshare/54321/data/wall6.png
Xshare/54321/data/wall7.png
Xshare/54321/data/z2.png
X@dirrm share/54321/data
X@dirrm share/54321/bin/FreeBSD
X@dirrm share/54321/bin
X@dirrm share/54321
END-of-games/54321/pkg-plist
echo x - games/54321/pkg-descr
sed 's/^X//' >games/54321/pkg-descr << 'END-of-games/54321/pkg-descr'
X54321 is five games in four-, three-, or two-dimensions for one player.
X54321 takes five classic two-dimensional puzzle games and extends them
Xinto three and four dimensions. For more information, see the help within
Xthe game.
X
X54321 was created for the 1mb SDL Game Programming Contest sponsored by:
XLinux Journal (http://www.linuxjournal.com/),
XLoki Software (http://www.lokigames.com/),
Xand No Starch Press (http://www.nostarch.com/).
X
XWWW: http://www.nklein.com/products/54321/
END-of-games/54321/pkg-descr
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?200111221754.fAMHs6B39121>