diff options
author | abs <abs@pkgsrc.org> | 2004-07-06 11:28:55 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2004-07-06 11:28:55 +0000 |
commit | b5a3f86522cf9909ff2c1e1717b21e779c288287 (patch) | |
tree | 6e86da9603fcc04290f42a8bc7be270bfd075f91 /mk | |
parent | 10278d6347f98f7d3f624b475977a439e1417ba0 (diff) | |
download | pkgsrc-b5a3f86522cf9909ff2c1e1717b21e779c288287.tar.gz |
Implement EXTRACT_CMD.bin
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index eaf0c639eb4..752c05f7c5a 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -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+= .zip _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.zoo?= ${LOCALBASE}/bin/unzoo ${EXTRACT_CMD_OPTS.zoo} $${extract_file 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__}` |