naota       14/07/08 00:46:30

  Modified:             ng-1.5_beta1-r1.ebuild ChangeLog
  Log:
  Use eautoconf #515410. Updated to EAPI=5
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
F8551514)

Revision  Changes    Path
1.4                  app-editors/ng/ng-1.5_beta1-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ng/ng-1.5_beta1-r1.ebuild?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ng/ng-1.5_beta1-r1.ebuild?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ng/ng-1.5_beta1-r1.ebuild?r1=1.3&r2=1.4

Index: ng-1.5_beta1-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-editors/ng/ng-1.5_beta1-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ng-1.5_beta1-r1.ebuild      10 Jul 2011 16:40:38 -0000      1.3
+++ ng-1.5_beta1-r1.ebuild      8 Jul 2014 00:46:30 -0000       1.4
@@ -1,8 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/ng/ng-1.5_beta1-r1.ebuild,v 1.3 
2011/07/10 16:40:38 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ng/ng-1.5_beta1-r1.ebuild,v 1.4 
2014/07/08 00:46:30 naota Exp $
 
-inherit eutils
+EAPI=5
+
+inherit eutils autotools
 
 MY_P="${P/_beta/beta}"
 
@@ -23,23 +25,27 @@
 
 S="${WORKDIR}/${MY_P}"
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
+src_prepare() {
        epatch "${FILESDIR}/${MY_P}-ncurses.patch"
        epatch "${FILESDIR}/${MY_P}-configure.patch"
        sed -i -e "/NO_BACKUP/s/undef/define/" config.h || die "sed failed"
 
-       autoconf sys/unix/configure.in > configure
+       pushd sys/unix || die
+       eautoconf
+       popd
+       cp sys/unix/configure . || die
+}
+
+src_configure() {
+       econf $(use_enable canna)
 }
 
 src_compile() {
-       econf $(use_enable canna) || die
-       emake CC="$(tc-getCC)" || die
+       emake CC="$(tc-getCC)"
 }
 
 src_install() {
-       dobin ng || die
+       dobin ng
        dodoc docs/* MANIFEST dot.ng
 
        insinto /usr/share/ng



1.14                 app-editors/ng/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ng/ChangeLog?rev=1.14&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ng/ChangeLog?rev=1.14&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ng/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-editors/ng/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog   10 Jul 2011 16:40:38 -0000      1.13
+++ ChangeLog   8 Jul 2014 00:46:30 -0000       1.14
@@ -1,6 +1,9 @@
 # ChangeLog for app-editors/ng
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/ng/ChangeLog,v 1.13 2011/07/10 
16:40:38 naota Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ng/ChangeLog,v 1.14 2014/07/08 
00:46:30 naota Exp $
+
+  08 Jul 2014; Naohiro Aota <na...@gentoo.org> ng-1.5_beta1-r1.ebuild:
+  Use eautoconf #515410. Updated to EAPI=5
 
   10 Jul 2011; Naohiro Aota <na...@gentoo.org> ng-1.5_beta1-r1.ebuild,
   +files/ng-1.5beta1-configure.patch:




Reply via email to