diff options
author | wiz <wiz> | 2009-01-04 18:00:58 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-01-04 18:00:58 +0000 |
commit | 78b15b1be4f834824832c37471a2260baba2a122 (patch) | |
tree | cc54a699c1856b06ed92aefa844e4c63b8c5441a /textproc/rarian | |
parent | 6b6eabac619ef7570598fa21e0dd05517a1e266d (diff) | |
download | pkgsrc-78b15b1be4f834824832c37471a2260baba2a122.tar.gz |
Move scrollkeeper/omf.mk to rarian/omf.mk.
scrollkeeper is nowadays included in rarian, so the omf.mk file should
be there as well.
Adapt all references.
Diffstat (limited to 'textproc/rarian')
-rw-r--r-- | textproc/rarian/omf.mk | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/textproc/rarian/omf.mk b/textproc/rarian/omf.mk new file mode 100644 index 00000000000..ce48e5a2533 --- /dev/null +++ b/textproc/rarian/omf.mk @@ -0,0 +1,40 @@ +# $NetBSD: omf.mk,v 1.1 2009/01/04 18:01:01 wiz 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 +# database. +# +# The following variables are automatically defined for free use in packages: +# SCROLLKEEPER_DATADIR - scrollkeeper's data directory. +# SCROLLKEEPER_REBUILDDB - scrollkeeper-rebuilddb binary program. +# SCROLLKEEPER_UPDATEDB - scrollkeeper-update binary program. +# + +.if !defined(SCROLLKEEPER_OMF_MK) +SCROLLKEEPER_OMF_MK= # defined + +.include "../../mk/bsd.prefs.mk" + +# scrollkeeper's data directory. +SCROLLKEEPER_DATADIR= ${BUILDLINK_PREFIX.rarian}/libdata/scrollkeeper + +# scrollkeeper binary programs. +SCROLLKEEPER_REBUILDDB= ${BUILDLINK_PREFIX.rarian}/bin/scrollkeeper-rebuilddb +SCROLLKEEPER_UPDATEDB= ${BUILDLINK_PREFIX.rarian}/bin/scrollkeeper-update + +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 rarian: " $$0; \ + next; } + +.include "../../textproc/rarian/buildlink3.mk" + +.endif # SCROLLKEEPER_OMF_MK |