summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2012-05-19 10:35:42 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2012-05-19 10:35:42 +0000
commit1873496a5be5e4e120c4bf111ab094ee14ca318b (patch)
tree6bf0e04b729e98c1b885329191f57a4a4fa024a3 /app-i18n/man-pages-pl
parentdelete the wrong sed phrase. (diff)
downloadgentoo-2-1873496a5be5e4e120c4bf111ab094ee14ca318b.tar.gz
gentoo-2-1873496a5be5e4e120c4bf111ab094ee14ca318b.tar.bz2
gentoo-2-1873496a5be5e4e120c4bf111ab094ee14ca318b.zip
Version bump, project has new home page and new maintainers. Remove old version.
(Portage version: 2.1.10.58/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/man-pages-pl')
-rw-r--r--app-i18n/man-pages-pl/ChangeLog9
-rw-r--r--app-i18n/man-pages-pl/man-pages-pl-0.2.ebuild32
-rw-r--r--app-i18n/man-pages-pl/man-pages-pl-20070628.ebuild48
3 files changed, 40 insertions, 49 deletions
diff --git a/app-i18n/man-pages-pl/ChangeLog b/app-i18n/man-pages-pl/ChangeLog
index 73611932342e..4bd08ee937b6 100644
--- a/app-i18n/man-pages-pl/ChangeLog
+++ b/app-i18n/man-pages-pl/ChangeLog
@@ -1,6 +1,13 @@
# 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.25 2012/04/25 16:09:36 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-pl/ChangeLog,v 1.26 2012/05/19 10:35:42 nelchael Exp $
+
+*man-pages-pl-0.2 (19 May 2012)
+
+ 19 May 2012; Krzysztof Pawlik <nelchael@gentoo.org> +man-pages-pl-0.2.ebuild,
+ -man-pages-pl-20070628.ebuild:
+ Version bump, project has new home page and new maintainers. Remove old
+ version.
25 Apr 2012; Justin Lecher <jlec@gentoo.org> man-pages-pl-20070628.ebuild,
man-pages-pl-20070628-r1.ebuild:
diff --git a/app-i18n/man-pages-pl/man-pages-pl-0.2.ebuild b/app-i18n/man-pages-pl/man-pages-pl-0.2.ebuild
new file mode 100644
index 000000000000..2ff1e1952180
--- /dev/null
+++ b/app-i18n/man-pages-pl/man-pages-pl-0.2.ebuild
@@ -0,0 +1,32 @@
+# 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-0.2.ebuild,v 1.1 2012/05/19 10:35:42 nelchael Exp $
+
+EAPI=4
+
+MY_PN="${PN/-/}"
+
+DESCRIPTION="A collection of Polish translations of Linux manual pages."
+HOMEPAGE="https://sourceforge.net/projects/manpages-pl/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
+
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+DOCS=(AUTHORS CHANGELOG README)
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+ man_pages_from_other_packesg="chfn.1 groups.1 login.1 su.1"
+ for man_page in ${man_pages_from_other_packesg}; do
+ find "${S}" -name "${man_page}" -exec rm -fv {} \;
+ done
+
+ sed -i -e 's,gzip,:,g' "${S}/Makefile" || die
+}
diff --git a/app-i18n/man-pages-pl/man-pages-pl-20070628.ebuild b/app-i18n/man-pages-pl/man-pages-pl-20070628.ebuild
deleted file mode 100644
index 698dae3232af..000000000000
--- a/app-i18n/man-pages-pl/man-pages-pl-20070628.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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.ebuild,v 1.6 2012/04/25 16:09:36 jlec 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"
- for page in ${mans} ; do
- sed -i -e "/\\t${page}/ d" man${page: -1}/Makefile.am
- done
-
- eautoreconf
-}
-
-src_compile() {
- econf
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog FAQ NEWS README TODO
-}