summaryrefslogtreecommitdiff
path: root/textproc/xmlcatmgr
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
commit1b65d92b2c4589574b6f3883e0a4d073ace10224 (patch)
tree66821621a5269fed0c90762f1b64b391fe398bf1 /textproc/xmlcatmgr
parent92181d1d581a2f00df11e368b2e64cadcda8f0f7 (diff)
downloadpkgsrc-1b65d92b2c4589574b6f3883e0a4d073ace10224.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/xmlcatmgr')
-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