summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-01-27 13:14:07 +0000
committeragc <agc@pkgsrc.org>1998-01-27 13:14:07 +0000
commit8a4b6d490178aa37c03ad0c70bbbf87dce2184c6 (patch)
tree77a806a0705f9ab1f47745b481892592dccceb39 /mk
parentb5bef11c93afbadd1e089dd9456a5bb6ed2564bc (diff)
downloadpkgsrc-8a4b6d490178aa37c03ad0c70bbbf87dce2184c6.tar.gz
Rename the `mirror' target to be `mirror-distfiles'. This describes
the action better, and works around problems with the mirror package. Document the mirror-distfiles target, and also the readme target.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk9
-rw-r--r--mk/bsd.port.mk9
2 files changed, 14 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 28f69dad1d1..cade20fe81e 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,7 +1,7 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
-# $NetBSD: bsd.pkg.mk,v 1.39 1998/01/25 14:50:47 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.40 1998/01/27 13:14:07 agc Exp $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
@@ -289,6 +289,11 @@ NetBSD_MAINTAINER= agc@netbsd.org
# the same file.
# checksum - Use files/md5 to ensure that your distfiles are valid.
# makesum - Generate files/md5 (only do this for your own ports!).
+# readme - Create a README.html file describing the category or package
+# mirror-distfiles - Mirror the distfile(s) if they are freely redistributable
+# Setting MIRROR_DISTFILE to "no" in the package Makefile
+# will override the default "yes", and the distfile will
+# not be fetched.
#
# Default sequence for "all" is: fetch checksum extract patch configure build
#
@@ -1055,7 +1060,7 @@ do-fetch:
# This is for the use of sites which store distfiles which others may
# fetch - only fetch the distfile if it is allowed to be
# re-distributed freely
-mirror:
+mirror-distfiles:
.if (${MIRROR_DISTFILE} == "yes")
@make fetch __ARCH_OK=yes NO_IGNORE=yes
.endif
diff --git a/mk/bsd.port.mk b/mk/bsd.port.mk
index 22ada1c80cb..e189a6c6448 100644
--- a/mk/bsd.port.mk
+++ b/mk/bsd.port.mk
@@ -1,7 +1,7 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
-# $NetBSD: bsd.port.mk,v 1.39 1998/01/25 14:50:47 hubertf Exp $
+# $NetBSD: bsd.port.mk,v 1.40 1998/01/27 13:14:07 agc Exp $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
@@ -289,6 +289,11 @@ NetBSD_MAINTAINER= agc@netbsd.org
# the same file.
# checksum - Use files/md5 to ensure that your distfiles are valid.
# makesum - Generate files/md5 (only do this for your own ports!).
+# readme - Create a README.html file describing the category or package
+# mirror-distfiles - Mirror the distfile(s) if they are freely redistributable
+# Setting MIRROR_DISTFILE to "no" in the package Makefile
+# will override the default "yes", and the distfile will
+# not be fetched.
#
# Default sequence for "all" is: fetch checksum extract patch configure build
#
@@ -1055,7 +1060,7 @@ do-fetch:
# This is for the use of sites which store distfiles which others may
# fetch - only fetch the distfile if it is allowed to be
# re-distributed freely
-mirror:
+mirror-distfiles:
.if (${MIRROR_DISTFILE} == "yes")
@make fetch __ARCH_OK=yes NO_IGNORE=yes
.endif