summaryrefslogtreecommitdiff
path: root/mk/extract
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-11-20 00:03:22 +0000
committerrillig <rillig@pkgsrc.org>2006-11-20 00:03:22 +0000
commit1264ae81d15abb6f13ee56efc477f11d516abc85 (patch)
tree1b4e3d48e57fdadd36b5970fec540e9152d073b7 /mk/extract
parentb06cc3f456a528286a5eb2a4d4f9d1580edf1136 (diff)
downloadpkgsrc-1264ae81d15abb6f13ee56efc477f11d516abc85.tar.gz
Added better documentation for pre-extract, do-extract and post-extract.
They are found by "make help" now.
Diffstat (limited to 'mk/extract')
-rw-r--r--mk/extract/bsd.extract.mk22
1 files changed, 20 insertions, 2 deletions
diff --git a/mk/extract/bsd.extract.mk b/mk/extract/bsd.extract.mk
index 3c837c7afbe..4d6905f98da 100644
--- a/mk/extract/bsd.extract.mk
+++ b/mk/extract/bsd.extract.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.extract.mk,v 1.1 2006/06/06 03:05:48 jlam Exp $
+# $NetBSD: bsd.extract.mk,v 1.2 2006/11/20 00:03:22 rillig Exp $
#
# This Makefile fragment is included to bsd.pkg.mk and defines the
# relevant variables and targets for the "extract" phase.
@@ -9,7 +9,25 @@
#
# The following targets may be overridden in a package Makefile:
#
-# pre-extract, do-extract, post-extract
+# pre-extract:
+# Can be used to prepare the distfiles for extraction.
+# For binary-only packages, this can mean to make the distfile
+# executable.
+#
+# Default action: Nothing.
+#
+# do-extract:
+# This target does the "real" work of extracting the distfiles.
+#
+# Default action: Extracts the files listed in EXTRACT_ONLY into
+# WRKDIR.
+#
+# post-extract:
+# Can be used to remove unneeded files that have been extracted.
+# Often, additional files from FILESDIR are copied to WRKSRC here,
+# too.
+#
+# Default action: Nothing.
#
.include "${PKGSRCDIR}/mk/extract/extract.mk"