1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/games/rockdodger/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

36 lines
871 B
Makefile

# New ports collection makefile for: rockdodger
# Date created: 02 Dec 2002
# Whom: nbm
#
# $FreeBSD$
#
PORTNAME= rockdodger
PORTVERSION= 0.6
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= spacerocks
MAINTAINER= ports@FreeBSD.org
COMMENT= Addictive rock-dodging greeblie-killing platform game
USE_SDL= mixer image sdl
USE_GMAKE= yes
GAMESDIR?= /var/games
pre-patch:
@${REINPLACE_CMD} \
-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>