summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2012-02-13 17:55:08 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2012-02-13 17:55:08 +0000
commit38e0b1df713841c7a5d9b071470fc6ca9e741e98 (patch)
treeb29af92612d361c4f34586d427298670bdb6650b /app-i18n/man-pages-pl
parentDon't add anacron to cron.daily (diff)
downloadgentoo-2-38e0b1df713841c7a5d9b071470fc6ca9e741e98.tar.gz
gentoo-2-38e0b1df713841c7a5d9b071470fc6ca9e741e98.tar.bz2
gentoo-2-38e0b1df713841c7a5d9b071470fc6ca9e741e98.zip
Do not install shadow.3 man page, see bug #403379.
(Portage version: 2.1.10.45/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/man-pages-pl')
-rw-r--r--app-i18n/man-pages-pl/ChangeLog8
-rw-r--r--app-i18n/man-pages-pl/man-pages-pl-20070628-r2.ebuild52
2 files changed, 59 insertions, 1 deletions
diff --git a/app-i18n/man-pages-pl/ChangeLog b/app-i18n/man-pages-pl/ChangeLog
index 9e49eaf8aaa1..13a9c243e45f 100644
--- a/app-i18n/man-pages-pl/ChangeLog
+++ b/app-i18n/man-pages-pl/ChangeLog
@@ -1,6 +1,12 @@
# 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.19 2012/02/09 01:20:53 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-pl/ChangeLog,v 1.20 2012/02/13 17:55:08 nelchael Exp $
+
+*man-pages-pl-20070628-r2 (13 Feb 2012)
+
+ 13 Feb 2012; Krzysztof Pawlik <nelchael@gentoo.org>
+ +man-pages-pl-20070628-r2.ebuild:
+ Do not install shadow.3 man page, see bug #403379.
09 Feb 2012; Jeroen Roovers <jer@gentoo.org> man-pages-pl-20070628-r1.ebuild:
Stable for HPPA (bug #399935).
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
new file mode 100644
index 000000000000..c4fab4b4287a
--- /dev/null
+++ b/app-i18n/man-pages-pl/man-pages-pl-20070628-r2.ebuild
@@ -0,0 +1,52 @@
+# 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 $
+
+inherit autotools
+
+DESCRIPTION="A collection of Polish translations of Linux manual pages."
+HOMEPAGE="http://www.batnet.pl/ptm/"
+SRC_URI="http://www.batnet.pl/ptm/man-PL${PV:6:2}-${PV:4:2}-${PV:0:4}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+S="${WORKDIR}/pl_PL"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # missing manpages
+ sed -i -e '/\tpasswd.1/ d' man1/Makefile.am
+
+ # manpages provided by other packages
+ mans="gendiff.1 groups.1 apropos.1 man.1 su.1 newgrp.1 whatis.1 gpasswd.1 chsh.1 \
+ chfn.1 limits.5 login.1 expiry.1 porttime.5 lastlog.8 faillog.8 logoutd.8 \
+ rpm.8 rpmdeps.8 rpmbuild.8 rpmcache.8 rpmgraph.8 rpm2cpio.8 evim.1 vim.1 \
+ vimdiff.1 vimtutor.1 ex.1 rview.1 rvim.1 view.1 suauth.5 mc.1"
+ # bug #375623:
+ mans="${mans} manpath.5 catman.8 mandb.8 zsoelim.1 manpath.1"
+ # bug #403379:
+ mans="${mans} shadow.3"
+ for page in ${mans} ; do
+ sed -i -e "/\\t${page}/d; \$s,\\\,,;" man${page: -1}/Makefile.am
+ done
+
+ eautoreconf || die
+}
+
+src_compile() {
+ econf || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog FAQ NEWS README TODO
+}