blob: 2ed4d9d7a403d41b421efcd98c2d38e8155514c1 (
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
37
38
39
40
41
42
|
# $NetBSD: bsd.fetch-vars.mk,v 1.6 2006/07/27 07:41:40 rillig Exp $
#
# This Makefile fragment is included separately by bsd.pkg.mk and
# defines some variables which must be defined earlier than where
# bsd.fetch.mk is included.
#
# The following variables may be set by the user:
#
# DISTDIR is the top-level directory into which all original
# distribution files are fetched.
#
# DIST_PATH is a list of directories, separated by colons, in which
# the distribution files are looked up, additionally to DISTDIR.
# No files will ever be created in these directories.
#
# The following variables may be set in a package Makefile:
#
# DIST_SUBDIR is the subdirectory of ${DISTDIR} in which the original
# distribution files for the package are fetched.
#
# DISTFILES is the list of distribution files that are fetched.
#
# The default DISTDIR is currently set in bsd.prefs.mk.
#DISTDIR?= ${PKGSRCDIR}/distfiles
_DISTDIR= ${DISTDIR}/${DIST_SUBDIR}
DISTFILES?= ${DISTNAME}${EXTRACT_SUFX}
# "Failover" fetching requires the digest tool to compute checksums to
# verify any fetched files.
#
USE_TOOLS+= ${FAILOVER_FETCH:Ddigest\:bootstrap}
# When mirroring distfiles which others may fetch, only fetch the
# distfiles if it is allowed to be re-distributed freely. Also,
# suppress some bootstrap-depends output.
#
.if make(mirror-distfiles)
NO_SKIP= # defined
_BOOTSTRAP_VERBOSE= # defined
.endif
|