Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / mk / fetch / bsd.fetch.mk
blob49de3da0a9af21a1e010f3a2afb5c0e41f928cfa
1 # $NetBSD: bsd.fetch.mk,v 1.6 2007/10/30 23:35:51 rillig Exp $
3 # This Makefile fragment is included by bsd.pkg.mk and defines the
4 # relevant variables and targets for the "fetch" step.
6 # The following are the "public" targets provided by this module:
8 # fetch:
9 # Downloads all required distfiles for the current package.
11 # fetch-list:
12 # Prints a shell script to the standard output that will download
13 # the distfiles.
15 # depends-fetch:
16 # Run fetch for the current package and all dependencies.
18 # The following targets may be overridden in a package Makefile:
20 # pre-fetch:
21 # Can be used to prepare downloading the distfiles.
23 # Default action: Nothing.
25 # do-fetch:
26 # Downloads the distfiles and patches.
28 # Default action (roughly): Downloads all DISTFILES from
29 # MASTER_SITES and puts them into DISTDIR.
31 # post-fetch:
32 # Can be used to do something with the downloaded files.
34 # Default action: Nothing.
37 .include "sites.mk"
38 .include "fetch.mk"
39 .include "fetch-list.mk"
40 .include "distclean.mk"