pkgsrc/games/greed/patches/patch-aa

30 lines
800 B
Text

$NetBSD: patch-aa,v 1.2 2007/02/27 07:50:49 wiz Exp $
--- Makefile.orig 2002-07-30 22:04:21.000000000 +0000
+++ Makefile
@@ -13,12 +13,13 @@ SYSDEF=NOTBSD
# Prepend "c:" (or whatever drive you use) to the following paths for MSDOS
# Location of high score file
-SFILE=/usr/games/lib/greed.hs
+SFILE=${PREFIX}/share/games/greed.hs
# Location of game executable
-BIN=/usr/games
+BIN=${PREFIX}/bin
# Flags for use with the Linux ncurses package (recommended)
-CFLAGS = -O -s -DNOTBSD
+#CFLAGS = -O -s -DNOTBSD
+CFLAGS+= -DNOTBSD
TERMLIB = -lncurses
CC = gcc
@@ -39,7 +40,7 @@ greed.6: greed.xml
install: greed.6 uninstall
cp greed $(BIN)
- cp greed.6 /usr/share/man/man6/greed.6
+ cp greed.6 $(PREFIX)/$(PKGMANDIR)/man6
uninstall:
rm -f $(BIN)/install /usr/share/man/man6/greed.6