summaryrefslogtreecommitdiff
path: root/mk/extract/bsd.extract.mk
blob: 5735d7f859242f0cc1872aa022cc95b629967f98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: bsd.extract.mk,v 1.4 2007/11/07 09:53:15 rillig Exp $
#
# This Makefile fragment is included to bsd.pkg.mk and defines the
# relevant variables and targets for the "extract" phase.
#
# The following are the "public" targets provided by this module:
#
#    extract
#
# The following targets may be overridden in a package Makefile:
#
# 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.
#
#	Typical actions:
#	* chmod -R a+r,u+w,go-w ${WRKSRC}
#

.include "extract.mk"