pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/scrollkeeper During print-PLIST, do not outpu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46b81560a97b
branches:  trunk
changeset: 472837:46b81560a97b
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Apr 12 21:08:15 2004 +0000

description:
During print-PLIST, do not output files inside scrollkeeper's database
(libdata/scrollkeeper), and for the removal of the share/omf directory,
print a comment telling that it's beeing removed by this package.

diffstat:

 textproc/scrollkeeper/omf.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r de1666e64734 -r 46b81560a97b textproc/scrollkeeper/omf.mk
--- a/textproc/scrollkeeper/omf.mk      Mon Apr 12 21:06:22 2004 +0000
+++ b/textproc/scrollkeeper/omf.mk      Mon Apr 12 21:08:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: omf.mk,v 1.5 2004/03/07 11:53:00 jmmv Exp $
+# $NetBSD: omf.mk,v 1.6 2004/04/12 21:08:15 jmmv Exp $
 #
 # This Makefile fragment is intended to be included by packages that install
 # OMF files.  It takes care of registering them in scrollkeeper's global
@@ -30,6 +30,12 @@
 FILES_SUBST+=          SCROLLKEEPER_REBUILDDB="${SCROLLKEEPER_REBUILDDB}"
 FILES_SUBST+=          SCROLLKEEPER_UPDATEDB="${SCROLLKEEPER_UPDATEDB}"
 
+PRINT_PLIST_AWK+=      /^libdata\/scrollkeeper/ { next; }
+PRINT_PLIST_AWK+=      /^@dirrm libdata\/scrollkeeper/ { next; }
+PRINT_PLIST_AWK+=      /^@dirrm share\/omf$$/ \
+                               { print "@comment in scrollkeeper: " $$0; \
+                                 next; }
+
 .if !defined(NO_BUILDLINK)
 .  if !empty(USE_BUILDLINK3:M[yY][eE][sS])
 .    include "../../textproc/scrollkeeper/buildlink3.mk"



Home | Main Index | Thread Index | Old Index