summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/fvwm-crystal/fvwm-crystal-3.3.0.ebuild')
-rw-r--r--x11-themes/fvwm-crystal/fvwm-crystal-3.3.0.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/x11-themes/fvwm-crystal/fvwm-crystal-3.3.0.ebuild b/x11-themes/fvwm-crystal/fvwm-crystal-3.3.0.ebuild
index 0c27c2b1..9ca607a3 100644
--- a/x11-themes/fvwm-crystal/fvwm-crystal-3.3.0.ebuild
+++ b/x11-themes/fvwm-crystal/fvwm-crystal-3.3.0.ebuild
@@ -45,18 +45,19 @@ To know how to update your custom color themes, please run
${ROOT}usr/share/${PN}/addons/convert_colorsets"
src_prepare() {
+ sed -i -e 's!/usr/local!${EPREFIX%/}/usr!' -- "${S}/Makefile"
epatch_user
}
src_install() {
emake \
DESTDIR="${D}" \
- docdir="/usr/share/doc/${PF}" \
- prefix="/usr" \
+ docdir="${EPREFIX%/}/usr/share/doc/${PF}" \
+ prefix="${EPREFIX%/}/usr" \
install
python_replicate_script \
- "${D}/usr/bin/${PN}".{apps,wallpaper} \
- "${D}/usr/share/${PN}"/fvwm/scripts/FvwmMPD/*.py
- readme.gentoo_src_install
+ "${ED}/usr/bin/${PN}".{apps,wallpaper} \
+ "${ED}/usr/share/${PN}"/fvwm/scripts/FvwmMPD/*.py
+ readme.gentoo_create_doc
}