app-text/headerdoc - 8.9.31 (myov)

Search

Install

Install this version:

emerge -a =app-text/headerdoc-8.9.31

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-text/headerdoc-8.9.31

Or alternatively:

emerge --autounmask-write -a =app-text/headerdoc-8.9.31

Package Information

Description:
Engine processing comments from source code and header files
Homepage:
https://github.com/apple-oss-distributions/headerdoc/
License:
APSL-2

Ebuild Details

Version EAPI Keywords Slot
8.9.31 8 ~amd64 ~mips ~x86 0/$(ver_cut 1)
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MAJOR="$(ver_cut 1)"

inherit toolchain-funcs

DESCRIPTION="Engine processing comments from source code and header files"
HOMEPAGE="https://github.com/apple-oss-distributions/headerdoc/"

if [[ "${PV}" == *9999* ]] ; then
	inherit git-r3

	EGIT_BRANCH="rel/headerdoc-${MAJOR}"
	EGIT_REPO_URI="https://github.com/apple-oss-distributions/${PN}.git"
else
	SRC_URI="https://github.com/apple-oss-distributions/${PN}/archive/refs/tags/${P}.tar.gz
		-> ${P}.gh.tar.gz"
	S="${WORKDIR}/${PN}-${P}"

	KEYWORDS="~amd64 ~mips ~x86"
fi

LICENSE="APSL-2"
SLOT="0/${MAJOR}"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-libs/libxml2
	dev-perl/HTML-Parser
"
BDEPEND="
	test? (
		dev-perl/FreezeThaw
	)
"

src_configure() {
	tc-export CC
}

src_compile() {
	cd xmlman || die
	emake -j1 CC="${CC}"
}

src_test() {
	nonfatal emake test
}

src_install() {
	emake DSTROOT="${D}" installsub

	einstalldocs
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-text/headerdoc | euse -E <flag> -p app-text/headerdoc | euse -D <flag> -p app-text/headerdoc

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	dev-libs/libxml2
	dev-perl/HTML-Parser

BDEPEND

	test? (
		dev-perl/FreezeThaw
	)

Manifest for 8.9.31

Type File Size Source URLs
DIST headerdoc-8.9.31.gh.tar.gz 2208508 bytes https://github.com/apple-oss-distributions/headerdoc/archive/refs/tags/headerdoc-8.9.31.tar.gz