summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-05-07 11:13:18 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-05-07 11:13:18 -0400
commit1ebd4e93f72ae1eba47eac7dee0a7301a63fb38b (patch)
treea1ba72c507debe19c5dfc31112e526b2ab1cf28b /app-text/xapian-omega
parentdev-libs/xapian: remove older 1.3 (diff)
downloadgentoo-1ebd4e93f72ae1eba47eac7dee0a7301a63fb38b.tar.gz
gentoo-1ebd4e93f72ae1eba47eac7dee0a7301a63fb38b.tar.bz2
gentoo-1ebd4e93f72ae1eba47eac7dee0a7301a63fb38b.zip
app-text/xapian-omega: backport commit 9be97c9 for the 1.2 branch
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-text/xapian-omega')
-rw-r--r--app-text/xapian-omega/xapian-omega-1.2.23-r2.ebuild (renamed from app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild)19
1 files changed, 16 insertions, 3 deletions
diff --git a/app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild b/app-text/xapian-omega/xapian-omega-1.2.23-r2.ebuild
index 1c2bada62079..164eebbecc45 100644
--- a/app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild
+++ b/app-text/xapian-omega/xapian-omega-1.2.23-r2.ebuild
@@ -23,11 +23,24 @@ RDEPEND="${DEPEND}"
src_install () {
emake DESTDIR="${D}" install
- #move docs to /usr/share/doc/${PF}.
- mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}"
-
# Protect /etc/omega.conf
echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega
doenvd "${T}"/20xapian-omega
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
+
+ #move docs to /usr/share/doc/${PF}.
+ mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}" || die
+
+ # Directory containing Xapian databases:
+ keepdir /var/lib/omega/data
+
+ # Directory containing OmegaScript templates:
+ keepdir /var/lib/omega/templates
+ mv "${S}"/templates/* "${D}"/var/lib/omega/templates || die
+
+ # Directory to write Omega logs to:
+ keepdir /var/log/omega
+
+ # Directory containing any cdb files for the $lookup OmegaScript command:
+ keepdir /var/lib/omega/cdb
}