diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2016-05-07 10:21:40 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-05-07 10:21:59 -0400 |
commit | 9be97c959be4c6de723a349fd806b6dd6bb222ef (patch) | |
tree | 8f0bea63a05e1a25e4fa11057e4acd1550679dc9 /app-text/xapian-omega | |
parent | media-video/avidemux: drop unused local IUSEs (diff) | |
download | gentoo-9be97c959be4c6de723a349fd806b6dd6bb222ef.tar.gz gentoo-9be97c959be4c6de723a349fd806b6dd6bb222ef.tar.bz2 gentoo-9be97c959be4c6de723a349fd806b6dd6bb222ef.zip |
app-text/xapian-omega: add data, template, cdb and log dirs, bug # 581984
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-text/xapian-omega')
-rw-r--r-- | app-text/xapian-omega/xapian-omega-1.3.5-r2.ebuild (renamed from app-text/xapian-omega/xapian-omega-1.3.5-r1.ebuild) | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/app-text/xapian-omega/xapian-omega-1.3.5-r1.ebuild b/app-text/xapian-omega/xapian-omega-1.3.5-r2.ebuild index 3f920a904f0e..0ec1697bd188 100644 --- a/app-text/xapian-omega/xapian-omega-1.3.5-r1.ebuild +++ b/app-text/xapian-omega/xapian-omega-1.3.5-r2.ebuild @@ -27,9 +27,22 @@ src_prepare() { src_install () { emake DESTDIR="${D}" install + 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 - doenvd "${T}"/20xapian-omega - dodoc AUTHORS ChangeLog INSTALL NEWS README TODO + # 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 } |