pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Implement EXTRACT_CMD.bin
details: https://anonhg.NetBSD.org/pkgsrc/rev/438630565585
branches: trunk
changeset: 477612:438630565585
user: abs <abs%pkgsrc.org@localhost>
date: Tue Jul 06 11:28:55 2004 +0000
description:
Implement EXTRACT_CMD.bin
diffstat:
mk/bsd.pkg.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r ab65030b1452 -r 438630565585 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Tue Jul 06 11:28:18 2004 +0000
+++ b/mk/bsd.pkg.mk Tue Jul 06 11:28:55 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1473 2004/07/03 22:11:56 grant Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1474 2004/07/06 11:28:55 abs Exp $
#
# This file is in the public domain.
#
@@ -1843,6 +1843,7 @@
_EXTRACT_SUFFIXES+= .lha .lzh
_EXTRACT_SUFFIXES+= .Z .bz2 .gz
_EXTRACT_SUFFIXES+= .zoo
+_EXTRACT_SUFFIXES+= .bin
_EXTRACT_SUFFIXES+= .rar
# If the distfile has a tar.bz2 suffix, use bzcat in preference to gzcat,
@@ -1918,6 +1919,7 @@
EXTRACT_CMD_OPTS.zoo?= -x
EXTRACT_CMD.rar?= ${LOCALBASE}/bin/unrar ${EXTRACT_CMD_OPTS.rar} $${extract_file}
EXTRACT_CMD_OPTS.rar?= x -inul
+EXTRACT_CMD.bin?= ${ECHO} yes | $${extract_file} ${EXTRACT_CMD_OPTS.bin} >/dev/null
.for __suffix__ in .gz .bz2 .Z
EXTRACT_CMD${__suffix__}?= ${DECOMPRESS_CMD${__suffix__}} $${extract_file} > `${BASENAME} $${extract_file} ${__suffix__}`
Home |
Main Index |
Thread Index |
Old Index