diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-07-08 21:07:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-07-08 21:07:27 +0000 |
commit | 8640adee14b5c396b0dd13cfbc42b8bd3e971ac2 (patch) | |
tree | 96131a9f2c26a2f5526b2250a070f7520c2b52e9 /sys-apps/man-pages | |
parent | old (diff) | |
download | gentoo-2-8640adee14b5c396b0dd13cfbc42b8bd3e971ac2.tar.gz gentoo-2-8640adee14b5c396b0dd13cfbc42b8bd3e971ac2.tar.bz2 gentoo-2-8640adee14b5c396b0dd13cfbc42b8bd3e971ac2.zip |
Fix install path #184600.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'sys-apps/man-pages')
-rw-r--r-- | sys-apps/man-pages/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/man-pages/files/digest-man-pages-2.61-r1 | 3 | ||||
-rw-r--r-- | sys-apps/man-pages/files/man-pages-2.61-DESTDIR.patch | 25 | ||||
-rw-r--r-- | sys-apps/man-pages/man-pages-2.61-r1.ebuild | 50 |
4 files changed, 85 insertions, 1 deletions
diff --git a/sys-apps/man-pages/ChangeLog b/sys-apps/man-pages/ChangeLog index 8a93132fc610..a8dcc85c3e02 100644 --- a/sys-apps/man-pages/ChangeLog +++ b/sys-apps/man-pages/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/man-pages # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-pages/ChangeLog,v 1.89 2007/07/07 17:34:56 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-pages/ChangeLog,v 1.90 2007/07/08 21:07:27 vapier Exp $ + +*man-pages-2.61-r1 (08 Jul 2007) + + 08 Jul 2007; Mike Frysinger <vapier@gentoo.org> + +files/man-pages-2.61-DESTDIR.patch, +man-pages-2.61-r1.ebuild: + Fix install path #184600. *man-pages-2.61 (07 Jul 2007) diff --git a/sys-apps/man-pages/files/digest-man-pages-2.61-r1 b/sys-apps/man-pages/files/digest-man-pages-2.61-r1 new file mode 100644 index 000000000000..8f18f1a49973 --- /dev/null +++ b/sys-apps/man-pages/files/digest-man-pages-2.61-r1 @@ -0,0 +1,3 @@ +MD5 aa55d60622c4ce6510b8a064e07464c3 man-pages-2.61.tar.bz2 1832855 +RMD160 b8e037015d598bac17b91d47bf989ef1a58ab79d man-pages-2.61.tar.bz2 1832855 +SHA256 a697fdb5693d58ba55a27e25c2a439651503dcb159d7f2477815eeb406d797f2 man-pages-2.61.tar.bz2 1832855 diff --git a/sys-apps/man-pages/files/man-pages-2.61-DESTDIR.patch b/sys-apps/man-pages/files/man-pages-2.61-DESTDIR.patch new file mode 100644 index 000000000000..63e5754f9ead --- /dev/null +++ b/sys-apps/man-pages/files/man-pages-2.61-DESTDIR.patch @@ -0,0 +1,25 @@ +--- Makefile ++++ Makefile +@@ -3,6 +3,7 @@ + # Do "make install" to copy the pages to their destination. + # Do "make gz" or "make bz2" first if you use compressed source pages. + ++DESTDIR= + prefix?=/usr + MANDIR=$(prefix)/share/man + +@@ -48,11 +49,11 @@ + done; \ + done; fi + +-README=$(MANDIR)/man1/README ++README=$(DESTDIR)$(MANDIR)/man1/README + install: + for i in man? man??; do \ +- install -d -m 755 $(MANDIR)/"$$i"; \ +- install -m 644 "$$i"/* $(MANDIR)/"$$i"; \ ++ install -d -m 755 $(DESTDIR)$(MANDIR)/"$$i" || exit $$?; \ ++ install -m 644 "$$i"/* $(DESTDIR)$(MANDIR)/"$$i" || exit $$?; \ + done; \ + rm -f $(README) $(README).gz $(README).bz2 + diff --git a/sys-apps/man-pages/man-pages-2.61-r1.ebuild b/sys-apps/man-pages/man-pages-2.61-r1.ebuild new file mode 100644 index 000000000000..c2d53aaf7aab --- /dev/null +++ b/sys-apps/man-pages/man-pages-2.61-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-pages/man-pages-2.61-r1.ebuild,v 1.1 2007/07/08 21:07:27 vapier Exp $ + +inherit eutils + +DESCRIPTION="A somewhat comprehensive collection of Linux man pages" +HOMEPAGE="http://www.win.tue.nl/~aeb/linux/man/" +SRC_URI="mirror://kernel/linux/docs/manpages/${P}.tar.bz2" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="nls" + +RDEPEND="virtual/man" +PDEPEND="nls? ( + linguas_cs? ( app-i18n/man-pages-cs ) + linguas_da? ( app-i18n/man-pages-da ) + linguas_de? ( app-i18n/man-pages-de ) + linguas_es? ( app-i18n/man-pages-es ) + linguas_fr? ( app-i18n/man-pages-fr ) + linguas_it? ( app-i18n/man-pages-it ) + linguas_ja? ( app-i18n/man-pages-ja ) + linguas_nl? ( app-i18n/man-pages-nl ) + linguas_pl? ( app-i18n/man-pages-pl ) + linguas_ro? ( app-i18n/man-pages-ro ) + linguas_ru? ( app-i18n/man-pages-ru ) + linguas_zh_CN? ( app-i18n/man-pages-zh_CN ) + )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-2.08-updates.patch + epatch "${FILESDIR}"/${PN}-2.61-DESTDIR.patch +} + +src_compile() { :; } + +src_install() { + emake install DESTDIR="${D}" || die + dodoc man-pages-*.Announce README Changes* HOWTOHELP +} + +pkg_postinst() { + einfo "If you don't have a makewhatis cronjob, then you" + einfo "should update the whatis database yourself:" + einfo " # makewhatis -u" +} |