1 # $NetBSD: omf-scrollkeeper.mk,v 1.1 2007/11/12 20:45:52 drochner Exp $
3 # This Makefile fragment is intended to be included by packages that install
4 # OMF files. It redirects callers to compatibility scripts provided
7 # The following variables are automatically defined for free use in packages:
8 # SCROLLKEEPER_DATADIR - scrollkeeper's data directory.
9 # SCROLLKEEPER_REBUILDDB - scrollkeeper-rebuilddb binary program.
10 # SCROLLKEEPER_UPDATEDB - scrollkeeper-update binary program.
13 .if
!defined
(SCROLLKEEPER_OMF_MK
)
14 SCROLLKEEPER_OMF_MK
= # defined
16 .
include "../../mk/bsd.prefs.mk"
18 # scrollkeeper's data directory.
19 SCROLLKEEPER_DATADIR
= ${BUILDLINK_PREFIX.rarian
}/libdata
/scrollkeeper
21 # scrollkeeper binary programs.
22 SCROLLKEEPER_REBUILDDB
= ${BUILDLINK_PREFIX.rarian
}/bin
/scrollkeeper-rebuilddb
23 SCROLLKEEPER_UPDATEDB
= ${BUILDLINK_PREFIX.rarian
}/bin
/scrollkeeper-update
26 ${.CURDIR
}/..
/..
/textproc
/rarian
/files
/install-scrollkeeper.tmpl
27 DEINSTALL_TEMPLATES
+= \
28 ${.CURDIR
}/..
/..
/textproc
/rarian
/files
/install-scrollkeeper.tmpl
30 FILES_SUBST
+= SCROLLKEEPER_DATADIR
=${SCROLLKEEPER_DATADIR
:Q
}
31 FILES_SUBST
+= SCROLLKEEPER_REBUILDDB
=${SCROLLKEEPER_REBUILDDB
:Q
}
32 FILES_SUBST
+= SCROLLKEEPER_UPDATEDB
=${SCROLLKEEPER_UPDATEDB
:Q
}
34 .
include "../../textproc/rarian/buildlink3.mk"
36 .
endif # SCROLLKEEPER_OMF_MK