1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

If BATCH is defined pass it as an environment variable to the INSTALL

script instead of as the third argument.  Revert the PACKAGE_BUILDING
changes I just made and look for BATCH in the scripts environment.

Suggested and reviewed by:	Asami-san
This commit is contained in:
Steve Price 1999-06-22 23:55:49 +00:00
parent b270c5cb68
commit 7d1e7b5a76
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19699

View File

@ -3,7 +3,7 @@
# Date created: 25 Aug 1997
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
#
# $Id: Makefile,v 1.3 1999/06/05 22:29:48 mharo Exp $
# $Id: Makefile,v 1.4 1999/06/17 08:15:52 asami Exp $
#
DISTNAME= dvipsk-5.78a
@ -96,8 +96,8 @@ post-install:
@${LN} -fs ${DVIPSDIR}/contrib ${PREFIX}/share/doc/dvips/contrib
.endif
.if defined(BATCH)
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL BATCH
@${SETENV} PKG_PREFIX=${PREFIX} BATCH=yes \
${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.else
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL