--- /dev/null
+EAPI="5"
+
+EGIT_REPO_URI="git://toy.bzium.org/~embe/embe-profile-files.git"
+
+inherit git-2
+
+DESCRIPTION="eMBe's /etc/profile.d files."
+HOMEPAGE=""
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS=""
+IUSE="+choinka +fortune"
+
+DEPEND=""
+RDEPEND="
+ choinka? ( app-misc/choinka )
+ fortune? ( games-misc/fortune-mod )
+"
+
+src_prepare()
+{
+ use choinka || rm ??-embe-choinka.sh.in
+ use fortune || rm ??-embe-fortune.sh.in
+}
+
+src_install()
+{
+ insinto /etc/profile.d
+ doins ??-*.sh
+}