mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
a31f0c0934
PR: 28249 Submitted by: Jordan DeLong <fracture@allusion.net>
24 lines
633 B
Plaintext
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
|