From ee5d2147111cbccff36b40cfe4e5d18c32dec1b1 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 20 Oct 2025 11:39:42 +0100 Subject: [PATCH] app-doc/a68-jargon: new package, add 0_pre20251020, 9999 Always installs man pages and info pages. PDF is optional with USE. Signed-off-by: Sam James --- app-doc/a68-jargon/Manifest | 1 + .../a68-jargon-0_pre20251020.ebuild | 46 +++++++++++++++++++ app-doc/a68-jargon/a68-jargon-9999.ebuild | 46 +++++++++++++++++++ app-doc/a68-jargon/metadata.xml | 9 ++++ 4 files changed, 102 insertions(+) create mode 100644 app-doc/a68-jargon/Manifest create mode 100644 app-doc/a68-jargon/a68-jargon-0_pre20251020.ebuild create mode 100644 app-doc/a68-jargon/a68-jargon-9999.ebuild create mode 100644 app-doc/a68-jargon/metadata.xml diff --git a/app-doc/a68-jargon/Manifest b/app-doc/a68-jargon/Manifest new file mode 100644 index 000000000000..4d0537042204 --- /dev/null +++ b/app-doc/a68-jargon/Manifest @@ -0,0 +1 @@ +DIST a68-jargon-0_pre20251020.srht.tar.gz 75097 BLAKE2B e1678f0c1771b5ed812f825ff7715508f2cb3b88a63e2d502d3f853869f4c84f4521b835ec2966dae8eaaf9dda5cc83ee70120c22ab2791041322fefd81a89d5 SHA512 72792b8dde578d14738fee502529ffaaf31ad5d54c8bd33c83f38c9ab118c88ed040df1f0188ec54412da59804b600a71802ba13e8efce9119a546c784b530d7 diff --git a/app-doc/a68-jargon/a68-jargon-0_pre20251020.ebuild b/app-doc/a68-jargon/a68-jargon-0_pre20251020.ebuild new file mode 100644 index 000000000000..270cce7403e3 --- /dev/null +++ b/app-doc/a68-jargon/a68-jargon-0_pre20251020.ebuild @@ -0,0 +1,46 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Definitions of many terms in the Algol 68 language context" +HOMEPAGE="https://jemarch.net/a68-jargon/" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.sr.ht/~jemarch/a68-jargon" + inherit git-r3 +else + JARGON_COMMIT="07940f3a40be1a49bcd56603bb671809885f9c12" + SRC_URI="https://git.sr.ht/~jemarch/a68-jargon/archive/${JARGON_COMMIT}.tar.gz -> ${P}.srht.tar.gz" + S="${WORKDIR}"/${PN}-${JARGON_COMMIT} + + KEYWORDS="~amd64" +fi + +LICENSE="|| ( FDL-1.3+ GPL-3+ ) public-domain" +SLOT="0" +IUSE="pdf" + +BDEPEND=" + sys-apps/texinfo + pdf? ( + app-text/ghostscript-gpl + app-text/texlive-core + virtual/texi2dvi + ) +" + +src_prepare() { + default + eautoreconf +} + +src_compile() { + emake all $(usev pdf 'pdf') +} + +src_install() { + emake DESTDIR="${D}" install $(usev pdf 'install-pdf') +} diff --git a/app-doc/a68-jargon/a68-jargon-9999.ebuild b/app-doc/a68-jargon/a68-jargon-9999.ebuild new file mode 100644 index 000000000000..270cce7403e3 --- /dev/null +++ b/app-doc/a68-jargon/a68-jargon-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Definitions of many terms in the Algol 68 language context" +HOMEPAGE="https://jemarch.net/a68-jargon/" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.sr.ht/~jemarch/a68-jargon" + inherit git-r3 +else + JARGON_COMMIT="07940f3a40be1a49bcd56603bb671809885f9c12" + SRC_URI="https://git.sr.ht/~jemarch/a68-jargon/archive/${JARGON_COMMIT}.tar.gz -> ${P}.srht.tar.gz" + S="${WORKDIR}"/${PN}-${JARGON_COMMIT} + + KEYWORDS="~amd64" +fi + +LICENSE="|| ( FDL-1.3+ GPL-3+ ) public-domain" +SLOT="0" +IUSE="pdf" + +BDEPEND=" + sys-apps/texinfo + pdf? ( + app-text/ghostscript-gpl + app-text/texlive-core + virtual/texi2dvi + ) +" + +src_prepare() { + default + eautoreconf +} + +src_compile() { + emake all $(usev pdf 'pdf') +} + +src_install() { + emake DESTDIR="${D}" install $(usev pdf 'install-pdf') +} diff --git a/app-doc/a68-jargon/metadata.xml b/app-doc/a68-jargon/metadata.xml new file mode 100644 index 000000000000..7efb31b9e7f2 --- /dev/null +++ b/app-doc/a68-jargon/metadata.xml @@ -0,0 +1,9 @@ + + + + + sam@gentoo.org + Sam James + + +