Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 02/25/2002 06:43:57
Module Name:	pkgsrc
Committed By:	jlam
Date:		Mon Feb 25 04:43:57 UTC 2002

Modified Files:
	pkgsrc/mk: bsd.pkg.mk

Log Message:
* Turn _SHELL_EXTRACT into a "subroutine" for extracting an archive.  It
  extracts the contents of archive named by the shell variable
  "extract_file" based on the file extension of the archive.  The contents
  are dumped into the current directory.

* Unify the EXTRACT_CMD handling.  We now define the default EXTRACT_CMD
  to be ${_SHELL_EXTRACT} (see above).  Otherwise, if it's already defined
  in the package Makefile, then that EXTRACT_CMD is used to extract all of
  the archives.

* Rearrange the locking code so that it's localized instead of interspersed
  in the extraction code.

* Add EXTRACT_CMD definitions for files that are only compressed (foo.c.gz)
  that decompress the file into ${WRKDIR}.


To generate a diff of this commit:
cvs rdiff -r1.928 -r1.929 pkgsrc/mk/bsd.pkg.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.