summaryrefslogtreecommitdiff
path: root/doc/Makefile-example
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-27 15:16:44 +0000
committerjlam <jlam@pkgsrc.org>2006-07-27 15:16:44 +0000
commite7af7b2e05a05619d928f4bb3855ebca2c58f684 (patch)
tree3529dbe2fb2a983115d50f591b6a7a2501a1d59c /doc/Makefile-example
parenta5163ad93efe3955028881dd69253ff3a5809704 (diff)
downloadpkgsrc-e7af7b2e05a05619d928f4bb3855ebca2c58f684.tar.gz
Apply the "convention over configuration" principle:
If ${FILESDIR}/getsite.sh exists, then use it to determine the fetch URL for each of the distfiles for the package. Otherwise, use SITE_<file> and MASTER_SITES, in order, to determine the URL for each distfile. If the script path differs from ${FILESDIR}/getsite.sh, then set DYNAMIC_SITE_SCRIPT to the full path to that script. Remove the need to set DYNAMIC_MASTER_SITES explicitly in the package Makefile for: graphics/ns-cult3d wm/sawfish-themes www/apache-tomcat55 www/jakarta-tomcat4 www/jakarta-tomcat5
Diffstat (limited to 'doc/Makefile-example')
-rw-r--r--doc/Makefile-example4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/Makefile-example b/doc/Makefile-example
index 632cfe17b65..7ff264560c3 100644
--- a/doc/Makefile-example
+++ b/doc/Makefile-example
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile-example,v 1.13 2006/04/09 01:14:52 jlam Exp $
+# $NetBSD: Makefile-example,v 1.14 2006/07/27 15:16:44 jlam Exp $
# First paragraph - distfile and binary package data
# DISTNAME PKGNAME PKGREVISION SVR4_PKGNAME CATEGORIES MASTER_SITES
-# DYNAMIC_MASTER_SITES MASTER_SITE_SUBDIR EXTRACT_SUFX DISTFILES
+# MASTER_SITE_SUBDIR EXTRACT_SUFX DISTFILES
DISTNAME= make-3.80
PKGNAME= gmake-3.80 # only to be added if the package name is different from DISTNAME
#PKGREVISION= 2 # should be added/incremented for user-visible changes