summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/man-pages-fr/man-pages-fr-3.22.1.ebuild')
-rw-r--r--app-i18n/man-pages-fr/man-pages-fr-3.22.1.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/app-i18n/man-pages-fr/man-pages-fr-3.22.1.ebuild b/app-i18n/man-pages-fr/man-pages-fr-3.22.1.ebuild
new file mode 100644
index 0000000..189e4c6
--- /dev/null
+++ b/app-i18n/man-pages-fr/man-pages-fr-3.22.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+MY_PN=${PN/-}
+MY_P=${MY_PN}_${PV}
+PATCH_LEVEL=3
+
+DESCRIPTION="A collection of french Linux man pages"
+HOMEPAGE="http://packages.debian.org"
+SRC_URI="mirror://debian/pool/main/m/${MY_PN}/${MY_P}.orig.tar.gz
+ mirror://debian/pool/main/m/${MY_PN}/${MY_P}-${PATCH_LEVEL}.diff.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="virtual/man"
+DEPEND="sys-devel/gettext
+ dev-lang/perl
+ app-text/po4a"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_unpack() {
+ unpack ${A}
+ mkdir "${S}"
+ cd "${S}"
+ mv ../{manpages,manpages-dev} .
+ epatch "${WORKDIR}/${MY_P}-${PATCH_LEVEL}.diff"
+}
+src_install() {
+ doman $(echo {manpages,manpages-dev}/fr/*/*) || die "doman 1 failed"
+ doman $(echo manpagesfr/*/*) || die "doman 2 failed"
+}