1 |
vapier 15/05/29 17:10:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: suite3270-3.3.15_p9.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
9 |
|
10 |
Revision Changes Path |
11 |
1.65 net-misc/suite3270/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.65&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.65&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/ChangeLog?r1=1.64&r2=1.65 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v |
20 |
retrieving revision 1.64 |
21 |
retrieving revision 1.65 |
22 |
diff -u -r1.64 -r1.65 |
23 |
--- ChangeLog 25 Mar 2015 16:53:23 -0000 1.64 |
24 |
+++ ChangeLog 29 May 2015 17:10:04 -0000 1.65 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-misc/suite3270 |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.64 2015/03/25 16:53:23 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.65 2015/05/29 17:10:04 vapier Exp $ |
30 |
+ |
31 |
+*suite3270-3.3.15_p9 (29 May 2015) |
32 |
+ |
33 |
+ 29 May 2015; Mike Frysinger <vapier@g.o> +suite3270-3.3.15_p9.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
25 Mar 2015; Justin Lecher <jlec@g.o> suite3270-3.3.12_p10.ebuild, |
37 |
suite3270-3.3.12_p12.ebuild, suite3270-3.3.13_p7.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/suite3270/suite3270-3.3.15_p9.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/suite3270-3.3.15_p9.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/suite3270-3.3.15_p9.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: suite3270-3.3.15_p9.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 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.15_p9.ebuild,v 1.1 2015/05/29 17:10:04 vapier Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
MY_PV=${PV/_p/ga} |
55 |
MY_P=${PN}-${MY_PV} |
56 |
SUB_PV=${PV:0:3} |
57 |
|
58 |
S=${WORKDIR} |
59 |
|
60 |
# only the x3270 package installs fonts |
61 |
FONT_PN="x3270" |
62 |
FONT_S=${WORKDIR}/${FONT_PN}-${SUB_PV} |
63 |
|
64 |
inherit eutils font multiprocessing |
65 |
|
66 |
DESCRIPTION="Complete 3270 access package" |
67 |
HOMEPAGE="http://x3270.bgp.nu/" |
68 |
SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz" |
69 |
|
70 |
LICENSE="GPL-2" |
71 |
SLOT="0" |
72 |
KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86" |
73 |
IUSE="cjk doc ncurses ssl tcl X" |
74 |
|
75 |
RDEPEND="ssl? ( dev-libs/openssl ) |
76 |
X? ( |
77 |
x11-libs/libX11 |
78 |
x11-libs/libXaw |
79 |
x11-libs/libXmu |
80 |
x11-libs/libXt |
81 |
) |
82 |
ncurses? ( sys-libs/ncurses sys-libs/readline ) |
83 |
tcl? ( dev-lang/tcl:0 )" |
84 |
DEPEND="${RDEPEND} |
85 |
X? ( |
86 |
x11-misc/xbitmaps |
87 |
x11-proto/xproto |
88 |
app-text/rman |
89 |
x11-apps/mkfontdir |
90 |
x11-apps/bdftopcf |
91 |
)" |
92 |
|
93 |
suite3270_makelist() { |
94 |
echo pr3287 s3270 \ |
95 |
$(usex ncurses c3270 '') \ |
96 |
$(usex tcl tcl3270 '') \ |
97 |
$(usex X x3270 '') |
98 |
} |
99 |
|
100 |
src_prepare() { |
101 |
# Some subdirs (like c3270/x3270/s3270) install the same set of data files |
102 |
# (they have the same contents). Wrap that in a retry to avoid errors. |
103 |
cat <<-EOF > _install |
104 |
#!/bin/sh |
105 |
for n in {1..5}; do |
106 |
install "\$@" && exit |
107 |
echo "retrying ..." |
108 |
done |
109 |
EOF |
110 |
chmod a+rx _install |
111 |
sed -i \ |
112 |
-e "s:@INSTALL@:${S}/_install:" \ |
113 |
*/Makefile.in |
114 |
|
115 |
sed -i \ |
116 |
-e 's:CPPFunction:rl_completion_func_t:' \ |
117 |
c3270-*/c3270.c || die #503364 |
118 |
} |
119 |
|
120 |
src_configure() { |
121 |
local p myconf |
122 |
# Run configures in parallel! |
123 |
multijob_init |
124 |
for p in $(suite3270_makelist) ; do |
125 |
cd "${S}/${p}-${SUB_PV}" |
126 |
if [[ ${p} == "x3270" ]] ; then |
127 |
myconf=( |
128 |
--without-xmkmf |
129 |
$(use_with X x) |
130 |
$(use_with X fontdir "${FONTDIR}") |
131 |
) |
132 |
else |
133 |
myconf=() |
134 |
fi |
135 |
multijob_child_init econf \ |
136 |
--cache-file="${S}"/config.cache \ |
137 |
$(use_enable cjk dbcs) \ |
138 |
$(use_enable ssl) \ |
139 |
"${myconf[@]}" |
140 |
done |
141 |
sed \ |
142 |
-e "s:@SUBDIRS@:$(suite3270_makelist):" \ |
143 |
-e "s:@VER@:${SUB_PV}:" \ |
144 |
"${FILESDIR}"/Makefile.in > "${S}"/Makefile || die |
145 |
multijob_finish |
146 |
} |
147 |
|
148 |
src_install() { |
149 |
use X && dodir "${FONTDIR}" |
150 |
EXTRA_TARGETS='install.man' default |
151 |
local p |
152 |
for p in $(suite3270_makelist) ; do |
153 |
cd "${S}/${p}-${SUB_PV}" |
154 |
docinto ${p} |
155 |
local d=$(echo README*) |
156 |
[[ -n ${d} ]] && dodoc ${d} |
157 |
use doc && dohtml html/* |
158 |
done |
159 |
find "${ED}"/usr/share/man/ -type f -perm /1 -exec chmod a-x {} + |
160 |
|
161 |
use X && font_src_install |
162 |
} |
163 |
|
164 |
pkg_postinst() { use X && font_pkg_postinst ; } |
165 |
pkg_postrm() { use X && font_pkg_postrm ; } |