aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-12-07 14:11:29 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-12-07 14:11:29 +0000
commitae07fde778b0f8719b62a4ed22c280528569fc84 (patch)
tree3f57e02951fc7b0c066687dfc8d5dc4c1b599767 /Mk/bsd.port.mk
parent71bad0ab9c8eaf075f0ab6c7ecfe5811823643fe (diff)
downloadports-ae07fde778b0f8719b62a4ed22c280528569fc84.tar.gz
ports-ae07fde778b0f8719b62a4ed22c280528569fc84.zip
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 408996ddaa11..ede3b84c3e6c 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.187 1995/11/17 16:49:40 asami Exp $
+# $Id: bsd.port.mk,v 1.188 1995/11/26 12:35:49 asami Exp $
#
# Please view me with 4 column tabs!
@@ -406,6 +406,18 @@ package:
@${DO_NADA}
.endif
+.if defined(ALL_HOOK)
+all:
+ @/usr/bin/env CURDIR=${.CURDIR} DISTNAME=${DISTNAME} \
+ DISTDIR=${DISTDIR} WRKDIR=${WRKDIR} WRKSRC=${WRKSRC} \
+ PATCHDIR=${PATCHDIR} SCRIPTDIR=${SCRIPTDIR} \
+ FILESDIR=${FILESDIR} PORTSDIR=${PORTSDIR} PREFIX=${PREFIX} \
+ DEPENDS="${DEPENDS}" BUILD_DEPENDS="${BUILD_DEPENDS}" \
+ RUN_DEPENDS="${RUN_DEPENDS}" X11BASE=${X11BASE} \
+ ${ALL_HOOK}
+
+.endif
+
.if !target(all)
all: build
.endif