aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-10-04 22:44:56 +0800
committerjkh <jkh@FreeBSD.org>1994-10-04 22:44:56 +0800
commita41918ee94c89751c97da75e95ddb874d4009f83 (patch)
treea4f6cbf38b1cc9a89af1ad6e2dab056721673f5e /Mk
parent640b9a14a5a3369c5cfe2bb5e9b4fd11a2aebf5a (diff)
downloadfreebsd-ports-gnome-a41918ee94c89751c97da75e95ddb874d4009f83.tar.gz
freebsd-ports-gnome-a41918ee94c89751c97da75e95ddb874d4009f83.tar.zst
freebsd-ports-gnome-a41918ee94c89751c97da75e95ddb874d4009f83.zip
Add PREFIX pointing to ${DESTDIR}/usr/local - let's see if we can't
make an entire system work nicely with DESTDIR (to say nothing of being able to move from /usr/local to somewhere else).
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 29aa0eaafadc..99c4682711b7 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.42 1994/10/03 13:45:03 jkh Exp $
+# $Id: bsd.port.mk,v 1.43 1994/10/03 14:38:27 jkh Exp $
#
# Please view me with 4 column tabs!
@@ -15,6 +15,7 @@
# PORTSDIR - The root of the ports tree (default: /usr/ports).
# DISTDIR - Where to get gzip'd, tarballed copies of original sources
# (default: ${PORTSDIR}/distfiles).
+# PREFIX - Where to install things in general (default: /usr/local).
# MASTER_SITES - Primary location(s) for distribution files if not found
# locally.
# PACKAGES - A top level directory where all packages go (rather than
@@ -80,6 +81,7 @@
# tree we are and thus can't go relative. They can, of course, be overridden
# by individual Makefiles.
PORTSDIR?= ${DESTDIR}/usr/ports
+PREFIX?= ${DESTDIR}/usr/local
DISTDIR?= ${PORTSDIR}/distfiles
PACKAGES?= ${PORTSDIR}/packages
WRKDIR?= ${.CURDIR}/work