summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-07-28 10:14:57 +0000
committeragc <agc@pkgsrc.org>1999-07-28 10:14:57 +0000
commit5dbced5fa363374e06ddec0eafee1fd26e1be8b9 (patch)
tree37f08cfa53d956d2e9cef091e62face6c367d730 /mk
parent5bbe8f7b3d941ff465be4b91b5bff427a6b2345f (diff)
downloadpkgsrc-5dbced5fa363374e06ddec0eafee1fd26e1be8b9.tar.gz
Document the DIST_PATH definition which accidentally got committed
yesterday. #DIST_PATH= /cdrom/0/distfiles:${HOME}/distfiles (DIST_PATH allows multiple directories for distfiles to be defined, although distfiles will still be downloaded into DISTDIR. For example, this allows a CD to be used as a basic repository for distfiles, with additional distfiles to be found in other directories, and, if the distfile is not found in any of these, it will be downloaded into DISTDIR. A symbolic link is created in DISTDIR, pointing to the local distfile.)
Diffstat (limited to 'mk')
-rw-r--r--mk/mk.conf.example18
1 files changed, 17 insertions, 1 deletions
diff --git a/mk/mk.conf.example b/mk/mk.conf.example
index d4294420dd7..5fcf212f385 100644
--- a/mk/mk.conf.example
+++ b/mk/mk.conf.example
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf.example,v 1.64 1999/07/26 19:47:37 tron Exp $
+# $NetBSD: mk.conf.example,v 1.65 1999/07/28 10:14:57 agc Exp $
#
# Sample /etc/mk.conf file, which can be used to set specific values
@@ -64,6 +64,22 @@
# Possible: any path you like
# Default: /usr/pkgsrc/distfiles
+#DIST_PATH= ${PKGSRCDIR}/distfiles:${HOME}/distfiles
+ # colon-delimited list of directories
+ # in which to search for ${DISTFILES} and
+ # ${PATCHFILES}. If the requested file is
+ # not in any of the directories in
+ # ${DIST_PATH}, it will be downloaded into
+ # ${DISTDIR}. If the requested file is in
+ # one of the directories in ${DIST_PATH},
+ # a symbolic link will be made to it from
+ # ${DISTDIR}. ${DIST_PATH} directories will
+ # will be searched before ${DISTDIR}, letting
+ # a CD hold the main distfiles archive, and
+ # local ${DISTDIR} hold any updated distfiles.
+ # Possible: any directories
+ # Default: none
+
#PACKAGES= ${PKGSRCDIR}/packages/${MACHINE_ARCH}
# Store generated packages on a per-
# architecture base