diff options
author | drochner <drochner@pkgsrc.org> | 2007-11-12 20:41:18 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-11-12 20:41:18 +0000 |
commit | a371762cf663f779bd81db49cb2df8e0f3b2636e (patch) | |
tree | 7765fcb26ed2114f4b00ef052777eac44bf27eca /textproc/scrollkeeper | |
parent | 49b29fd5b925accc9680fdacc2e79bcb494f05c6 (diff) | |
download | pkgsrc-a371762cf663f779bd81db49cb2df8e0f3b2636e.tar.gz |
move the install/deinstall templates from scrollkeeper to rarian
to reflect where the work is done
(call the backwards-compatible rarian version "install-scrollkeeper"
to leave room for a future non-compatibility version)
Diffstat (limited to 'textproc/scrollkeeper')
-rw-r--r-- | textproc/scrollkeeper/files/install.tmpl | 14 | ||||
-rw-r--r-- | textproc/scrollkeeper/omf.mk | 10 |
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" |