summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorAdam David <adam@FreeBSD.org>1994-08-30 16:39:27 +0000
committerAdam David <adam@FreeBSD.org>1994-08-30 16:39:27 +0000
commit8c1d6f5f297f33b308fc9aea44f129e99b854abf (patch)
tree207d9fc1dbaa7aa6232f868160d9ba0374ed195f /Mk/bsd.port.mk
parentnaked dgd port, this just deals with the sources necessary to build the (diff)
added hook for post-build script
Reviewed by: Submitted by:
Notes
Notes: svn path=/head/; revision=47
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 5f931a5c65d0..9d144a582c2c 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1,7 +1,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.20 1994/08/25 22:59:56 jkh Exp $
+# $Id: bsd.port.mk,v 1.21 1994/08/28 14:41:34 jkh Exp $
#
# Supported Variables and their behaviors:
@@ -191,6 +191,9 @@ build: configure pre-build
.else defined(USE_GMAKE)
@(cd ${WRKSRC}; ${MAKE} all)
.endif
+ @if [ -f ${SCRIPTDIR}/post-build ]; then \
+ sh ${SCRIPTDIR}/post-build ${PORTSDIR} ${.CURDIR} ${WRKSRC}; \
+ fi
.endif
.if !target(pre-configure)