summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-04-12 21:12:44 +0000
committerjmmv <jmmv@pkgsrc.org>2004-04-12 21:12:44 +0000
commitc2263a4d861d9f00ce2b5d45314b6d7b53f3df0f (patch)
tree66821621a5269fed0c90762f1b64b391fe398bf1 /textproc
parentf9cb3249c48f9a62c1776dfd966a6581e1f73ef8 (diff)
downloadpkgsrc-c2263a4d861d9f00ce2b5d45314b6d7b53f3df0f.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