summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2014-03-15 12:08:44 +0100
committerMartin Väth <martin@mvath.de>2015-10-11 10:49:09 +0200
commit19676b39d0b999f43a35d3b6831cfd1d39608f6d (patch)
tree743954faa1f95a146183846a6428c77fd23af545 /app-shells/zshrc-mv
parentBump duckduckgo. openrc-wrapper: Add dependency on gentoo-functions (diff)
downloadmv-19676b39d0b999f43a35d3b6831cfd1d39608f6d.tar.gz
mv-19676b39d0b999f43a35d3b6831cfd1d39608f6d.tar.bz2
mv-19676b39d0b999f43a35d3b6831cfd1d39608f6d.zip
Use optfeature, readme.gentoo.eclass
Diffstat (limited to 'app-shells/zshrc-mv')
-rw-r--r--app-shells/zshrc-mv/ChangeLog3
-rw-r--r--app-shells/zshrc-mv/zshrc-mv-2.10.ebuild12
2 files changed, 7 insertions, 8 deletions
diff --git a/app-shells/zshrc-mv/ChangeLog b/app-shells/zshrc-mv/ChangeLog
index e660b24c..03ab894a 100644
--- a/app-shells/zshrc-mv/ChangeLog
+++ b/app-shells/zshrc-mv/ChangeLog
@@ -4,6 +4,9 @@
*zshrc-2.10 (18 Dec 2013)
+ 15 Mar 2014; Martin Väth <martin@mvath.de>:
+ Use optfeature
+
18 Dec 2013; Martin Väth <martin@mvath.de>:
Version bump, remove old ebuild.
diff --git a/app-shells/zshrc-mv/zshrc-mv-2.10.ebuild b/app-shells/zshrc-mv/zshrc-mv-2.10.ebuild
index c44bb238..464000fb 100644
--- a/app-shells/zshrc-mv/zshrc-mv-2.10.ebuild
+++ b/app-shells/zshrc-mv/zshrc-mv-2.10.ebuild
@@ -27,12 +27,8 @@ src_install() {
}
pkg_postinst() {
- local i
- for i in \
- '>=app-shells/auto-fu-zsh-0.0.1.13' \
- 'app-shells/zsh-syntax-highlighting' \
- 'app-shells/set_prompt' \
- 'app-shells/termcolors-mv'
- do has_version "${i}" || elog "It is recommended to install ${i}"
- done
+ optfeature "automagic completion" '>=app-shells/auto-fu-zsh-0.0.1.13'
+ optfeature "syntax highlighting" 'app-shells/zsh-syntax-highlighting'
+ optfeature "a nice prompt" 'app-shells/set_prompt'
+ optfeature "nice directory colors" 'app-shells/termcolors-mv'
}