commit:     854141d9a5af3f44006b51f562df64b0f07a5bf3
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 24 13:46:22 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Aug 24 13:51:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=854141d9

net-dialup/wvdial: Fix homepage (#551380 by jstein), eapi bump, use 
readme.gentoo eclass

Package-Manager: portage-2.3.0

 net-dialup/wvdial/files/wvdial-1.61-destdir.patch |  8 ++--
 net-dialup/wvdial/wvdial-1.61.ebuild              | 46 ++++++++++++-----------
 2 files changed, 28 insertions(+), 26 deletions(-)

diff --git a/net-dialup/wvdial/files/wvdial-1.61-destdir.patch 
b/net-dialup/wvdial/files/wvdial-1.61-destdir.patch
index 61f8cf7..ceea400 100644
--- a/net-dialup/wvdial/files/wvdial-1.61-destdir.patch
+++ b/net-dialup/wvdial/files/wvdial-1.61-destdir.patch
@@ -1,6 +1,6 @@
 === modified file 'Makefile.in'
---- Makefile.in        2010-05-27 13:08:26 +0000
-+++ Makefile.in        2010-05-27 13:08:41 +0000
+--- a/Makefile.in      2010-05-27 13:08:26 +0000
++++ b/Makefile.in      2010-05-27 13:08:41 +0000
 @@ -3,7 +3,7 @@
  WVPACKAGE_TARNAME=@PACKAGE_TARNAME@
  WVPACKAGE_VERSION=@PACKAGE_VERSION@
@@ -21,8 +21,8 @@
  
 
 === modified file 'config.defaults.mk'
---- config.defaults.mk 2010-05-27 13:08:26 +0000
-+++ config.defaults.mk 2010-05-27 13:43:03 +0000
+--- a/config.defaults.mk       2010-05-27 13:08:26 +0000
++++ b/config.defaults.mk       2010-05-27 13:43:03 +0000
 @@ -13,7 +13,7 @@
  LIBS_PAM=-lpam
  LIBS_TCL=

diff --git a/net-dialup/wvdial/wvdial-1.61.ebuild 
b/net-dialup/wvdial/wvdial-1.61.ebuild
index 0966c4f..f86fb4d 100644
--- a/net-dialup/wvdial/wvdial-1.61.ebuild
+++ b/net-dialup/wvdial/wvdial-1.61.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="3"
-
-inherit eutils
+EAPI=6
+inherit readme.gentoo-r1
 
 DESCRIPTION="Excellent program to automatically configure PPP sessions"
-HOMEPAGE="http://alumnit.ca/wiki/?WvDial";
+HOMEPAGE="https://code.google.com/archive/p/wvstreams/";
 SRC_URI="https://wvstreams.googlecode.com/files/${P}.tar.gz";
 
 LICENSE="LGPL-2"
@@ -17,31 +16,34 @@ IUSE=""
 
 COMMON_DEPEND=">=net-libs/wvstreams-4.4"
 DEPEND="${COMMON_DEPEND}
-       virtual/pkgconfig"
+       virtual/pkgconfig
+"
 RDEPEND="${COMMON_DEPEND}
-       net-dialup/ppp"
-
-src_prepare() {
-       epatch "${FILESDIR}/${P}-destdir.patch"
-       epatch "${FILESDIR}/${P}-as-needed.patch"
-       epatch "${FILESDIR}/${P}-parallel-make.patch"
-}
-
+       net-dialup/ppp:=
+"
+
+PATCHES=(
+       "${FILESDIR}/${P}-destdir.patch"
+       "${FILESDIR}/${P}-as-needed.patch"
+       "${FILESDIR}/${P}-parallel-make.patch"
+)
+
+DOC_CONTENTS="
+       Use wvdialconf to automagically generate a configuration file.
+       Users have to be member of the dialout AND the uucp group to use
+       wvdial
+"
+       
 src_configure() {
        # Hand made configure...
        ./configure || die
 }
 
 src_install() {
-       emake "DESTDIR=${ED}" install || die "make install failed"
-       dodoc CHANGES FAQ MENUS README TODO || die
+       default
+       readme.gentoo_create_doc
 }
 
 pkg_postinst() {
-       elog
-       elog "Use wvdialconf to automagically generate a configuration file."
-       elog
-       elog "Users have to be member of the dialout AND the uucp group"
-       elog "to use wvdial!"
-       elog
+       readme.gentoo_print_elog
 }

Reply via email to