pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc move the install/deinstall templates from scr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1339a1359d09
branches: trunk
changeset: 535288:1339a1359d09
user: drochner <drochner%pkgsrc.org@localhost>
date: Mon Nov 12 20:41:18 2007 +0000
description:
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:
textproc/rarian/files/install-scrollkeeper.tmpl | 14 ++++++++++++++
textproc/scrollkeeper/files/install.tmpl | 14 --------------
textproc/scrollkeeper/omf.mk | 10 ++++++----
3 files changed, 20 insertions(+), 18 deletions(-)
diffs (66 lines):
diff -r f54d6bf695d6 -r 1339a1359d09 textproc/rarian/files/install-scrollkeeper.tmpl
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/rarian/files/install-scrollkeeper.tmpl Mon Nov 12 20:41:18 2007 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: install-scrollkeeper.tmpl,v 1.1 2007/11/12 20:41:18 drochner 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 -r f54d6bf695d6 -r 1339a1359d09 textproc/scrollkeeper/files/install.tmpl
--- a/textproc/scrollkeeper/files/install.tmpl Mon Nov 12 20:17:59 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r f54d6bf695d6 -r 1339a1359d09 textproc/scrollkeeper/omf.mk
--- a/textproc/scrollkeeper/omf.mk Mon Nov 12 20:17:59 2007 +0000
+++ b/textproc/scrollkeeper/omf.mk Mon Nov 12 20:41:18 2007 +0000
@@ -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_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"
Home |
Main Index |
Thread Index |
Old Index