Add NOPKG to disable pkg-stage.

This commit is contained in:
Hiroki Sato 2013-11-30 17:07:53 +00:00
parent f2b525e6b9
commit 9d22cb2e69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258770

View file

@ -16,6 +16,7 @@
# (by default, the directory above this one)
# PORTSDIR: location of ports tree to distribute (default: /usr/ports)
# DOCDIR: location of doc tree (default: /usr/doc)
# NOPKG: if set, do not distribute third-party packages
# NOPORTS: if set, do not distribute ports tree
# NOSRC: if set, do not distribute source tree
# NODOC: if set, do not generate release documentation
@ -212,7 +213,7 @@ packagesystem: base.txz kernel.txz ${EXTRA_PACKAGES}
touch ${.TARGET}
pkg-stage:
.if(exists(${.CURDIR}/${TARGET}/pkg-stage.conf))
.if !defined(NOPKG) && exists(${.CURDIR}/${TARGET}/pkg-stage.conf)
sh ${.CURDIR}/scripts/pkg-stage.sh ${.CURDIR}/${TARGET}/pkg-stage.conf \
${REVISION}
.endif