summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-03-08 10:43:50 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-03-08 10:43:50 +0100
commit3b4f4bcf42427a4074655d9c9d1c46c70d187e2c (patch)
tree6973d1cf9365eac6e7d5838e2207abd840ae92dd /games-misc
parentdev-libs/libinput: Removed old. (diff)
downloadgentoo-3b4f4bcf42427a4074655d9c9d1c46c70d187e2c.tar.gz
gentoo-3b4f4bcf42427a4074655d9c9d1c46c70d187e2c.tar.bz2
gentoo-3b4f4bcf42427a4074655d9c9d1c46c70d187e2c.zip
games-misc/funny-manpages: Bump to version 2.3
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/funny-manpages/Manifest1
-rw-r--r--games-misc/funny-manpages/funny-manpages-2.3.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/games-misc/funny-manpages/Manifest b/games-misc/funny-manpages/Manifest
index b6f77b8de8b3..e18a3bd40f8a 100644
--- a/games-misc/funny-manpages/Manifest
+++ b/games-misc/funny-manpages/Manifest
@@ -1,2 +1,3 @@
DIST funny-manpages_1.3-5.diff.gz 2639 BLAKE2B 2234a963be3292e33fadeb12213b11a6a9b81157f60c505df3e9d097cc99cb90a5b180bc1b64636d423a04d44a67fdd2ea8478ac83ce984f6a799896e2251036 SHA512 69110989da9071321a8d8e9ea4f09bd7635704caeaccbdbf7fb2fb1abd540632f19d63d15de3232fabbc35e76dfe2eefb64ce84b6f4606d8dbe581e15f83d24c
DIST funny-manpages_1.3.orig.tar.gz 22691 BLAKE2B 2b54879992a3c9254e39b175adb060cbcf0ad65597454659fe66bb694ba5be70e97a3e7356ec79d6cd42cfc64f1b5adffd8328edc200a79987687a1227328bc8 SHA512 83c753540d9a9829017246f4a9de22ba09965fa5b8af8276f55ef141129876ca3e641b367ebc31ca99301f37a56132c07eee1ebc9616c954a2e84387fe62383d
+DIST funny-manpages_2.3.orig.tar.gz 23949 BLAKE2B 27f3dc4f548b6012c6830d303980c6871c0079cd123b706bdda75cdc49c90e66171a096b24ef3ba448f3d8e0c6a48f316b8c2783cfa6cc0087ef755311bb5ac3 SHA512 7920e9a62972f8ea0649b50d0b108936a6e0a5d5b68baccadded4999d0219af3f4685349dd881aded9e762e0d1f00575f382d155db0969f7e51a4a1963f0519e
diff --git a/games-misc/funny-manpages/funny-manpages-2.3.ebuild b/games-misc/funny-manpages/funny-manpages-2.3.ebuild
new file mode 100644
index 000000000000..3e8d108bf0bd
--- /dev/null
+++ b/games-misc/funny-manpages/funny-manpages-2.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_R="${PV:0-1}"
+MY_P="${PN}_${PV/_p?/}"
+DESCRIPTION="funny manpages collected from various sources"
+HOMEPAGE="https://debian.org/"
+SRC_URI="mirror://debian/pool/main/f/funny-manpages/${MY_P}.orig.tar.gz"
+
+if [[ "${PV}" = *_p* ]] ; then
+ SRC_URI+=" mirror://debian/pool/main/f/funny-manpages/${MY_P}-${MY_R}.diff.gz"
+fi
+
+LICENSE="freedist" #465704
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~m68k ~mips ~ppc64 ~s390 ~sh ~x86"
+IUSE=""
+
+RDEPEND="virtual/man"
+
+S="${WORKDIR}/${PN}/man"
+
+src_prepare() {
+ if [[ "${PV}" = *_p* ]] ; then
+ eapply "${WORKDIR}"/${MY_P}-${MY_R}.diff
+ fi
+
+ eapply_user
+
+ for f in *.[0-57-9]fun ; do
+ mv ${f} ${f/.?fun/.6fun} || die "renaming ${f} failed"
+ done
+}
+
+src_install() {
+ doman *.6fun
+}