mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
352f94a92a
- Utilize DATADIR macro in pkg-plist - Canonicalize and reindent Makefile header - Improve on port description Reported by: pointyhat (logs) [1]
36 lines
909 B
Makefile
36 lines
909 B
Makefile
# New ports collection makefile for: Rock Dodger
|
|
# Date created: 02 Dec 2002
|
|
# Whom: Neil Blakey-Milner <nbm@FreeBSD.org>
|
|
#
|
|
# $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>
|