diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-02-18 14:39:02 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-02-18 14:39:02 +0000 |
commit | e3f5102cf0fedade45366b1f342d152434e80e57 (patch) | |
tree | 288d7adaea56fad2e133781b644938e46fc9c0ff /textproc/scrollkeeper/omf.mk | |
parent | 80ae5d23803ba13eb2f9687d1bf8adb2d9a40741 (diff) | |
download | pkgsrc-e3f5102cf0fedade45366b1f342d152434e80e57.tar.gz |
Update to 0.3.12. There have been lots of changes since 0.2 (this version
is almost a rewrite of the program). Note that this is still a development
version but includes new features that may be required by packages using
scrollkeeper (which won't work with the old 0.2).
Provide a framework to automatically rebuild scrollkeeper's database from
packages installing OMF files under share/omf/; they only need to include
omf.mk in their Makefile and take care to install OMF files in the said
directory.
Reviewed by rh and wiz.
Diffstat (limited to 'textproc/scrollkeeper/omf.mk')
-rw-r--r-- | textproc/scrollkeeper/omf.mk | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/textproc/scrollkeeper/omf.mk b/textproc/scrollkeeper/omf.mk new file mode 100644 index 00000000000..d68ad268c10 --- /dev/null +++ b/textproc/scrollkeeper/omf.mk @@ -0,0 +1,33 @@ +# $NetBSD: omf.mk,v 1.1 2003/02/18 14:39:03 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 +# 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-updatedb binary program. +# + +.if !defined(SCROLLKEEPER_OMF_MK) +SCROLLKEEPER_OMF_MK= # defined + +# scrollkeeper's data directory. +SCROLLKEEPER_DATADIR= ${BUILDLINK_PREFIX.scrollkeeper}/libdata/scrollkeeper + +# scrollkeeper binary programs. +SCROLLKEEPER_REBUILDDB= ${BUILDLINK_PREFIX.scrollkeeper}/bin/scrollkeeper-rebuilddb +SCROLLKEEPER_UPDATEDB= ${BUILDLINK_PREFIX.scrollkeeper}/bin/scrollkeeper-updatedb + +USE_PKGINSTALL= YES +INSTALL_EXTRA_TMPL+= ${.CURDIR}/../../textproc/scrollkeeper/files/install.tmpl +DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/../../textproc/scrollkeeper/files/install.tmpl + +FILES_SUBST+= SCROLLKEEPER_DATADIR="${SCROLLKEEPER_DATADIR}" +FILES_SUBST+= SCROLLKEEPER_REBUILDDB="${SCROLLKEEPER_REBUILDDB}" +FILES_SUBST+= SCROLLKEEPER_UPDATEDB="${SCROLLKEEPER_UPDATEDB}" + +.include "../../textproc/scrollkeeper/buildlink2.mk" + +.endif # SCROLLKEEPER_OMF_MK |