sys-apps/man2html - 1.6g (gentoo)

Search

Install

Install this version:

emerge -a =sys-apps/man2html-1.6g

Package Information

Description:
Standard commands to read man pages
Homepage:
http://primates.ximian.com/~flucifredi/man/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.6g 8 ~alpha amd64 arm ~arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit edo toolchain-funcs

MY_P="man-${PV}"

DESCRIPTION="Standard commands to read man pages"
HOMEPAGE="http://primates.ximian.com/~flucifredi/man/"
SRC_URI="http://primates.ximian.com/~flucifredi/man/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="selinux"

RDEPEND="
	!sys-apps/man
	selinux? ( sec-policy/selinux-man2html )
"

PATCHES=(
	"${FILESDIR}"/man-1.6f-man2html-compression-2.patch
	"${FILESDIR}"/man-1.6-cross-compile.patch
	"${FILESDIR}"/man-1.6g-compress.patch #205147
	"${FILESDIR}"/man-1.6g-clang-15-configure.patch
)

src_configure() {
	tc-export CC BUILD_CC

	# Just a stub to disable configure check.  man2html doesn't use it.
	export COMPRESS=true
	edo ./configure \
		-confdir=/etc \
		+sgid +fhs \
		+lang none
}

src_compile() {
	emake {src,man2html}/Makefile
	emake -C src version.h
	emake -C man2html
}

src_install() {
	# A little faster to run this by hand than `emake install`.
	cd man2html || die

	dobin man2html
	doman man2html.1
	dodoc README TODO
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-apps/man2html | euse -E <flag> -p sys-apps/man2html | euse -D <flag> -p sys-apps/man2html

Global/Standard Flags

Inherited Eclasses

edo

Dependencies

RDEPEND

	!sys-apps/man
	selinux? ( sec-policy/selinux-man2html )

Manifest for 1.6g

Type File Size Source URLs
DIST man-1.6g.tar.gz 256906 bytes http://primates.ximian.com/~flucifredi/man/man-1.6g.tar.gz