diff options
author | 2016-02-13 01:41:07 -0500 | |
---|---|---|
committer | 2016-02-13 01:42:45 -0500 | |
commit | 7f548467ce4c0b0d471b8a8e04c5bde56fcf7d29 (patch) | |
tree | d10bd5501c04f6afcab93c43f2738b386f840dfb /sys-apps/man2html/man2html-1.6g.ebuild | |
parent | sys-devel/bison: clarify bison.1 touching (diff) | |
download | gentoo-7f548467ce4c0b0d471b8a8e04c5bde56fcf7d29.tar.gz gentoo-7f548467ce4c0b0d471b8a8e04c5bde56fcf7d29.tar.bz2 gentoo-7f548467ce4c0b0d471b8a8e04c5bde56fcf7d29.zip |
sys-apps/man2html: new package #519390
With the migration to man-db, the man2html tool is no longer available
as it was included with the canonical man package. Create a dedicated
package for this tool since some people want it w/man-db.
Diffstat (limited to 'sys-apps/man2html/man2html-1.6g.ebuild')
-rw-r--r-- | sys-apps/man2html/man2html-1.6g.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/man2html/man2html-1.6g.ebuild b/sys-apps/man2html/man2html-1.6g.ebuild new file mode 100644 index 000000000000..4da6fb0b5bca --- /dev/null +++ b/sys-apps/man2html/man2html-1.6g.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils 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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND="!sys-apps/man" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/man-1.6f-man2html-compression-2.patch + epatch "${FILESDIR}"/man-1.6-cross-compile.patch + epatch "${FILESDIR}"/man-1.6g-compress.patch #205147 +} + +echoit() { echo "$@" ; "$@" ; } +src_configure() { + tc-export CC BUILD_CC + + # Just a stub to disable configure check. man2html doesn't use it. + export COMPRESS=true + echoit \ + ./configure \ + -confdir=/etc \ + +sgid +fhs \ + +lang none \ + || die "configure failed" +} + +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 + dobin man2html + doman man2html.1 + dodoc README TODO +} |