pkgsrc/games/mirrormagic-sdl/patches/patch-aa
wiz ef848d2289 Initial import of mirrormagic-sdl, the SDL port of mirrormagic.
Package provided by Adam Ciarcinski, with cleanup and buildlink2ing by me.
2002-09-12 00:18:26 +00:00

38 lines
1 KiB
Text

$NetBSD: patch-aa,v 1.1.1.1 2002/09/12 00:18:27 wiz Exp $
--- Makefile.orig Tue Mar 19 02:59:43 2002
+++ Makefile Thu Mar 28 11:43:12 2002
@@ -12,15 +12,17 @@
# specify path to X11 on your system
# if undefined, use system defaults (works with Linux/gcc/libc5)
-X11_PATH = /usr/X11
+X11_PATH = ${X11BASE}
# specify directory for read-only game data (like graphics, sounds, levels)
# default is '.', so you can play without installing game data somewhere
# RO_GAME_DIR = /usr/games
+RO_GAME_DIR = ${PREFIX}/share/mirrormagic
# specify directory for writable game data (like highscore files)
# default is '.', so you can play without installing game data somewhere
# RW_GAME_DIR = /var/games
+RW_GAME_DIR = /var/games/mirrormagic
# uncomment this if your system has no joystick include file
# JOYSTICK = -DNO_JOYSTICK
@@ -42,13 +44,12 @@
.EXPORT_ALL_VARIABLES:
-MAKE = make
SRC_DIR = src
MAKE_CMD = $(MAKE) -C $(SRC_DIR)
all:
- @$(MAKE_CMD) TARGET=x11
+ @$(MAKE_CMD) TARGET=sdl
x11:
@$(MAKE_CMD) TARGET=x11