1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/games/yadex/files/patch-GNUmakefile
David W. Chapman Jr. a31f0c0934 Add yadex, a wad editor for popular games including doom 1 & 2, hexen and others
PR:		28249
Submitted by:	Jordan DeLong <fracture@allusion.net>
2001-06-18 16:05:38 +00:00

24 lines
633 B
Plaintext

--- GNUmakefile.orig Tue Dec 12 16:49:00 2000
+++ GNUmakefile Sun Jun 17 22:43:27 2001
@@ -22,7 +22,10 @@
# Where you want "make install" to put things.
# Typical values : "/usr", "/usr/local" and "/opt".
-PREFIX = /usr/local
+PREFIX?= /usr/local
+
+# Make a PREFIX def available to the source
+DEFINES += -DPREFIX=\"$(PREFIX)\"
# Which OS ?
OS := $(shell uname -s | tr A-Z a-z)
@@ -352,7 +355,7 @@
else
INST_CFGDIR = $(PREFIX)/etc/yadex/$(VERSION)
endif
-INST_YGDDIR = $(PREFIX)/share/games/yadex/$(VERSION)
+INST_YGDDIR = $(PREFIX)/share/yadex/$(VERSION)
ifdef FHS_MAN
INST_MANDIR = $(PREFIX)/share/man/man6
else