diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-02 17:54:32 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-02 17:54:32 +0000 |
commit | 3f5b87bb38bb39a601c303360fe7991f506c8cb4 (patch) | |
tree | 592ec44b393110409eee646220aa0732e6ef91c0 /mk/fetch/bsd.fetch.mk | |
parent | 13e591fe26a5e881d8ed1d755ad73e849aec0c6e (diff) | |
download | pkgsrc-3f5b87bb38bb39a601c303360fe7991f506c8cb4.tar.gz |
Better documentation for the "fetch" phase.
Diffstat (limited to 'mk/fetch/bsd.fetch.mk')
-rw-r--r-- | mk/fetch/bsd.fetch.mk | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/mk/fetch/bsd.fetch.mk b/mk/fetch/bsd.fetch.mk index 5176f812e61..7028b9be2ac 100644 --- a/mk/fetch/bsd.fetch.mk +++ b/mk/fetch/bsd.fetch.mk @@ -1,15 +1,34 @@ -# $NetBSD: bsd.fetch.mk,v 1.4 2006/07/27 17:28:38 jlam Exp $ +# $NetBSD: bsd.fetch.mk,v 1.5 2007/01/02 17:54:32 rillig Exp $ # # This Makefile fragment is included by bsd.pkg.mk and defines the # relevant variables and targets for the "fetch" step. # # The following are the "public" targets provided by this module: # -# fetch, fetch-list +# fetch: +# Downloads all required distfiles for the current package. +# +# fetch-list: +# Prints a shell script to the standard output that will download +# the distfiles. # # The following targets may be overridden in a package Makefile: # -# pre-fetch, do-fetch, post-fetch +# pre-fetch: +# Can be used to prepare downloading the distfiles. +# +# Default action: Nothing. +# +# do-fetch: +# Downloads the distfiles and patches. +# +# Default action (roughly): Downloads all DISTFILES from +# MASTER_SITES and puts them into DISTDIR. +# +# post-fetch: +# Can be used to do something with the downloaded files. +# +# Default action: Nothing. # .include "${PKGSRCDIR}/mk/fetch/sites.mk" |