Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/suite3270: ChangeLog suite3270-3.3.10_p3-r1.ebuild
Date: Sat, 26 Dec 2009 17:21:07
Message-Id: E1NOaK9-00019N-J2@stork.gentoo.org
1 vapier 09/12/26 17:21:05
2
3 Modified: ChangeLog
4 Added: suite3270-3.3.10_p3-r1.ebuild
5 Log:
6 Clean up ebuild and merge fixes from x3270 package #285917.
7 (Portage version: 2.2_rc60/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.37 net-misc/suite3270/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.37&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.37&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/ChangeLog?r1=1.36&r2=1.37
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v
19 retrieving revision 1.36
20 retrieving revision 1.37
21 diff -u -r1.36 -r1.37
22 --- ChangeLog 26 Dec 2009 01:28:48 -0000 1.36
23 +++ ChangeLog 26 Dec 2009 17:21:05 -0000 1.37
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-misc/suite3270
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.36 2009/12/26 01:28:48 robbat2 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.37 2009/12/26 17:21:05 vapier Exp $
29 +
30 +*suite3270-3.3.10_p3-r1 (26 Dec 2009)
31 +
32 + 26 Dec 2009; Mike Frysinger <vapier@g.o>
33 + +suite3270-3.3.10_p3-r1.ebuild:
34 + Clean up ebuild and merge fixes from x3270 package #285917.
35
36 *suite3270-3.3.10_p3 (26 Dec 2009)
37
38
39
40
41 1.1 net-misc/suite3270/suite3270-3.3.10_p3-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/suite3270-3.3.10_p3-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/suite3270-3.3.10_p3-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: suite3270-3.3.10_p3-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/suite3270-3.3.10_p3-r1.ebuild,v 1.1 2009/12/26 17:21:05 vapier Exp $
51
52 MY_PV=${PV/_p/ga}
53 MY_P=${PN}-${MY_PV}
54 SUB_PV=${PV:0:3}
55
56 S=${WORKDIR}
57
58 # only the x3270 package installs fonts
59 FONT_PN="x3270"
60 FONT_S=${WORKDIR}/${FONT_PN}-${SUB_PV}
61
62 inherit eutils font
63
64 DESCRIPTION="Complete 3270 access package"
65 HOMEPAGE="http://x3270.bgp.nu/"
66 SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
71 IUSE="cjk doc ncurses ssl tcl X"
72
73 RDEPEND="ssl? ( dev-libs/openssl )
74 X? (
75 x11-libs/libX11
76 x11-libs/libXaw
77 x11-libs/libXmu
78 x11-libs/libXt
79 )
80 ncurses? ( sys-libs/ncurses sys-libs/readline )
81 tcl? ( dev-lang/tcl )"
82 DEPEND="${RDEPEND}
83 X? (
84 x11-misc/imake
85 x11-misc/xbitmaps
86 x11-proto/xproto
87 app-text/rman
88 x11-apps/mkfontdir
89 x11-apps/bdftopcf
90 )"
91
92 suite3270_makelist() {
93 echo pr3287 s3270
94 use ncurses && echo c3270
95 use tcl && echo tcl3270
96 use X && echo x3270
97 }
98
99 src_unpack() {
100 unpack ${A}
101 cd "${S}"
102 use X && ! use cjk && epatch "${FILESDIR}"/${P}-fix-x3270-dbcs.patch
103 }
104
105 src_compile() {
106 local p
107 for p in $(suite3270_makelist) ; do
108 cd "${S}/${p}-${SUB_PV}"
109 econf \
110 --cache-file="${S}"/config.cache \
111 $(use_enable cjk dbcs) \
112 $(use_enable ssl) \
113 $(use_with X x) \
114 $(use_with X fontdir "${FONTDIR}") \
115 || die
116 emake || die
117 done
118 }
119
120 src_install() {
121 use X && dodir "${FONTDIR}"
122 local p
123 for p in $(suite3270_makelist) ; do
124 cd "${S}/${p}-${SUB_PV}"
125 emake DESTDIR="${D}" install install.man || die
126 docinto ${p}
127 local d=$(echo README*)
128 [[ -n ${d} ]] && dodoc ${d}
129 use doc && dohtml html/*
130 done
131 chmod a-x "${D}"/usr/share/man/*/*
132
133 use X && font_src_install
134 }
135
136 pkg_postinst() { use X && font_pkg_postinst ; }
137 pkg_postrm() { use X && font_pkg_postrm ; }