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 <sam@gentoo.org>
This commit is contained in:
Sam James 2025-10-20 11:39:42 +01:00
parent c65f037d34
commit ee5d214711
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
4 changed files with 102 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST a68-jargon-0_pre20251020.srht.tar.gz 75097 BLAKE2B e1678f0c1771b5ed812f825ff7715508f2cb3b88a63e2d502d3f853869f4c84f4521b835ec2966dae8eaaf9dda5cc83ee70120c22ab2791041322fefd81a89d5 SHA512 72792b8dde578d14738fee502529ffaaf31ad5d54c8bd33c83f38c9ab118c88ed040df1f0188ec54412da59804b600a71802ba13e8efce9119a546c784b530d7

View File

@ -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')
}

View File

@ -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')
}

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sam@gentoo.org</email>
<name>Sam James</name>
</maintainer>
<stabilize-allarches/>
</pkgmetadata>