diff options
Diffstat (limited to 'sys-apps/help2man')
-rw-r--r-- | sys-apps/help2man/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/help2man/help2man-1.49.2.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/sys-apps/help2man/Manifest b/sys-apps/help2man/Manifest index 3df183d9b474..f3ccb783c2de 100644 --- a/sys-apps/help2man/Manifest +++ b/sys-apps/help2man/Manifest @@ -1,4 +1,6 @@ AUX help2man-1.46.1-linguas.patch 2352 BLAKE2B c79cf163fc358f08192517527ee59df2ac429fdf8b8bcc4e387ed686d44b3aceebcd517578cbf6348d751ce2fb62f1b7580d6a645a4f912c7fa374eb165b2600 SHA512 5907aed1745b199b0cad44f6e7669c663761b308b2bb1b669be8ba118d990481c37d1da5477df2cfa9cba30ecffe99c3863215779d683f056fe0c41241a0049b DIST help2man-1.48.5.tar.xz 204672 BLAKE2B 6d96f5f65f8c637d524e5c373f2b89f114adf544c1d3508a9cb51115279b9bf6399c8ebb0a8d831de12ef8cdaca40b6e75412a221efc5d2dd1794e9c9643196f SHA512 800eb0daa9daef8e423d52ede55eee2960122ea0269865295afada4cf4fcc1c6791da8429c3a57c0fc1bf0a14c8a77953952325413a8faa5dd07b1bc5bc0edd1 +DIST help2man-1.49.2.tar.xz 225428 BLAKE2B 62db47a5915432093991f060390a62ebf2d1e5e6e78f7142d0cd5f8a273a1fd74f55de4b3ead5c1071aaf4de084e62782981a1d888b8a8b76da9c07e0cda20ea SHA512 cb8f9f923263d7160a27a7924ae559aba93d7258167888eb9e0e3e97a2014297b8d739b2bb7869acbf586354d099bd91d85f8208b901bce5ba0c5ad4b6abd6d5 EBUILD help2man-1.48.5.ebuild 1042 BLAKE2B 32553914ae2c27d4d4f05d5be5ac93ed582c1443bd04642aedcf0d838f87dfebf6666d9159f41483bb91d56cb4d29c3b4220a75703ab567d8541117f93d0c44a SHA512 17c63491252c0730ec8e1403062a0413ea5be4368a5e43db561fc80bf07afe835533ebdccaec55b4e8078e8f827b2518ec726e97d3f5c4736dcd6a8572853ef2 +EBUILD help2man-1.49.2.ebuild 1101 BLAKE2B f0f905a56bbd3ed7e9261e9b4d21da3a97bdced886096af6a52a9a4fcc55ed064c38a611f18be1412aecf68ea96da5b38ccfb981b5c80d3bfc93c447d43e8769 SHA512 91d09746b6c07d21a8d249584de69ab50afa237f158269b470b10431024fd1ea039233cff2dccb159f76a189e036ea9ffac8d1ae4c19fa5d0660bce31cba9da5 MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c diff --git a/sys-apps/help2man/help2man-1.49.2.ebuild b/sys-apps/help2man/help2man-1.49.2.ebuild new file mode 100644 index 000000000000..bd9be868fe32 --- /dev/null +++ b/sys-apps/help2man/help2man-1.49.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="GNU utility to convert program --help output to a man page" +HOMEPAGE="https://www.gnu.org/software/help2man/ https://salsa.debian.org/bod/help2man" +SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="nls" + +RDEPEND="dev-lang/perl + nls? ( dev-perl/Locale-gettext )" +DEPEND="${RDEPEND}" + +# bug #385753 +DOCS=( debian/changelog NEWS README THANKS ) + +PATCHES=( + "${FILESDIR}"/${PN}-1.46.1-linguas.patch +) + +src_prepare() { + if [[ ${CHOST} == *-darwin* ]] ; then + sed -i \ + -e 's/-shared/-bundle/' \ + Makefile.in || die + fi + + default +} + +src_configure() { + # Disable gettext requirement as the release includes the gmo files, bug #555018 + local myeconfargs=( + ac_cv_path_MSGFMT=$(type -P false) + $(use_enable nls) + ) + + econf "${myeconfargs[@]}" +} |