sys-apps/help2man: Drop old

Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
Mikle Kolyada
2018-05-21 19:22:02 +03:00
parent 93654cb4a2
commit cffecf5983
3 changed files with 0 additions and 100 deletions
-1
View File
@@ -1,4 +1,3 @@
DIST help2man-1.46.6.tar.xz 171044 BLAKE2B 41e5edddac3d7e9683b92aef2c5b1fc57c3a3684e13e17a58707bb2f332b4290841a80bd47913f9466e9d2cb02fcacaa515b4f4bb7053993988d599baff6256d SHA512 55bea01b80baf318e4350ee505bf67da9a7e76b7a5cbd861d0fd6e3afe47b82d1de8f1079d0df2f4ea8ec176d6ca95d5c847d8b1c118cf96ab59b06567c1204c
DIST help2man-1.47.4.tar.xz 189456 BLAKE2B 58bccbaa5f126b369683b6e051446242750e07274cbfbd6a4aeec2e8a9b57f2d845a2ddede36cc49eb2ed141690830b90f9a86ddd7c913586ea0f573e8cc3cf8 SHA512 3320890c4068086bff7a858653fb67ac80363f26772fb0bb702233052e2bcbe647e7b20b1a2246b1a0e026ba2aa8679e6baafe302d78c747da04e29c59b9bafd
DIST help2man-1.47.5.tar.xz 186044 BLAKE2B 288eeaab3781293209f4a6aeab570317e5ed9e2e76acf9a1669c767b627e3896936fba775e32f6016b7881b5747a51b5020c0ab4fc77030d1e27c15acab032f1 SHA512 c94f94bbdfb9e288edff2b3181e0f2e858d309aa4fe77cae141571a06b9b5bc2a5c5a4d25ffc1f9108222d56c9040989d63770f5d804323a52d3978059d1eca7
DIST help2man-1.47.6.tar.xz 192980 BLAKE2B ddf2b899e4479a45505aefaf3dabfceb1595128da35c000b81be79046aabceff58e1d605b2797880c5c652947d0fe59673eaf087de911152e79768c571037a73 SHA512 d24849b93de58b20f518c071687e7bfa653a96600382f36c4cf7fc1047656458f75f093b911b786b18b6931b2453cb60868ecbe07cc7d2984e5981a874b34942
@@ -1,67 +0,0 @@
respect user LINGUAS
--- help2man-1.46.1/Makefile.in
+++ help2man-1.46.1/Makefile.in
@@ -27,8 +27,15 @@
export VPATH = .:$(srcdir)
DESTDIR =
-LINGUAS = $(basename $(notdir $(wildcard $(srcdir)/po/*.po)))
-LINGUAS_TEXI = $(basename $(notdir $(wildcard $(srcdir)/po-texi/*.po)))
+ALL_LINGUAS = $(basename $(notdir $(wildcard $(srcdir)/po/*.po)))
+ALL_LINGUAS_TEXI = $(basename $(notdir $(wildcard $(srcdir)/po-texi/*.po)))
+ifeq ($(LINGUAS),)
+INSTALL_LINGUAS = $(ALL_LINGUAS)
+INSTALL_LINGUAS_TEXI = $(ALL_LINGUAS_TEXI)
+else
+INSTALL_LINGUAS = $(filter $(LINGUAS),$(ALL_LINGUAS))
+INSTALL_LINGUAS_TEXI = $(filter $(LINGUAS),$(ALL_LINGUAS_TEXI))
+endif
CC = @CC@
PERL = @PERL@
@@ -80,7 +87,7 @@
install_l10n: install_dirs msg_l10n man_l10n info_l10n
set -e; \
- for lang in $(LINGUAS); \
+ for lang in $(INSTALL_LINGUAS); \
do \
$(MKINSTALLDIRS) $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
$(INSTALL_DATA) $$($(FIND_VPATH) po/$$lang.gmo) \
@@ -89,7 +96,7 @@
$(INSTALL_DATA) $$($(FIND_VPATH) $(target).$$lang.1) \
$(DESTDIR)$(mandir)/$$lang/man1/$(target).1; \
done; \
- for lang in $(LINGUAS_TEXI); \
+ for lang in $(INSTALL_LINGUAS_TEXI); \
do \
$(INSTALL_DATA) $$($(FIND_VPATH) $(target)-$$lang.info) \
$(DESTDIR)$(infodir)/$(target)-$$lang.info; \
@@ -151,7 +158,7 @@
$(MAKE) $(target) $(target).h2m
./$(target) --include=$(target).h2m --output=$@ ./$(target)
-msg_l10n: $(addprefix po/,$(addsuffix .gmo,$(LINGUAS)))
+msg_l10n: $(addprefix po/,$(addsuffix .gmo,$(ALL_LINGUAS)))
po/%.gmo: $(srcdir)/po/%.po
test -d po || mkdir po
$(MSGFMT) -o $@ $?
@@ -161,7 +168,7 @@
$(MKINSTALLDIRS) localetmp/$$lang/LC_MESSAGES && \
$(INSTALL_DATA) po/$$lang.gmo localetmp/$$lang/LC_MESSAGES/$(target).mo
-man_l10n: $(addprefix $(target).,$(addsuffix .1,$(LINGUAS)))
+man_l10n: $(addprefix $(target).,$(addsuffix .1,$(ALL_LINGUAS)))
$(target).%.1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m.PL \
$(srcdir)/po/%.po
lang=$(patsubst $(target).%.1,%,$@); \
@@ -184,7 +191,7 @@
$(target).info: $(srcdir)/$(target).texi
$(MAKEINFO) $? -o $@
-info_l10n: $(addprefix $(target)-,$(addsuffix .info,$(LINGUAS_TEXI)))
+info_l10n: $(addprefix $(target)-,$(addsuffix .info,$(ALL_LINGUAS_TEXI)))
$(target)-%.info: $(target)-%.texi
$(MAKEINFO) $? -o $@.tmp
$(FIXUP_TEXI_TRANS) -o $@ $@.tmp
-32
View File
@@ -1,32 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit eutils
DESCRIPTION="GNU utility to convert program --help output to a man page"
HOMEPAGE="https://www.gnu.org/software/help2man/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls"
RDEPEND="dev-lang/perl
nls? ( dev-perl/Locale-gettext )"
DEPEND=${RDEPEND}
DOCS="debian/changelog NEWS README THANKS" #385753
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.46.1-linguas.patch
}
src_configure() {
# Disable gettext requirement as the release includes the gmo files #555018
econf \
ac_cv_path_MSGFMT=$(type -P false) \
$(use_enable nls)
}