Initial revision. Closes #8745.
authorArcady Genkin <agenkin@gentoo.org>
Sat, 2 Nov 2002 07:22:01 +0000 (07:22 +0000)
committerArcady Genkin <agenkin@gentoo.org>
Sat, 2 Nov 2002 07:22:01 +0000 (07:22 +0000)
app-i18n/manpages-ru/ChangeLog [new file with mode: 0644]
app-i18n/manpages-ru/files/digest-manpages-ru-0.7 [new file with mode: 0644]
app-i18n/manpages-ru/files/manpages-ru-0.7-gentoo.diff [new file with mode: 0644]
app-i18n/manpages-ru/manpages-ru-0.7.ebuild [new file with mode: 0644]

diff --git a/app-i18n/manpages-ru/ChangeLog b/app-i18n/manpages-ru/ChangeLog
new file mode 100644 (file)
index 0000000..efd77a9
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for app-i18n/manpages-ru
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ru/ChangeLog,v 1.1 2002/11/02 07:22:01 agenkin Exp $
+
+*manpages-ru-0.7 (02 Nov 2002)
+
+  02 Nov 2002; Arcady Genkin <agenkin@gentoo.org> manpages-ru-0.7.ebuild :
+
+  Initial version, submitted by R.a E <raer@mail.ru>.
\ No newline at end of file
diff --git a/app-i18n/manpages-ru/files/digest-manpages-ru-0.7 b/app-i18n/manpages-ru/files/digest-manpages-ru-0.7
new file mode 100644 (file)
index 0000000..82a8622
--- /dev/null
@@ -0,0 +1 @@
+MD5 bfd5a8f20a12b994e19cfca0c4a21249 man-pages-ru-0.7.tar.gz 234021
diff --git a/app-i18n/manpages-ru/files/manpages-ru-0.7-gentoo.diff b/app-i18n/manpages-ru/files/manpages-ru-0.7-gentoo.diff
new file mode 100644 (file)
index 0000000..595919c
--- /dev/null
@@ -0,0 +1,26 @@
+diff -ur manpages-ru-0.7.orig/Makefile manpages-ru-0.7/Makefile
+--- manpages-ru-0.7.orig/Makefile      2002-10-04 14:33:20.000000000 +0300
++++ manpages-ru-0.7/Makefile   2002-10-04 14:24:10.000000000 +0300
+@@ -44,18 +44,18 @@
+ 
+ all:
+       for d in 1 2 3 4 5 6 7 8; do \
+-              make -C man$$d all; \
++              if [ -f man$$d/[Mm]akefile ] ; then make -C man$$d all; fi \
+       done
+ 
+ clean:
+       for d in 1 2 3 4 5 6 7 8; do \
+-              make -C man$$d clean; \
++              if [ -f man$$d/[Mm]akefile ] ; then make -C man$$d clean; fi \
+       done
+ 
+ install: install-pages install-aliases
+ 
+ install-pages:
+-      [ -d $(INSTALLPATH) ] || mkdir $(INSTALLPATH)
++      [ -d $(INSTALLPATH) ] || mkdir -p $(INSTALLPATH)
+       [ -d $(INSTALLPATH)/$(LANG_SUBDIR) ] || mkdir $(INSTALLPATH)/$(LANG_SUBDIR)
+       if [ x$(COMPRESS) != xgzip -a \
+            x$(COMPRESS) != xbzip2 -a \
+
diff --git a/app-i18n/manpages-ru/manpages-ru-0.7.ebuild b/app-i18n/manpages-ru/manpages-ru-0.7.ebuild
new file mode 100644 (file)
index 0000000..deba5af
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/manpages-ru/manpages-ru-0.7.ebuild,v 1.1 2002/11/02 07:22:01 agenkin Exp $
+
+DESCRIPTION="A ollection of Russian translations of Linux manual pages."
+HOMEPAGE="http://alexm.here.ru/manpages-ru/"
+LICENSE="GPL-2"
+
+DEPEND=""
+RDEPEND="sys-apps/man"
+
+KEYWORDS="x86 ppc"
+SLOT="0"
+
+SRC_URI="ftp://ftp.win.tue.nl/pub/linux-local/manpages/translations/man-pages-ru-${PV}.tar.gz"
+S=${WORKDIR}/${P}
+
+src_unpack() {
+       unpack ${A}
+       patch -p0 < ${FILESDIR}/${P}-gentoo.diff || die
+}
+
+src_compile() {
+       make || die
+}
+               
+src_install() {
+       make INSTALLPATH=${D}/usr/share/man LANG_SUBDIR=ru install || die
+}