Install all manpages into man6 to avoid clobbering the real manpages #107992.
authorMike Frysinger <vapier@gentoo.org>
Mon, 3 Oct 2005 21:44:09 +0000 (21:44 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 3 Oct 2005 21:44:09 +0000 (21:44 +0000)
Package-Manager: portage-2.0.51.22-r2

games-misc/funny-manpages/ChangeLog
games-misc/funny-manpages/Manifest
games-misc/funny-manpages/files/digest-funny-manpages-1.3_rc5-r1 [moved from games-misc/funny-manpages/files/digest-funny-manpages-1.3_rc5 with 100% similarity]
games-misc/funny-manpages/funny-manpages-1.3_rc5-r1.ebuild [moved from games-misc/funny-manpages/funny-manpages-1.3_rc5.ebuild with 73% similarity]

index 768000c3b73925a3b771907815e5bcb4c50eaee0..8b29b485409642c50fffd72e21866df566a9b33a 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for games-misc/funny-manpages
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/funny-manpages/ChangeLog,v 1.7 2004/12/20 14:55:36 absinthe Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/funny-manpages/ChangeLog,v 1.8 2005/10/03 21:44:09 vapier Exp $
+
+*funny-manpages-1.3_rc5-r1 (03 Oct 2005)
+
+  03 Oct 2005; Mike Frysinger <vapier@gentoo.org>
+  -funny-manpages-1.3_rc5.ebuild, +funny-manpages-1.3_rc5-r1.ebuild:
+  Install all manpages into man6 to avoid clobbering the real manpages #107992.
 
   20 Dec 2004; Dylan Carlson <absinthe@gentoo.org> :
   Keywords amd64.
index f46849fa5a7fc3be0e8cb258a78d45fd48a7ce78..269fd26aeb72e4f04ee85f83bb739afd46fb932a 100644 (file)
@@ -1,14 +1,14 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
+MD5 f8fb5796120ab058c8faf97bdee72f8f funny-manpages-1.3_rc5-r1.ebuild 888
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 342bb4411383c59941f86a4b85b7d137 funny-manpages-1.3_rc5.ebuild 787
-MD5 ece0c06f6dc61f92524239ede6f3e66e ChangeLog 825
-MD5 d8e3e4aa04aaf6a41f8e35a6750a073c files/digest-funny-manpages-1.3_rc5 145
+MD5 d533623e206f7f7f12436ef589990d42 ChangeLog 1065
+MD5 d8e3e4aa04aaf6a41f8e35a6750a073c files/digest-funny-manpages-1.3_rc5-r1 145
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDGVR7gIKl8Uu19MoRAkEYAJsHJ9j2YPsm4PYDnic5aPKqQu9bVQCbBFEk
-lL7iKeVHY0b11vrFEGIcQiM=
-=0AXi
+iD8DBQFDQaZ7gIKl8Uu19MoRAgtiAJ0WwFLGJ3qM/2dnEiFTVklM2OEjlwCff29t
+KjoKrHY6jwna032Miyb9tkU=
+=mZvL
 -----END PGP SIGNATURE-----
similarity index 73%
rename from games-misc/funny-manpages/funny-manpages-1.3_rc5.ebuild
rename to games-misc/funny-manpages/funny-manpages-1.3_rc5-r1.ebuild
index a5211cab82b3fea84ef0a5e8a1d3b4574284feb5..e2a7b867fcf0d93f5f0061758fbcf7c0abb20e20 100644 (file)
@@ -1,11 +1,11 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/funny-manpages/funny-manpages-1.3_rc5.ebuild,v 1.6 2005/09/03 07:44:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/funny-manpages/funny-manpages-1.3_rc5-r1.ebuild,v 1.1 2005/10/03 21:44:09 vapier Exp $
 
 inherit eutils
 
-MY_R="5"
-MY_P="${PN}_${PV/_rc?/}"
+MY_R=${PV:0-1}
+MY_P=${PN}_${PV/_rc?/}
 DESCRIPTION="funny manpages collected from various sources"
 HOMEPAGE="http://debian.org/"
 SRC_URI="mirror://debian/pool/main/f/funny-manpages/${MY_P}.orig.tar.gz
@@ -23,9 +23,13 @@ S=${WORKDIR}/${MY_P/_/-}.orig
 src_unpack() {
        unpack ${A}
        epatch ${MY_P}-${MY_R}.diff
+
+       cd "${S}"
+       for f in *.[0-57-9]fun ; do
+               mv ${f} ${f/.?fun/.6fun} || die "renaming ${f} failed"
+       done
 }
 
 src_install() {
-       rm -rf debian
-       doman * || die
+       doman *.6fun || die
 }