summaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/scrollkeeper')
-rw-r--r--textproc/scrollkeeper/files/install.tmpl14
-rw-r--r--textproc/scrollkeeper/omf.mk10
2 files changed, 6 insertions, 18 deletions
diff --git a/textproc/scrollkeeper/files/install.tmpl b/textproc/scrollkeeper/files/install.tmpl
deleted file mode 100644
index 352f6ded0cb..00000000000
--- a/textproc/scrollkeeper/files/install.tmpl
+++ /dev/null
@@ -1,14 +0,0 @@
-# $NetBSD: install.tmpl,v 1.3 2004/03/07 11:53:43 jmmv Exp $
-
-SCROLLKEEPER_DATADIR="@SCROLLKEEPER_DATADIR@"
-SCROLLKEEPER_REBUILDDB="@SCROLLKEEPER_REBUILDDB@"
-SCROLLKEEPER_UPDATEDB="@SCROLLKEEPER_UPDATEDB@"
-
-case ${STAGE} in
-POST-INSTALL)
- ${SCROLLKEEPER_UPDATEDB} -q -p ${SCROLLKEEPER_DATADIR}/db
- ;;
-DEINSTALL)
- ${SCROLLKEEPER_UPDATEDB} -q -p ${SCROLLKEEPER_DATADIR}/db
- ;;
-esac
diff --git a/textproc/scrollkeeper/omf.mk b/textproc/scrollkeeper/omf.mk
index 270f545c998..c7920ec0304 100644
--- a/textproc/scrollkeeper/omf.mk
+++ b/textproc/scrollkeeper/omf.mk
@@ -1,4 +1,4 @@
-# $NetBSD: omf.mk,v 1.13 2007/10/31 20:26:21 drochner Exp $
+# $NetBSD: omf.mk,v 1.14 2007/11/12 20:41:18 drochner 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
@@ -22,15 +22,17 @@ SCROLLKEEPER_DATADIR= ${BUILDLINK_PREFIX.rarian}/libdata/scrollkeeper
SCROLLKEEPER_REBUILDDB= ${BUILDLINK_PREFIX.rarian}/bin/scrollkeeper-rebuilddb
SCROLLKEEPER_UPDATEDB= ${BUILDLINK_PREFIX.rarian}/bin/scrollkeeper-update
-INSTALL_TEMPLATES+= ${.CURDIR}/../../textproc/scrollkeeper/files/install.tmpl
-DEINSTALL_TEMPLATES+= ${.CURDIR}/../../textproc/scrollkeeper/files/install.tmpl
+INSTALL_TEMPLATES+= \
+ ${.CURDIR}/../../textproc/rarian/files/install-scrollkeeper.tmpl
+DEINSTALL_TEMPLATES+= \
+ ${.CURDIR}/../../textproc/rarian/files/install-scrollkeeper.tmpl
FILES_SUBST+= SCROLLKEEPER_DATADIR=${SCROLLKEEPER_DATADIR:Q}
FILES_SUBST+= SCROLLKEEPER_REBUILDDB=${SCROLLKEEPER_REBUILDDB:Q}
FILES_SUBST+= SCROLLKEEPER_UPDATEDB=${SCROLLKEEPER_UPDATEDB:Q}
PRINT_PLIST_AWK+= /^@dirrm share\/omf$$/ \
- { print "@comment in scrollkeeper: " $$0; \
+ { print "@comment in rarian: " $$0; \
next; }
.include "../../textproc/rarian/buildlink3.mk"