summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-doc/eclass-manpages/eclass-manpages-99999999.ebuild')
-rw-r--r--app-doc/eclass-manpages/eclass-manpages-99999999.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild b/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild
index 7dfb0d7e0d2a..a0e75b5e7e24 100644
--- a/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild
+++ b/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild
@@ -16,15 +16,20 @@ SLOT="0"
KEYWORDS=""
IUSE=""
+DEPEND="sys-apps/gawk"
+
src_unpack() {
git-r3_fetch
+ git-r3_fetch "https://github.com/mgorny/eclass-to-manpage"
+
git-r3_checkout '' '' '' eclass
+ git-r3_checkout "https://github.com/mgorny/eclass-to-manpage"
}
src_compile() {
- env ECLASSDIR="${S}/eclass" bash "${FILESDIR}"/eclass-to-manpage.sh || die
+ emake ECLASSDIR=eclass
}
src_install() {
- doman *.5
+ emake install ECLASSDIR=eclass DESTDIR="${D}" PREFIX=/usr
}