# 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 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 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