summaryrefslogtreecommitdiff
path: root/mk/plist
diff options
context:
space:
mode:
authorjoerg <joerg>2006-11-15 10:40:34 +0000
committerjoerg <joerg>2006-11-15 10:40:34 +0000
commit0f08ef22be74a54f1a17b434da540c186d784847 (patch)
tree3b8e12851b36a87fd3141e904c82f78f8f409e57 /mk/plist
parent55c064158c137371908fea176c49160d8832a467 (diff)
downloadpkgsrc-0f08ef22be74a54f1a17b434da540c186d784847.tar.gz
Font-related entries we skip for CHECK_FILES should be skipped for
print-PLIST as well.
Diffstat (limited to 'mk/plist')
-rw-r--r--mk/plist/print-plist.mk15
1 files changed, 14 insertions, 1 deletions
diff --git a/mk/plist/print-plist.mk b/mk/plist/print-plist.mk
index 332c3f170c5..0755c317340 100644
--- a/mk/plist/print-plist.mk
+++ b/mk/plist/print-plist.mk
@@ -1,4 +1,4 @@
-# $NetBSD: print-plist.mk,v 1.10 2006/10/09 12:25:44 joerg Exp $
+# $NetBSD: print-plist.mk,v 1.11 2006/11/15 10:40:34 joerg Exp $
###
### Automatic PLIST generation
@@ -40,6 +40,19 @@ _PRINT_PLIST_AWK_IGNORE+= || ($$0 ~ /^${PKGINFODIR:S|/|\\/|g}\/dir$$/)
_PRINT_PLIST_AWK_IGNORE+= || ($$0 ~ /^${PKGINFODIR:S|/|\\/|g}\/[^\/]+(-[0-9]+)(\.gz)?$$/)
_PRINT_PLIST_AWK_IGNORE+= || ($$0 ~ /^([^\/]*\/)*(info\/[^\/]+|[^\/]+\.info)(-[0-9]+)(\.gz)?$$/)
.endif
+.if (defined(FONTS_DIRS.x11) && !empty(FONTS_DIRS.x11:M*))
+_PRINT_PLIST_AWK_IGNORE+= || ($$0 ~ /^.*\/encodings\.dir/)
+_PRINT_PLIST_AWK_IGNORE+= || ($$0 ~ /^.*\/fonts\.dir/)
+.endif
+.if (defined(FONTS_DIRS.ttf) && !empty(FONTS_DIRS.ttf:M*)) || \
+ (defined(FONTS_DIRS.type1) && !empty(FONTS_DIRS.type1:M*))
+_PRINT_PLIST_AWK_IGNORE+= || ($$0 ~ /^.*\/fonts\.scale/)
+.endif
+.if (defined(FONTS_DIRS.ttf) && !empty(FONTS_DIRS.ttf:M*)) || \
+ (defined(FONTS_DIRS.type1) && !empty(FONTS_DIRS.type1:M*)) || \
+ (defined(FONTS_DIRS.x11) && !empty(FONTS_DIRS.x11:M*))
+_PRINT_PLIST_AWK_IGNORE+= || ($$0 ~ /^.*\/fonts\.cache-1/)
+.endif
# Common (system) directories not to generate @dirrm statements for
# Reads MTREE_FILE and generate awk statements that will