Commit graph

16 commits

Author SHA1 Message Date
shattered
aead224866 Decompress .lz files with lzip. 2013-11-16 07:45:26 +00:00
obache
0826fce3ea tabify 2013-04-12 12:38:14 +00:00
ryoon
b707c18585 Add 7z archive distfile support.
Fix PR pkg/42967
2012-10-01 10:45:16 +00:00
tron
c2b518dacb Use "xzcat" instead of "lzcat" to handle ".lzma" files as the former is
bundled with NetBSD-current.
2010-12-22 09:33:30 +00:00
minskim
ce99bfa433 Uncompress .xz using xzcat. 2009-07-08 13:27:52 +00:00
minskim
9d21508d1a Decompress .lzma files with lzcat. 2008-11-15 20:25:34 +00:00
joerg
b2a1dcfb92 Add support to extract using bsdtar. 2008-05-25 20:02:02 +00:00
joerg
08016fa1fa EXTRACT_USING is always set, even when the necessary tools are not
depended on because it is not used. Work around it for now by checking
that the target is actually non-empty explicitly. This is still simpler
than the original code. After the branch, this will be reordered so that
it only gets set to non-default values when it will be used.
2007-12-30 13:37:18 +00:00
rillig
498b3032c8 Made "bmake show-all-extract" work. 2007-11-07 09:52:58 +00:00
jlam
3629e30a61 Teach the extract module to extract RPMs with rpm2pkg. 2007-07-31 17:42:40 +00:00
minskim
3cc5058c86 Teach how to unpack .gem files. 2006-10-15 01:56:06 +00:00
joerg
030dbf012a Add support for cpio archives. 2006-09-13 11:10:36 +00:00
schwarz
ffe01c2d57 it is not necessary to have a variable _EXTRACT_PATTERNS that contains
${EXTRACT_SUFX}, so one can directly use EXTRACT_ONLY instead.
EXTRACT_ONLY defaults to ${DISTFILES} which in turn defaults to
${DISTNAME}${EXTRACT_SUFX}. So if EXTRACT_SUFX is relevant for determining
which tools are needed this can only happen if neither DISTFILES nor
EXTRACT_ONLY have been set by the package, in which case the relevant
variable EXTRACT_ONLY would contain EXTRACT_SUFX.
2006-08-19 20:32:28 +00:00
schwarz
463b1f8ab6 only depend on the extract tools if there are actually any files to extract 2006-08-19 20:06:57 +00:00
jlam
3058ace76f Move some variable definitions out of bsd.prefs.mk and back into
bsd.pkg.mk.  They didn't actually need to be defined in bsd.prefs.mk,
just somewhere before the "main" bsd.<phase>.mk files were included.
This moves some conditional (?=) definitions back into bsd.pkg.mk so
they won't conflict with any conditional definitions in package
Makefiles.

This should fix the "checksum" problems in lang/php-gd as noted here:

    http://mail-index.netbsd.org/pkgsrc-users/2006/06/05/0012.html

where EXTRACT_SUFX had the wrong value due to the order in while *.mk
files were included.
2006-06-06 15:28:51 +00:00
jlam
c78510391e Refactor "fetch" and "extract" code into correspondingly named
subdirectories of pkgsrc/mk.  Move the following files around for
locality:

	pkgsrc/mk/scripts/extract  -> pkgsrc/mk/extract/extract
	pkgsrc/mk/bsd.sites.mk     -> pkgsrc/mk/fetch/sites.mk

Also get rid of the recursive make for the "fetch" and "extract"
targets.  This basically merges the "fetch" and "extract" phases into
the "patch" phase.

There is still much more work to do to simplify the fetch code, but
this is a good start.
2006-06-06 03:05:48 +00:00