Skip to content

Commit

Permalink
app-text/xapian-omega: backport commit 9be97c9 for the 1.2 branch
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
  • Loading branch information
blueness committed May 7, 2016
1 parent 8c4fcca commit 1ebd4e9
Showing 1 changed file with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 1ebd4e9

Please sign in to comment.