summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2003-07-25 18:49:23 +0000
committerjlam <jlam>2003-07-25 18:49:23 +0000
commitcdf13f3090d9c9fc494af316aa89b803d919b63c (patch)
tree05c1b4d5998a4829c032829ad4592fbe48c1762d
parent2b7c24b10a1b9911c39d3239b99888412cb7c1e3 (diff)
downloadpkgsrc-cdf13f3090d9c9fc494af316aa89b803d919b63c.tar.gz
Skip adding scratch files to the dynamic PLIST.
-rw-r--r--mk/bsd.pkg.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 3ba0448c6de..270e9d71f6f 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1216.2.7 2003/07/25 12:33:30 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1216.2.8 2003/07/25 18:49:23 jlam Exp $
#
# This file is in the public domain.
#
@@ -112,8 +112,14 @@ DEPOTBASE= ${LOCALBASE}/${DEPOT_SUBDIR}
PREFIX= ${DEPOTBASE}/${PKGNAME}
NO_MTREE= yes
PLIST_SRC= # empty, since we use dynamic PLIST generation
-_PLIST_IGNORE_FILES= +* # package metadata files
+#
+# _PLIST_IGNORE_FILES basically mirrors the list of ignored files found
+# in pkg_views(1). It's used by the dynamic PLIST generator to skip
+# adding the named files to the PLIST.
+#
+_PLIST_IGNORE_FILES= +* # package metadata files
_PLIST_IGNORE_FILES+= info/dir
+_PLIST_IGNORE_FILES+= *[~#] *.OLD *.orig # scratch config files
_PLIST_IGNORE_FILES+= ${PLIST_IGNORE_FILES}
.endif