Rename EXTRACT_ENV.bin to EXTRACT_ENV in preparation for a reimplementation

of how distfiles are extracted.  EXTRACT_ENV is a more generic name
and will be applicable for all extraction commands.
This commit is contained in:
jlam 2006-01-20 23:55:02 +00:00
parent 167f13de0c
commit 338850bba1
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.9 2005/12/12 14:43:25 joerg Exp $
# $NetBSD: Makefile.common,v 1.10 2006/01/20 23:55:02 jlam Exp $
CATEGORIES= lang java
COMMENT= Sun's Java(tm) 2 Standard Edition, ${DOWNLOAD_NAME}
@ -30,7 +30,7 @@ MESSAGE_SUBST+= JAVA_HOME=${JAVA_HOME:Q}
# the following forces compression of jarfiles, which is a huge disk
# space win and trivial to no speed reduction in the face of the
# new class sharing in J2SE 5.0... -tvierling
EXTRACT_ENV.bin+= UNPACK200_FLAGS=-Htrue
EXTRACT_ENV+= UNPACK200_FLAGS=-Htrue
NO_MTREE= yes # since we change PREFIX
LDD= ${TRUE}

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.extract.mk,v 1.15 2006/01/20 23:41:30 jlam Exp $
# $NetBSD: bsd.pkg.extract.mk,v 1.16 2006/01/20 23:55:02 jlam Exp $
#
# This Makefile fragment is included to bsd.pkg.mk and defines the
# relevant variables and targets for the "extract" phase.
@ -135,8 +135,8 @@ EXTRACT_CMD.zoo?= ${UNZOO} ${EXTRACT_OPTS_ZOO} $${extract_file}
EXTRACT_OPTS_ZOO?= -x
EXTRACT_CMD.rar?= ${UNRAR} ${EXTRACT_OPTS_RAR} $${extract_file}
EXTRACT_OPTS_RAR?= x -inul
EXTRACT_ENV.bin?= # empty
EXTRACT_CMD.bin?= ${ECHO} yes | ${SETENV} ${EXTRACT_ENV.bin} $${extract_file} ${EXTRACT_OPTS_BIN} >/dev/null
EXTRACT_ENV?= # empty
EXTRACT_CMD.bin?= ${ECHO} yes | ${SETENV} ${EXTRACT_ENV} $${extract_file} ${EXTRACT_OPTS_BIN} >/dev/null
.for __suffix__ in .gz .bz2 .Z
EXTRACT_CMD${__suffix__}?= ${DECOMPRESS_CMD${__suffix__}} $${extract_file} > `${BASENAME} $${extract_file} ${__suffix__}`