-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="3"
+EAPI="6"
-inherit autotools eutils
+inherit autotools
DESCRIPTION="Command-line WebDAV client"
HOMEPAGE="http://www.webdav.org/cadaver"
DEPEND="${RDEPEND}
sys-devel/gettext"
+DOCS=(BUGS ChangeLog FAQ NEWS README THANKS TODO)
+
src_prepare() {
- epatch "${FILESDIR}/${PN}-0.23.2-disable-nls.patch"
+ eapply "${FILESDIR}/${PN}-0.23.2-disable-nls.patch"
+ eapply_user
- rm -fr lib/{expat,intl,neon}
+ rm -r lib/{expat,intl,neon} || die "rm failed"
sed \
-e "/NE_REQUIRE_VERSIONS/s/29/& 30/" \
-e "s:lib/neon/Makefile lib/intl/Makefile ::" \
$(use_enable nls) \
--with-libs=/usr
}
-
-src_install () {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc BUGS ChangeLog FAQ NEWS README THANKS TODO
-}