summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-04-12 21:12:44 +0000
committerjmmv <jmmv>2004-04-12 21:12:44 +0000
commit2179dc12e73624aad439810465615775b70fa00d (patch)
tree66821621a5269fed0c90762f1b64b391fe398bf1 /textproc
parent5bb97db24709102110cdb167f4e97b2f87128be2 (diff)
downloadpkgsrc-2179dc12e73624aad439810465615775b70fa00d.tar.gz
During print-PLIST, print comments and do not remove the catalog files under
share/(xml|sgml) nor these directories themselves.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xmlcatmgr/catalogs.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/textproc/xmlcatmgr/catalogs.mk b/textproc/xmlcatmgr/catalogs.mk
index 4260a71275f..83bef21cde2 100644
--- a/textproc/xmlcatmgr/catalogs.mk
+++ b/textproc/xmlcatmgr/catalogs.mk
@@ -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 @@ DEINSTALL_EXTRA_TMPL+= ../../textproc/xmlcatmgr/files/deinstall.tmpl
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