summaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-04-12 21:08:15 +0000
committerjmmv <jmmv>2004-04-12 21:08:15 +0000
commit5bb97db24709102110cdb167f4e97b2f87128be2 (patch)
treea7af126c3e660f7afbf18f0b6568a5acf6e3ce47 /textproc/scrollkeeper
parentbe002ef07bd0c7e37de54e0803e5e548497864bc (diff)
downloadpkgsrc-5bb97db24709102110cdb167f4e97b2f87128be2.tar.gz
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 (limited to 'textproc/scrollkeeper')
-rw-r--r--textproc/scrollkeeper/omf.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/scrollkeeper/omf.mk b/textproc/scrollkeeper/omf.mk
index c143918c2bf..737748d88ed 100644
--- a/textproc/scrollkeeper/omf.mk
+++ b/textproc/scrollkeeper/omf.mk
@@ -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_DATADIR="${SCROLLKEEPER_DATADIR}"
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"