freebsd-ports/games/passage/Makefile
Martin Wilke e4fc25bb69 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

PR:		ports/123031
Submitted by:	Dmitry Marakasov <amdmi3 at amdmi3.ru>
2008-04-27 08:45:15 +00:00

40 lines
1 KiB
Makefile

# New ports collection makefile for: passage
# Date created: 23 Apr 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= passage
PORTVERSION= 3
CATEGORIES= games
MASTER_SITES= SF/hcsoftware
DISTNAME= Passage_v${PORTVERSION}_UnixSource
MAINTAINER= amdmi3@amdmi3.ru
COMMENT= An experimental video game by Jason Rohrer
USE_SDL= sdl
WRKSRC= ${WRKDIR}/${DISTNAME}/gamma256/gameSource
post-patch:
@${REINPLACE_CMD} -e 's|-lSDL||' ${WRKSRC}/Makefile.GnuLinux
@${REINPLACE_CMD} -e 's|"graphics"|"${DATADIR}/graphics"|' \
${WRKSRC}/common.cpp
@${REINPLACE_CMD} -e 's|"music"|"${DATADIR}/music"|' \
${WRKSRC}/musicPlayer.cpp
@${REINPLACE_CMD} -e 's|"settings"|"${DATADIR}/settings"|' \
${WRKDIR}/${DISTNAME}/minorGems/util/SettingsManager.cpp
do-configure:
cd ${WRKSRC} && ${CAT} Makefile.GnuLinux Makefile.all > Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Passage ${PREFIX}/bin
${MKDIR} ${DATADIR}
.for d in graphics music settings
cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}
.endfor
.include <bsd.port.mk>