added hook for post-build script

Reviewed by:
Submitted by:
This commit is contained in:
Adam David 1994-08-30 16:39:27 +00:00
parent 9791be6f32
commit 8c1d6f5f29
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47

View file

@ -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)