mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
36 lines
871 B
Makefile
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= 4
|
|
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>
|