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.7_p8.ebuild
Date: Fri, 10 Oct 2008 08:17:29
Message-Id: E1KoDBd-0003wo-T0@stork.gentoo.org
1 robbat2 08/10/10 08:17:25
2
3 Modified: ChangeLog
4 Added: suite3270-3.3.7_p8.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64)
8
9 Revision Changes Path
10 1.24 net-misc/suite3270/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.24&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.24&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/ChangeLog?r1=1.23&r2=1.24
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v
19 retrieving revision 1.23
20 retrieving revision 1.24
21 diff -p -w -b -B -u -u -r1.23 -r1.24
22 --- ChangeLog 10 Oct 2008 08:14:28 -0000 1.23
23 +++ ChangeLog 10 Oct 2008 08:17:25 -0000 1.24
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.23 2008/10/10 08:14:28 robbat2 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.24 2008/10/10 08:17:25 robbat2 Exp $
29 +
30 +*suite3270-3.3.7_p8 (10 Oct 2008)
31 +
32 + 10 Oct 2008; Robin H. Johnson <robbat2@g.o>
33 + +suite3270-3.3.7_p8.ebuild:
34 + Version bump.
35
36 10 Oct 2008; Robin H. Johnson <robbat2@g.o>
37 suite3270-3.2.20.ebuild, suite3270-3.3.2_p1.ebuild,
38
39
40
41 1.1 net-misc/suite3270/suite3270-3.3.7_p8.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/suite3270-3.3.7_p8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/suite3270/suite3270-3.3.7_p8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: suite3270-3.3.7_p8.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.7_p8.ebuild,v 1.1 2008/10/10 08:17:25 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 cjk? ( dev-libs/icu )
70 ncurses? ( sys-libs/ncurses
71 sys-libs/readline )
72 ssl? ( dev-libs/openssl )
73 tcl? ( dev-lang/tcl )"
74
75 DEPEND="${RDEPEND}
76 X? ( x11-misc/imake
77 x11-misc/xbitmaps
78 x11-proto/xproto
79 app-text/rman
80 x11-apps/mkfontdir
81 x11-apps/bdftopcf )"
82
83 SUB_PV="3.3"
84 MY_FONTDIR="/usr/share/fonts/x3270"
85
86 suite3270_makelist() {
87 MY_PLIST="pr3287 s3270"
88 use ncurses && MY_PLIST="${MY_PLIST} c3270"
89 use tcl && MY_PLIST="${MY_PLIST} tcl3270"
90 use X && MY_PLIST="${MY_PLIST} x3270"
91 }
92
93 src_compile() {
94 local myconf
95
96 myconf="--without-pr3287"
97 myconf="${myconf} --cache-file=${S}/config.cache"
98 myconf="${myconf} $(use_enable cjk dbcs)"
99 myconf="${myconf} $(use_enable ssl)"
100 myconf="${myconf} $(use_with X x)"
101 myconf="${myconf} $(use_with X fontdir ${MY_FONTDIR})"
102
103 suite3270_makelist
104 for p in ${MY_PLIST} ; do
105 cd "${S}/${p}-${SUB_PV}"
106 econf ${myconf} || die "econf failed on ${p}"
107 emake || die "emake faild on ${p}"
108 done
109 }
110
111 src_install () {
112 suite3270_makelist
113 use X && dodir ${MY_FONTDIR}
114 for p in ${MY_PLIST} ; do
115 cd "${S}/${p}-${SUB_PV}"
116 emake DESTDIR="${D}" install install.man \
117 || die "emake failed on ${p}"
118 use doc && docinto ${p} && dohtml html/*
119 done
120
121 use X && rm -f "${D}/${MY_FONTDIR}/fonts.dir"
122 return 0
123 }
124
125 pkg_postinst() {
126 if use X ; then
127 einfo "Running mkfontdir on ${MY_FONTDIR}"
128 mkfontdir ${MY_FONTDIR}
129 fi
130 }