0c2b2884db
Collect the pills and carrots while avoiding the ghosts! Cute and colourful! Basically, it's pacman with a fast food twist. You have to get the pills, pacman style, while also collecting the carrots that move around the mazes. There are also different styles of gates to make things trickier. These are: * Red and White - only the ghosts can cross them * Blue and White - only hannah can cross them * Wooden gates - both hannah and the ghosts can cross, but only passing from below to above * Red prison door things - need hannah to get the red key to open There are some command line switches you can use: -fullscreen will put the game in fullscreen mode -map X will start the game on level X WWW: http://sourceforge.net/projects/hannah/ PR: ports/171486 Submitted by: nemysis@gmx.ch
70 lines
1.9 KiB
Makefile
70 lines
1.9 KiB
Makefile
# Created by: nemysis@gmx.ch
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= help_hannahs_horse
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/hannah/hannah/hannah-${DISTVERSION}/ \
|
|
SF/nemysisfreebsdp/:icons
|
|
DISTFILES= hhh-${DISTVERSION}${EXTRACT_SUFX} \
|
|
${PORTNAME}_icons.tar.gz:icons
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= nemysis@gmx.ch
|
|
COMMENT= Pacman with a fast food twist
|
|
|
|
LICENSE= GPLv2 OFL
|
|
LICENSE_COMB= dual
|
|
LICENSE_NAME_OFL=SIL OPEN FONT LICENSE Version 1.1
|
|
LICENSE_FILE_OFL=${WRKSRC}/StansHandOFL.txt
|
|
LICENSE_PERMS_OFL=dist-mirror pkg-mirror auto-accept
|
|
|
|
WRKSRC= ${WRKDIR}/hhh-2008-03-29
|
|
|
|
USE_SDL= sdl image mixer ttf
|
|
USE_GMAKE= yes
|
|
ALL_TARGET= # empty
|
|
|
|
PORTDOCS= CHANGELOG README TODO
|
|
|
|
INSTALLS_ICONS= yes
|
|
ICON_SIZES= 32x32 48x48 64x64 72x72 96x96
|
|
|
|
DESKTOP_ENTRIES="Help Hannah's Horse" "${COMMENT}" "${PORTNAME}.png" \
|
|
"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local/games/hhh|${DATADIR}|' \
|
|
-e 's|/usr/local/bin|${PREFIX}/bin|' \
|
|
-e 's|CXX = g++|CXX ?= g++|' \
|
|
-e 's|CXXFLAGS = -O2 -Wall -g|CXXFLAGS +=|' \
|
|
-e 's|OUT = hhh|OUT = ${PORTNAME}|' \
|
|
-e 's|-include deps|#-include deps|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
.for d in blue carrot default freeze hannah images invert invis maps newanim pink red sounds stop
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
|
|
.endfor
|
|
.for d in *.ogg *.ttf *.dat *.png
|
|
@(cd ${WRKSRC} && ${INSTALL_DATA} ${d} ${DATADIR})
|
|
.endfor
|
|
|
|
post-install:
|
|
.for s in ${ICON_SIZES}
|
|
${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
|
|
${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
|
|
.endfor
|
|
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|