1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/games/noegnud-data/files/patch-variants::Makefile
Pav Lucistnik b3ed5741b5 noeGNUd aims to be the ultimate User Interface ( UI ) for nethack. comibining
character mode, 2D tilesets and 3d graphics, all interchangeable at runtime to
allow the serious nethack player ultimate freedom of interface to the game that
allows ultimate freedom of gameplay and imagination.

noegnud-data is the foundamental data for noeGNUd which all noeGNUd games
depend on it. noegnud-nethack, noegnud-nethack-deet, noegnud-slashem, and
noegnud-littlehack are the four variant games that noeGNUd support.
noegnud-addons installs tilesets and sound themes.

PR:		ports/65318
Submitted by:	Leland Wang <llwang@infor.org>
2005-02-18 13:12:51 +00:00

30 lines
1.0 KiB
Plaintext

--- Makefile.orig Tue Sep 2 17:11:03 2003
+++ Makefile Tue Jun 29 17:23:45 2004
@@ -1,7 +1,6 @@
NOEGNUDVERSION=noegnud-0.8.0
# you __MUST__ change this if you change the prefix for any variants' install !!!!!!!!!!!!!
# although ..... " make -e foo " also works :O ;)
-PREFIX = /usr/local
GAMEUID = games
GAMEGRP = bin
CHOWN = chown
@@ -66,12 +65,12 @@
@echo "no data creation scripts exists yet, it er, just, um, works (we hope ;)"
install_data: data
- -mkdir -p $(PREFIX)/lib/$(NOEGNUDVERSION)/
- cp -r ../data $(PREFIX)/lib/$(NOEGNUDVERSION)/.
- $(CHOWN) $(GAMEUID) $(PREFIX)/lib/$(NOEGNUDVERSION)/data
- $(CHGRP) $(GAMEGRP) $(PREFIX)/lib/$(NOEGNUDVERSION)/data
- $(CHOWN) -R $(GAMEUID) $(PREFIX)/lib/$(NOEGNUDVERSION)/data/*
- $(CHGRP) -R $(GAMEGRP) $(PREFIX)/lib/$(NOEGNUDVERSION)/data/*
+ -mkdir -p ${DATADIR}
+ cp -r ../data ${DATADIR}/.
+ $(CHOWN) $(GAMEUID) ${DATADIR}/data
+ $(CHGRP) $(GAMEGRP) ${DATADIR}/data
+ $(CHOWN) -R $(GAMEUID) ${DATADIR}/data/*
+ $(CHGRP) -R $(GAMEGRP) ${DATADIR}/data/*
# spawn Makefiles