Skip to content

Commit

Permalink
app-editors/vis: Fix docdir path and unnecessary LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
lanodan authored and mgorny committed Feb 9, 2018
1 parent 53bcd4d commit e7fee2d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app-editors/vis/vis-0.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,16 @@ src_prepare() {
fi
fi

sed -i 's|${DOCPREFIX}/vis|${DOCPREFIX}|' Makefile || die
sed -i 's|DOCUMENTATION = LICENSE|DOCUMENTATION =|' Makefile || die

default
}

src_configure() {
./configure \
--prefix="${EROOT}usr" \
--docdir="${EROOT}usr/share/doc/${PF}" \
$(use_enable ncurses curses) \
$(use_enable selinux) \
$(use_enable tre) || die
Expand Down
4 changes: 4 additions & 0 deletions app-editors/vis/vis-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@ src_prepare() {
sed -i 's/.*vim.*//' "${S}/test/Makefile" || die
fi

sed -i 's|${DOCPREFIX}/vis|${DOCPREFIX}|' Makefile || die
sed -i 's|DOCUMENTATION = LICENSE|DOCUMENTATION =|' Makefile || die

default
}

src_configure() {
./configure \
--prefix="${EROOT}usr" \
--docdir="${EROOT}usr/share/doc/${PF}" \
$(use_enable ncurses curses) \
$(use_enable selinux) \
$(use_enable tre) || die
Expand Down

0 comments on commit e7fee2d

Please sign in to comment.