Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2008 02:17:48 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/123031: [NEW PORT] games/passage: An experimental video game by Jason Rohrer
Message-ID:  <20080423221749.04A2C1702F@hades.panopticon>
Resent-Message-ID: <200804232220.m3NMK4P0016240@freefall.freebsd.org>

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

>Number:         123031
>Category:       ports
>Synopsis:       [NEW PORT] games/passage: An experimental video game by Jason Rohrer
>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:   Wed Apr 23 22:20:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE FreeBSD 7.0-RELEASE #5: Fri Mar 14 14:26:43 MSK 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
Passage is meant to be a memento mori game. It presents an entire
life, from young adulthood through old age and death, in the span
of five minutes. Of course, it's a game, not a painting or a film,
so the choices that you make as the player are crucial. There's no
"right" way to play Passage, just as there's no right way to interpret
it.

WWW: http://hcsoftware.sourceforge.net/passage
>How-To-Repeat:
>Fix:

--- passage-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:
#
#	passage
#	passage/Makefile
#	passage/pkg-descr
#	passage/pkg-plist
#	passage/distinfo
#	passage/files
#	passage/files/patch-Makefile.all
#
echo c - passage
mkdir -p passage > /dev/null 2>&1
echo x - passage/Makefile
sed 's/^X//' >passage/Makefile << 'END-of-passage/Makefile'
X# New ports collection makefile for:	passage
X# Date created:		23 Apr 2008
X# Whom:			Dmitry Marakasov <amdmi3@amdmi3.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	passage
XPORTVERSION=	3
XCATEGORIES=	games
XMASTER_SITES=	SF/hcsoftware
XDISTNAME=	Passage_v${PORTVERSION}_UnixSource
X
XMAINTAINER=	amdmi3@amdmi3.ru
XCOMMENT=	An experimental video game by Jason Rohrer
X
XUSE_SDL=	sdl
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/gamma256/gameSource
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|-lSDL||' ${WRKSRC}/Makefile.GnuLinux
X	@${REINPLACE_CMD} -e 's|"graphics"|"${DATADIR}/graphics"|' \
X		${WRKSRC}/common.cpp
X	@${REINPLACE_CMD} -e 's|"music"|"${DATADIR}/music"|' \
X		${WRKSRC}/musicPlayer.cpp
X	@${REINPLACE_CMD} -e 's|"settings"|"${DATADIR}/settings"|' \
X		${WRKDIR}/${DISTNAME}/minorGems/util/SettingsManager.cpp
X
Xdo-configure:
X	cd ${WRKSRC} && ${CAT} Makefile.GnuLinux Makefile.all > Makefile
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/Passage ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X.for d in graphics music settings
X	cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}
X.endfor
X
X.include <bsd.port.mk>
END-of-passage/Makefile
echo x - passage/pkg-descr
sed 's/^X//' >passage/pkg-descr << 'END-of-passage/pkg-descr'
XPassage is meant to be a memento mori game. It presents an entire
Xlife, from young adulthood through old age and death, in the span
Xof five minutes. Of course, it's a game, not a painting or a film,
Xso the choices that you make as the player are crucial. There's no
X"right" way to play Passage, just as there's no right way to interpret
Xit.
X
XWWW: http://hcsoftware.sourceforge.net/passage
END-of-passage/pkg-descr
echo x - passage/pkg-plist
sed 's/^X//' >passage/pkg-plist << 'END-of-passage/pkg-plist'
Xbin/Passage
X%%DATADIR%%/graphics/characterSprite.tga
X%%DATADIR%%/graphics/characterSpriteSad.tga
X%%DATADIR%%/graphics/chest.tga
X%%DATADIR%%/graphics/chestDust.tga
X%%DATADIR%%/graphics/chestPrize.tga
X%%DATADIR%%/graphics/heart.tga
X%%DATADIR%%/graphics/numerals.tga
X%%DATADIR%%/graphics/spouseSprite.tga
X%%DATADIR%%/graphics/tileSet.tga
X%%DATADIR%%/graphics/title.tga
X%%DATADIR%%/music/music.tga
X%%DATADIR%%/settings/fullscreen.ini
X%%DATADIR%%/settings/screenHeight.ini
X%%DATADIR%%/settings/screenWidth.ini
X@dirrm %%DATADIR%%/settings
X@dirrm %%DATADIR%%/music
X@dirrm %%DATADIR%%/graphics
X@dirrm %%DATADIR%%
END-of-passage/pkg-plist
echo x - passage/distinfo
sed 's/^X//' >passage/distinfo << 'END-of-passage/distinfo'
XMD5 (Passage_v3_UnixSource.tar.gz) = 183c9dac9e10dbad8d53a9f60972cd8d
XSHA256 (Passage_v3_UnixSource.tar.gz) = 67bf36415a8cde717184abb075112d3ad4495dcd9b032653bc3c7272b9f4a182
XSIZE (Passage_v3_UnixSource.tar.gz) = 424772
END-of-passage/distinfo
echo c - passage/files
mkdir -p passage/files > /dev/null 2>&1
echo x - passage/files/patch-Makefile.all
sed 's/^X//' >passage/files/patch-Makefile.all << 'END-of-passage/files/patch-Makefile.all'
X--- Makefile.all.orig	2007-12-11 21:44:49.000000000 +0300
X+++ Makefile.all	2008-04-23 20:47:45.000000000 +0400
X@@ -1,8 +1,8 @@
X 
X ROOT_PATH = ../..
X 
X-COMPILE = g++ ${PLATFORM_COMPILE_FLAGS} -Wall -g -I${ROOT_PATH} -c
X-LINK = g++ -I${ROOT_PATH}
X+COMPILE = ${CXX} ${CXXFLAGS} `${SDL_CONFIG} --cflags` -Wall -I${ROOT_PATH} -c
X+LINK = ${CXX} `${SDL_CONFIG} --libs`
X 
X 
X 
END-of-passage/files/patch-Makefile.all
exit
--- passage-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?20080423221749.04A2C1702F>