public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/suite3270/
Date: Thu, 14 Jan 2021 21:27:56 +0000 (UTC)	[thread overview]
Message-ID: <1610659629.4785202373a2f05c90c5abb1317e3445ad38c4b7.vapier@gentoo> (raw)

commit:     4785202373a2f05c90c5abb1317e3445ad38c4b7
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 14 21:27:09 2021 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Jan 14 21:27:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47852023

net-misc/suite3270: version bump to 4.0_p13

Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 net-misc/suite3270/Manifest                 |   1 +
 net-misc/suite3270/suite3270-4.0_p13.ebuild | 102 ++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/net-misc/suite3270/Manifest b/net-misc/suite3270/Manifest
index 2d7b972afeb..a16fef905a5 100644
--- a/net-misc/suite3270/Manifest
+++ b/net-misc/suite3270/Manifest
@@ -1 +1,2 @@
 DIST suite3270-3.6ga8-src.tgz 3296047 BLAKE2B 98bcee4591c3eea12c7127aa2eeb39613f6f090c041ceab7a7b0f1bf0e946c3048ba2f93eaacf2bbaf04b44ba78a8895f6b7acdcf20baea19a408464f83f4d62 SHA512 88a00bec19ae7be92e5bc0edd6ae1e27bef7fbbf8c3f419efda3ba2b3a0cb5e72693916cd44d50166d5745ce0f9d8497641481cedbb0bb3149567b6f51b1a987
+DIST suite3270-4.0ga13-src.tgz 3317494 BLAKE2B 898f279143006e1fc1f470bda3917afe85957de745676dc915f9c94292824ba0e10fc2ccf0a47e307c41e48741a3da7c066c45f63c917295e0522122226b79dd SHA512 bdf9c5d129419c87b45907186e5f158d8623009151357e4d8a3d08ffff2f3729449cead84d005227bfb32968ae363d1a29350692cabe9bf8b71f760eda3f496b

diff --git a/net-misc/suite3270/suite3270-4.0_p13.ebuild b/net-misc/suite3270/suite3270-4.0_p13.ebuild
new file mode 100644
index 00000000000..1443f8fe7a9
--- /dev/null
+++ b/net-misc/suite3270/suite3270-4.0_p13.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV=${PV/_p/ga}
+MY_P=${PN}-${MY_PV}
+SUB_PV=${PV:0:3}
+
+S=${WORKDIR}/${PN}-${SUB_PV}
+
+# only the x3270 package installs fonts
+FONT_PN="x3270"
+FONT_S="${S}/${FONT_PN}"
+
+inherit font
+
+DESCRIPTION="Complete 3270 access package"
+HOMEPAGE="http://x3270.bgp.nu/"
+SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
+IUSE="cjk doc ncurses ssl tcl X"
+
+RDEPEND="ssl? ( dev-libs/openssl:0= )
+	X? (
+		x11-libs/libX11
+		x11-libs/libXaw
+		x11-libs/libXmu
+		x11-libs/libXt
+	)
+	ncurses? (
+		sys-libs/ncurses:=
+		sys-libs/readline:0=
+	)
+	tcl? ( dev-lang/tcl:0 )"
+DEPEND="${RDEPEND}
+	X? (
+		x11-base/xorg-proto
+		x11-misc/xbitmaps
+		app-text/rman
+		>=x11-apps/mkfontscale-1.2.0
+		x11-apps/bdftopcf
+	)"
+
+suite3270_makelist() {
+	echo pr3287 s3270 \
+		$(usex ncurses c3270 '') \
+		$(usex tcl tcl3270 '') \
+		$(usex X x3270 '')
+}
+
+src_prepare() {
+	default
+
+	# Some subdirs (like c3270/x3270/s3270) install the same set of data files
+	# (they have the same contents).  Wrap that in a retry to avoid errors.
+	cat <<-EOF > _install
+	#!/bin/sh
+	for n in 1 2 3 4 5; do
+		install "\$@" && exit
+		echo "retrying ..."
+	done
+	exit 1
+	EOF
+	chmod a+rx _install
+	# Can't use the $INSTALL var as top level configure also uses it.
+	# https://sourceforge.net/p/x3270/bugs/15/
+	export ac_cv_path_install="${S}/_install"
+}
+
+src_configure() {
+	econf \
+		--cache-file="${S}"/config.cache \
+		--enable-s3270 \
+		--enable-pr3287 \
+		$(use_enable ncurses c3270) \
+		$(use_enable tcl tcl3270) \
+		$(use_enable X x3270) \
+		$(use_with X x) \
+		$(use_with X fontdir "${FONTDIR}")
+}
+
+src_install() {
+	use X && dodir "${FONTDIR}"
+	emake DESTDIR="${D}" install{,.man}
+
+	local p
+	for p in $(suite3270_makelist) ; do
+		cd "${S}/${p}"
+		docinto ${p}
+		dodoc README*
+		use doc && dohtml html/*
+	done
+
+	use X && font_src_install
+}
+
+pkg_postinst() { use X && font_pkg_postinst ; }
+pkg_postrm() { use X && font_pkg_postrm ; }


             reply	other threads:[~2021-01-14 21:28 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-14 21:27 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-07  3:03 [gentoo-commits] repo/gentoo:master commit in: net-misc/suite3270/ Sam James
2025-03-07  3:03 Sam James
2025-03-07  3:03 Sam James
2025-03-07  3:03 Sam James
2024-03-10  9:01 Arthur Zamarin
2024-03-10  5:42 Sam James
2024-03-10  5:42 Sam James
2024-03-10  5:42 Sam James
2024-03-10  1:59 Sam James
2023-12-03  7:34 Sam James
2023-06-10  7:08 Sam James
2023-06-09 15:27 Arthur Zamarin
2022-09-13 17:21 Sam James
2022-01-02 20:18 Mike Frysinger
2022-01-02 20:00 Mike Frysinger
2021-02-02  4:20 Sam James
2021-01-31 18:48 Sam James
2021-01-28  2:49 Sam James
2021-01-27 17:45 Sergei Trofimovich
2021-01-27  3:00 Sam James
2021-01-15  5:13 Mike Frysinger
2021-01-14 21:27 Mike Frysinger
2020-01-06  6:54 Mike Frysinger
2020-01-06  6:54 Mike Frysinger
2019-09-14  2:41 Mike Frysinger
2019-09-14  2:41 Mike Frysinger
2018-01-09 23:03 Mike Frysinger
2018-01-09 23:03 Mike Frysinger
2018-01-09 23:03 Mike Frysinger
2017-10-13 16:36 Jonas Stein
2017-01-17 20:52 Mike Frysinger
2017-01-17 20:52 Mike Frysinger
2016-12-27  7:01 Mike Frysinger
2016-01-02  5:46 Mike Frysinger
2016-01-02  5:46 Mike Frysinger
2016-01-02  5:46 Mike Frysinger
2015-10-24  6:09 Mike Frysinger
2015-09-18 19:56 Mike Frysinger
2015-09-18 19:56 Mike Frysinger
2015-08-28 17:24 Mike Frysinger
2015-08-11  3:09 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1610659629.4785202373a2f05c90c5abb1317e3445ad38c4b7.vapier@gentoo \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox