summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2012-02-23 23:05:59 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2012-02-23 23:05:59 +0000
commit38bad7f299f185fc943c341710e4210061d678f4 (patch)
tree3f10061c45f981c5543e9d2b2b68783bda0a6307 /app-i18n/man-pages-pl
parentMake patch application work again, see bug 404269 (diff)
downloadgentoo-2-38bad7f299f185fc943c341710e4210061d678f4.tar.gz
gentoo-2-38bad7f299f185fc943c341710e4210061d678f4.tar.bz2
gentoo-2-38bad7f299f185fc943c341710e4210061d678f4.zip
Improve ebuild, patch by Agostino Sarubbo, see bug #401159.
(Portage version: 2.1.10.47/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/man-pages-pl')
-rw-r--r--app-i18n/man-pages-pl/ChangeLog6
-rw-r--r--app-i18n/man-pages-pl/man-pages-pl-20070628-r2.ebuild27
2 files changed, 14 insertions, 19 deletions
diff --git a/app-i18n/man-pages-pl/ChangeLog b/app-i18n/man-pages-pl/ChangeLog
index cd01d0654671..58a1c0e35966 100644
--- a/app-i18n/man-pages-pl/ChangeLog
+++ b/app-i18n/man-pages-pl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-i18n/man-pages-pl
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-pl/ChangeLog,v 1.21 2012/02/16 17:54:07 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-pl/ChangeLog,v 1.22 2012/02/23 23:05:59 nelchael Exp $
+
+ 23 Feb 2012; Krzysztof Pawlik <nelchael@gentoo.org>
+ man-pages-pl-20070628-r2.ebuild:
+ Improve ebuild, patch by Agostino Sarubbo, see bug #401159.
16 Feb 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
man-pages-pl-20070628-r1.ebuild:
diff --git a/app-i18n/man-pages-pl/man-pages-pl-20070628-r2.ebuild b/app-i18n/man-pages-pl/man-pages-pl-20070628-r2.ebuild
index c4fab4b4287a..2d31df65c0b2 100644
--- a/app-i18n/man-pages-pl/man-pages-pl-20070628-r2.ebuild
+++ b/app-i18n/man-pages-pl/man-pages-pl-20070628-r2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-pl/man-pages-pl-20070628-r2.ebuild,v 1.1 2012/02/13 17:55:08 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-pl/man-pages-pl-20070628-r2.ebuild,v 1.2 2012/02/23 23:05:59 nelchael Exp $
+
+EAPI=4
inherit autotools
@@ -16,14 +18,13 @@ IUSE=""
RDEPEND=""
DEPEND=""
-S="${WORKDIR}/pl_PL"
+DOCS=(AUTHORS ChangeLog FAQ NEWS README TODO)
-src_unpack() {
- unpack ${A}
- cd "${S}"
+S="${WORKDIR}/pl_PL"
+src_prepare() {
# missing manpages
- sed -i -e '/\tpasswd.1/ d' man1/Makefile.am
+ sed -i -e '/\tpasswd.1/ d' man1/Makefile.am || die
# manpages provided by other packages
mans="gendiff.1 groups.1 apropos.1 man.1 su.1 newgrp.1 whatis.1 gpasswd.1 chsh.1 \
@@ -35,18 +36,8 @@ src_unpack() {
# bug #403379:
mans="${mans} shadow.3"
for page in ${mans} ; do
- sed -i -e "/\\t${page}/d; \$s,\\\,,;" man${page: -1}/Makefile.am
+ sed -i -e "/\\t${page}/d; \$s,\\\,,;" man${page: -1}/Makefile.am || die
done
- eautoreconf || die
-}
-
-src_compile() {
- econf || die
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog FAQ NEWS README TODO
+ eautoreconf
}