summaryrefslogtreecommitdiff
path: root/mk/plist/print-plist.mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-15 10:40:34 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-15 10:40:34 +0000
commitbf76172a69d169164b3b1590eee4e2b77acd8743 (patch)
tree3b8e12851b36a87fd3141e904c82f78f8f409e57 /mk/plist/print-plist.mk
parent66f44d47b8616e3a1ce000c0142f4e6b46b13b53 (diff)
downloadpkgsrc-bf76172a69d169164b3b1590eee4e2b77acd8743.tar.gz
Font-related entries we skip for CHECK_FILES should be skipped for
print-PLIST as well.
Diffstat (limited to 'mk/plist/print-plist.mk')
-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