diff options
author | nbm <nbm@FreeBSD.org> | 2003-01-20 21:24:39 +0800 |
---|---|---|
committer | nbm <nbm@FreeBSD.org> | 2003-01-20 21:24:39 +0800 |
commit | 5abc68b7282671d84e0508f60f434ff70d9cb934 (patch) | |
tree | 0a55862baab248f8b3f32932b1a1e6561ad326b2 /games/rockdodger/Makefile | |
parent | 6e6fc1f28e1927487b332a862ab7d83e28a91f81 (diff) | |
download | freebsd-ports-gnome-5abc68b7282671d84e0508f60f434ff70d9cb934.tar.gz freebsd-ports-gnome-5abc68b7282671d84e0508f60f434ff70d9cb934.tar.zst freebsd-ports-gnome-5abc68b7282671d84e0508f60f434ff70d9cb934.zip |
Add rockdodger 0.6, addictive rock-dodging greeblie-killing platform
game.
Diffstat (limited to 'games/rockdodger/Makefile')
-rw-r--r-- | games/rockdodger/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/games/rockdodger/Makefile b/games/rockdodger/Makefile new file mode 100644 index 000000000000..c72888722622 --- /dev/null +++ b/games/rockdodger/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: rockdodger +# Date created: 02 Dec 2002 +# Whom: nbm +# +# $FreeBSD$ +# + +PORTNAME= rockdodger +PORTVERSION= 0.6 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= spacerocks + +MAINTAINER= ports@freebsd.org + +LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ + SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \ + SDL_image.10:${PORTSDIR}/graphics/sdl_image + +USE_REINPLACE= yes +USE_GMAKE= yes + +GAMESDIR?= /var/games + +pre-patch: + @${REINPLACE_CMD} \ + -e "s%sdl-config%sdl11-config%" \ + -e "s%/usr/share/rockdodger/.highscore%${GAMESDIR}/rockdodger.highscore%" \ + -e "s%/usr/share/rockdodger%${PREFIX}/share/rockdodger%" \ + -e "s%/usr/games%${PREFIX}/bin%" \ + -e "s%data/\*.{bmp,png,wav,mod}%data/*%" \ + ${WRKSRC}/Makefile ${WRKSRC}/main.c + @cd ${WRKSRC} && ${REINPLACE_CMD} -e "s%#include <SDL/%#include <%" SFont.c SFont.h main.c sound.c sound.h + +pre-install: + @${MKDIR} ${GAMESDIR} + +.include <bsd.port.mk> |