pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/plist Font-related entries we skip for CHECK_FILES ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8cbdb5a3a587
branches:  trunk
changeset: 521614:8cbdb5a3a587
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Nov 15 10:40:34 2006 +0000

description:
Font-related entries we skip for CHECK_FILES should be skipped for
print-PLIST as well.

diffstat:

 mk/plist/print-plist.mk |  15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r aaff21c4d210 -r 8cbdb5a3a587 mk/plist/print-plist.mk
--- a/mk/plist/print-plist.mk   Wed Nov 15 10:29:32 2006 +0000
+++ b/mk/plist/print-plist.mk   Wed Nov 15 10:40:34 2006 +0000
@@ -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}\/[^\/]+(-[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



Home | Main Index | Thread Index | Old Index