From: Anthony G. Basile Date: Sat, 7 May 2016 15:13:18 +0000 (-0400) Subject: app-text/xapian-omega: backport commit 9be97c9 for the 1.2 branch X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1ebd4e93f72ae1eba47eac7dee0a7301a63fb38b;p=gentoo.git app-text/xapian-omega: backport commit 9be97c9 for the 1.2 branch Package-Manager: portage-2.2.26 --- 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 similarity index 69% rename from app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild rename to 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 }