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.8.ebuild
Date: Mon, 20 Oct 2008 04:25:08
Message-Id: E1KrmKH-0001kl-07@stork.gentoo.org
1 robbat2 08/10/20 04:25:04
2
3 Modified: ChangeLog
4 Added: suite3270-3.3.8.ebuild
5 Log:
6 Bug #241970: version bump - Lots of changes in CJK code.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64)
8
9 Revision Changes Path
10 1.28 net-misc/suite3270/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.28&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.28&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/ChangeLog?r1=1.27&r2=1.28
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v
19 retrieving revision 1.27
20 retrieving revision 1.28
21 diff -p -w -b -B -u -u -r1.27 -r1.28
22 --- ChangeLog 12 Oct 2008 15:58:51 -0000 1.27
23 +++ ChangeLog 20 Oct 2008 04:25:04 -0000 1.28
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-misc/suite3270
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.27 2008/10/12 15:58:51 bluebird Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.28 2008/10/20 04:25:04 robbat2 Exp $
29 +
30 +*suite3270-3.3.8 (20 Oct 2008)
31 +
32 + 20 Oct 2008; Robin H. Johnson <robbat2@g.o>
33 + +suite3270-3.3.8.ebuild:
34 + Bug #241970: version bump - Lots of changes in CJK code.
35
36 12 Oct 2008; Friedrich Oslage <bluebird@g.o>
37 suite3270-3.3.7_p5.ebuild:
38
39
40
41 1.1 net-misc/suite3270/suite3270-3.3.8.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/suite3270-3.3.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/suite3270-3.3.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: suite3270-3.3.8.ebuild
47 ===================================================================
48 # Copyright 1999-2008 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.8.ebuild,v 1.1 2008/10/20 04:25:04 robbat2 Exp $
51
52 inherit eutils
53
54 IUSE="cjk doc ncurses ssl tcl X"
55
56 S="${WORKDIR}"
57 DESCRIPTION="Complete 3270 access package"
58 SRC_URI="http://x3270.bgp.nu/download/${PN}-${PV/_/}.tgz"
59 HOMEPAGE="http://www.geocities.com/SiliconValley/Peaks/7814/"
60
61 SLOT="0"
62 LICENSE="GPL-2"
63 KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
64
65 RDEPEND="X? ( x11-libs/libX11
66 x11-libs/libXaw
67 x11-libs/libXmu
68 x11-libs/libXt )
69 ncurses? ( sys-libs/ncurses
70 sys-libs/readline )
71 ssl? ( dev-libs/openssl )
72 tcl? ( dev-lang/tcl )"
73
74 DEPEND="${RDEPEND}
75 X? ( x11-misc/imake
76 x11-misc/xbitmaps
77 x11-proto/xproto
78 app-text/rman
79 x11-apps/mkfontdir
80 x11-apps/bdftopcf )"
81
82 SUB_PV="3.3"
83 MY_FONTDIR="/usr/share/fonts/x3270"
84
85 suite3270_makelist() {
86 MY_PLIST="pr3287 s3270"
87 use ncurses && MY_PLIST="${MY_PLIST} c3270"
88 use tcl && MY_PLIST="${MY_PLIST} tcl3270"
89 use X && MY_PLIST="${MY_PLIST} x3270"
90 }
91
92 src_compile() {
93 local myconf
94
95 myconf="--without-pr3287"
96 myconf="${myconf} --cache-file=${S}/config.cache"
97 myconf="${myconf} $(use_enable cjk dbcs)"
98 myconf="${myconf} $(use_enable ssl)"
99 myconf="${myconf} $(use_with X x)"
100 myconf="${myconf} $(use_with X fontdir ${MY_FONTDIR})"
101
102 suite3270_makelist
103 for p in ${MY_PLIST} ; do
104 cd "${S}/${p}-${SUB_PV}"
105 econf ${myconf} || die "econf failed on ${p}"
106 emake || die "emake faild on ${p}"
107 done
108 }
109
110 src_install () {
111 suite3270_makelist
112 use X && dodir ${MY_FONTDIR}
113 for p in ${MY_PLIST} ; do
114 cd "${S}/${p}-${SUB_PV}"
115 emake DESTDIR="${D}" install install.man \
116 || die "emake failed on ${p}"
117 use doc && docinto ${p} && dohtml html/*
118 done
119
120 use X && rm -f "${D}/${MY_FONTDIR}/fonts.dir"
121 return 0
122 }
123
124 pkg_postinst() {
125 if use X ; then
126 einfo "Running mkfontdir on ${MY_FONTDIR}"
127 mkfontdir ${MY_FONTDIR}
128 fi
129 }