summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-14 07:30:12 +0100
committerSam James <sam@gentoo.org>2022-04-14 07:47:34 +0100
commit88380a5a3bc7558631f4c9bf983b23ed553c958d (patch)
tree32f707bf0f4eb55dda7609f556fbf756174cf221 /sys-devel
parentsys-kernel/gentoo-kernel-bin: add 5.16.20 (diff)
downloadgentoo-88380a5a3bc7558631f4c9bf983b23ed553c958d.tar.gz
gentoo-88380a5a3bc7558631f4c9bf983b23ed553c958d.tar.bz2
gentoo-88380a5a3bc7558631f4c9bf983b23ed553c958d.zip
sys-devel/cons: fix doman on compressed file
Closes: https://bugs.gentoo.org/619972 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/cons/cons-2.3.0-r1.ebuild (renamed from sys-devel/cons/cons-2.3.0.ebuild)22
-rw-r--r--sys-devel/cons/metadata.xml8
2 files changed, 16 insertions, 14 deletions
diff --git a/sys-devel/cons/cons-2.3.0.ebuild b/sys-devel/cons/cons-2.3.0-r1.ebuild
index d9d4a3c6959f..8d49a63d1d80 100644
--- a/sys-devel/cons/cons-2.3.0.ebuild
+++ b/sys-devel/cons/cons-2.3.0-r1.ebuild
@@ -1,29 +1,31 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DESCRIPTION="Extensible perl-based build utility"
HOMEPAGE="https://www.gnu.org/software/cons/"
SRC_URI="https://www.gnu.org/software/${PN}/stable/${P}.tgz
https://www.gnu.org/software/${PN}/dev/${P}.tgz"
-SLOT="2.2"
LICENSE="GPL-2"
+SLOT="2.2"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc x86"
-IUSE=""
-DEPEND="
- dev-lang/perl
- virtual/perl-Digest-MD5"
-RDEPEND="
- ${DEPEND}
+RDEPEND="dev-lang/perl
+ virtual/perl-Digest-MD5
!sci-biology/emboss"
+BDEPEND="${RDEPEND}
+ app-arch/gzip"
+
+DOCS=( CHANGES INSTALL MANIFEST README RELEASE TODO )
src_install() {
dobin cons
- dodoc CHANGES INSTALL MANIFEST README RELEASE TODO
+
docinto html
dodoc *.html
- doman cons.1.gz
+
+ gunzip cons.1.gz || die
+ doman cons.1
}
diff --git a/sys-devel/cons/metadata.xml b/sys-devel/cons/metadata.xml
index 73dda144f9ac..b0d83aa2e489 100644
--- a/sys-devel/cons/metadata.xml
+++ b/sys-devel/cons/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>base-system@gentoo.org</email>
- <name>Gentoo Base System</name>
-</maintainer>
+ <maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+ </maintainer>
</pkgmetadata>