pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/xmlcatmgr During print-PLIST, print comments ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45e2e008a3db
branches:  trunk
changeset: 472838:45e2e008a3db
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Apr 12 21:12:44 2004 +0000

description:
During print-PLIST, print comments and do not remove the catalog files under
share/(xml|sgml) nor these directories themselves.

diffstat:

 textproc/xmlcatmgr/catalogs.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 46b81560a97b -r 45e2e008a3db textproc/xmlcatmgr/catalogs.mk
--- a/textproc/xmlcatmgr/catalogs.mk    Mon Apr 12 21:08:15 2004 +0000
+++ b/textproc/xmlcatmgr/catalogs.mk    Mon Apr 12 21:12:44 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: catalogs.mk,v 1.5 2004/02/01 10:17:21 jlam Exp $
+# $NetBSD: catalogs.mk,v 1.6 2004/04/12 21:12:44 jmmv Exp $
 #
 # This Makefile fragment is intended to be included by packages that install
 # catalog files or DTDs.  It takes care of registering them into the right
@@ -56,6 +56,11 @@
 USE_PKGINSTALL=        YES
 .endif # !empty(SGML_ENTRIES) || !empty(XML_ENTRIES)
 
+PRINT_PLIST_AWK+=      /^share\/(sgml|xml)\/catalog$$/ \
+                               { print "@comment in xmlcatmgr: " $$0; next; }
+PRINT_PLIST_AWK+=      /^@dirrm share\/(sgml|xml)$$/ \
+                               { print "@comment in xmlcatmgr: " $$0; next; }
+
 .if !empty(USE_BUILDLINK3:M[yY][eE][sS])
 .  include "../../textproc/xmlcatmgr/buildlink3.mk"
 .else



Home | Main Index | Thread Index | Old Index