app-doc/dita-ot-bin - 4.4.1 (gentoo)

Search

Install

Install this version:

emerge -a =app-doc/dita-ot-bin-4.4.1

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

autounmask =app-doc/dita-ot-bin-4.4.1

Or alternatively:

emerge --autounmask-write -a =app-doc/dita-ot-bin-4.4.1

Package Information

Description:
Darwin Information Typing Architecture - Open Toolkit publishing engine
Homepage:
https://www.dita-ot.org/ https://github.com/dita-ot/dita-ot
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
4.4.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit java-pkg-2

MY_PN=${PN%*-bin}
MY_P=${MY_PN}-${PV}
DESCRIPTION="Darwin Information Typing Architecture - Open Toolkit publishing engine"
HOMEPAGE="https://www.dita-ot.org/ https://github.com/dita-ot/dita-ot"
SRC_URI="https://github.com/dita-ot/dita-ot/releases/download/${PV}/${MY_P}.zip"
S="${WORKDIR}"/${MY_P}

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

DEPEND=">=virtual/jdk-17:*"
RDEPEND=">=virtual/jre-17:*"
BDEPEND="app-arch/unzip"

PATCHES=(
	"${FILESDIR}"/${PN}-4.3-set-java-home.patch
)

src_prepare() {
	default
	java-pkg-2_src_prepare
}

src_install() {
	local installpath=/opt/${MY_P}
	local installbinpath="${installpath}"/bin
	insinto "${installpath}"
	doins -r config lib plugins resources

	java-pkg_regjar "${installpath}"/lib/dost.jar

	exeinto "${installbinpath}"
	doexe bin/dita
	dosym -r "${installbinpath}"/dita /usr/bin/dita

	einstalldocs
}

Inherited Eclasses

Dependencies

DEPEND

>=virtual/jdk-17:*

RDEPEND

>=virtual/jre-17:*

BDEPEND

app-arch/unzip

Manifest for 4.4.1

Type File Size Source URLs
DIST dita-ot-4.4.1.zip 54013298 bytes https://github.com/dita-ot/dita-ot/releases/download/4.4.1/dita-ot-4.4.1.zip