2003-01-20 13:24:39 +00:00
|
|
|
# New ports collection makefile for: rockdodger
|
|
|
|
# Date created: 02 Dec 2002
|
|
|
|
# Whom: nbm
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= rockdodger
|
|
|
|
PORTVERSION= 0.6
|
2004-03-16 04:23:56 +00:00
|
|
|
PORTREVISION= 2
|
2003-01-20 13:24:39 +00:00
|
|
|
CATEGORIES= games
|
2004-04-10 17:26:55 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2003-01-20 13:24:39 +00:00
|
|
|
MASTER_SITE_SUBDIR= spacerocks
|
|
|
|
|
2003-12-21 00:23:25 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:32:26 +00:00
|
|
|
COMMENT= Addictive rock-dodging greeblie-killing platform game
|
2003-01-20 13:24:39 +00:00
|
|
|
|
2004-01-20 18:21:02 +00:00
|
|
|
USE_SDL= mixer image sdl
|
2003-01-20 13:24:39 +00:00
|
|
|
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>
|