Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/suite3270: ChangeLog suite3270-3.3.10_p3.ebuild
Date: Sat, 26 Dec 2009 01:29:04
Message-Id: E1NOLSa-0004la-PE@stork.gentoo.org
1 robbat2 09/12/26 01:28:48
2
3 Modified: ChangeLog
4 Added: suite3270-3.3.10_p3.ebuild
5 Log:
6 Bug #286073, version bump.
7 (Portage version: 2.2_rc58/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.36 net-misc/suite3270/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.36&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.36&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/ChangeLog?r1=1.35&r2=1.36
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v
19 retrieving revision 1.35
20 retrieving revision 1.36
21 diff -p -w -b -B -u -u -r1.35 -r1.36
22 --- ChangeLog 15 Dec 2009 19:28:38 -0000 1.35
23 +++ ChangeLog 26 Dec 2009 01:28:48 -0000 1.36
24 @@ -1,6 +1,13 @@
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.35 2009/12/15 19:28:38 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.36 2009/12/26 01:28:48 robbat2 Exp $
29 +
30 +*suite3270-3.3.10_p3 (26 Dec 2009)
31 +
32 + 26 Dec 2009; Robin H. Johnson <robbat2@g.o>
33 + +suite3270-3.3.10_p3.ebuild,
34 + +files/suite3270-3.3.10_p3-fix-x3270-dbcs.patch:
35 + Bug #286073, version bump.
36
37 15 Dec 2009; Samuli Suominen <ssuominen@g.o>
38 suite3270-3.3.5_p8.ebuild, suite3270-3.3.6.ebuild, suite3270-3.3.7.ebuild,
39
40
41
42 1.1 net-misc/suite3270/suite3270-3.3.10_p3.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/suite3270-3.3.10_p3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/suite3270-3.3.10_p3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: suite3270-3.3.10_p3.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/suite3270-3.3.10_p3.ebuild,v 1.1 2009/12/26 01:28:48 robbat2 Exp $
52
53 inherit eutils
54
55 IUSE="cjk doc ncurses ssl tcl X"
56
57 MY_PV="${PV/_p/ga}"
58 MY_P="${PN}-${MY_PV}"
59
60 S="${WORKDIR}"
61 DESCRIPTION="Complete 3270 access package"
62 SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
63 HOMEPAGE="http://x3270.bgp.nu/"
64
65 SLOT="0"
66 LICENSE="GPL-2"
67 KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
68
69 RDEPEND="X? ( x11-libs/libX11
70 x11-libs/libXaw
71 x11-libs/libXmu
72 x11-libs/libXt )
73 ncurses? ( sys-libs/ncurses
74 sys-libs/readline )
75 ssl? ( dev-libs/openssl )
76 tcl? ( dev-lang/tcl )"
77
78 DEPEND="${RDEPEND}
79 X? ( x11-misc/imake
80 x11-misc/xbitmaps
81 x11-proto/xproto
82 app-text/rman
83 x11-apps/mkfontdir
84 x11-apps/bdftopcf )"
85
86 SUB_PV="3.3"
87 MY_FONTDIR="/usr/share/fonts/x3270"
88
89 suite3270_makelist() {
90 MY_PLIST="pr3287 s3270"
91 use ncurses && MY_PLIST="${MY_PLIST} c3270"
92 use tcl && MY_PLIST="${MY_PLIST} tcl3270"
93 use X && MY_PLIST="${MY_PLIST} x3270"
94 }
95
96 src_unpack() {
97 unpack ${A}
98 cd "${S}"
99 # Patches were sent upstream to maintainer
100 # as of 23 September 2009, by Jesse Farinacci <jieryn@×××××.com>
101 use X && ! use cjk && epatch "${FILESDIR}/$P-fix-x3270-dbcs.patch"
102 return 0
103 }
104
105 src_compile() {
106 local myconf
107
108 myconf="--without-pr3287"
109 myconf="${myconf} --cache-file=${S}/config.cache"
110 myconf="${myconf} $(use_enable cjk dbcs)"
111 myconf="${myconf} $(use_enable ssl)"
112 myconf="${myconf} $(use_with X x)"
113 myconf="${myconf} $(use_with X fontdir ${MY_FONTDIR})"
114
115 suite3270_makelist
116 for p in ${MY_PLIST} ; do
117 cd "${S}/${p}-${SUB_PV}"
118 econf ${myconf} || die "econf failed on ${p}"
119 emake || die "emake faild on ${p}"
120 done
121 }
122
123 src_install () {
124 suite3270_makelist
125 use X && dodir ${MY_FONTDIR}
126 for p in ${MY_PLIST} ; do
127 cd "${S}/${p}-${SUB_PV}"
128 emake DESTDIR="${D}" install install.man \
129 || die "emake failed on ${p}"
130 use doc && docinto ${p} && dohtml html/*
131 done
132
133 use X && rm -f "${D}/${MY_FONTDIR}/fonts.dir"
134 return 0
135 }
136
137 pkg_postinst() {
138 if use X ; then
139 einfo "Running mkfontdir on ${MY_FONTDIR}"
140 mkfontdir ${MY_FONTDIR}
141 fi
142 }