pkgsrc/mk/fetch/bsd.fetch.mk
2007-10-30 23:35:51 +00:00

37 lines
937 B
Makefile

# $NetBSD: bsd.fetch.mk,v 1.6 2007/10/30 23:35:51 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:
# 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:
# 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 "sites.mk"
.include "fetch.mk"
.include "fetch-list.mk"
.include "distclean.mk"