diff options
author | Michael Januszewski <spock@gentoo.org> | 2007-07-16 22:57:28 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2007-07-16 22:57:28 +0000 |
commit | a6d75b2a0407d8d191e0eabb1471161b703f51b9 (patch) | |
tree | ec6c46f787b8e1d1ed27c15529498602aca9b9fa /app-i18n/man-pages-pl/man-pages-pl-20070628.ebuild | |
parent | Stable for HPPA (bug #183520). (diff) | |
download | gentoo-2-a6d75b2a0407d8d191e0eabb1471161b703f51b9.tar.gz gentoo-2-a6d75b2a0407d8d191e0eabb1471161b703f51b9.tar.bz2 gentoo-2-a6d75b2a0407d8d191e0eabb1471161b703f51b9.zip |
Version bump (bug #185319).
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'app-i18n/man-pages-pl/man-pages-pl-20070628.ebuild')
-rw-r--r-- | app-i18n/man-pages-pl/man-pages-pl-20070628.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-i18n/man-pages-pl/man-pages-pl-20070628.ebuild b/app-i18n/man-pages-pl/man-pages-pl-20070628.ebuild new file mode 100644 index 000000000000..82bdd2113ef9 --- /dev/null +++ b/app-i18n/man-pages-pl/man-pages-pl-20070628.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 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.1 2007/07/16 22:57:28 spock Exp $ + +DESCRIPTION="A collection of Polish translations of Linux manual pages." +HOMEPAGE="http://ptm.linux.pl/" +SRC_URI="http://ptm.linux.pl/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 +} + +src_compile() { + ./autogen.sh \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + || die "./configure failed" + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog FAQ NEWS README TODO +} |