1 |
vapier 14/01/24 23:55:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: suite3270-3.3.14_p6.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
9 |
|
10 |
Revision Changes Path |
11 |
1.54 net-misc/suite3270/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.54&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.54&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/ChangeLog?r1=1.53&r2=1.54 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v |
20 |
retrieving revision 1.53 |
21 |
retrieving revision 1.54 |
22 |
diff -u -r1.53 -r1.54 |
23 |
--- ChangeLog 16 Jan 2014 03:04:39 -0000 1.53 |
24 |
+++ ChangeLog 24 Jan 2014 23:55:17 -0000 1.54 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-misc/suite3270 |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.53 2014/01/16 03:04:39 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.54 2014/01/24 23:55:17 vapier Exp $ |
30 |
+ |
31 |
+*suite3270-3.3.14_p6 (24 Jan 2014) |
32 |
+ |
33 |
+ 24 Jan 2014; Mike Frysinger <vapier@g.o> +suite3270-3.3.14_p6.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*suite3270-3.3.13_p7 (16 Jan 2014) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/suite3270/suite3270-3.3.14_p6.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/suite3270-3.3.14_p6.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/suite3270-3.3.14_p6.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: suite3270-3.3.14_p6.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 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.14_p6.ebuild,v 1.1 2014/01/24 23:55:16 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 )" |
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 |
|
116 |
src_configure() { |
117 |
local p myconf |
118 |
# Run configures in parallel! |
119 |
multijob_init |
120 |
for p in $(suite3270_makelist) ; do |
121 |
cd "${S}/${p}-${SUB_PV}" |
122 |
if [[ ${p} == "x3270" ]] ; then |
123 |
myconf=( |
124 |
--without-xmkmf |
125 |
$(use_with X x) |
126 |
$(use_with X fontdir "${FONTDIR}") |
127 |
) |
128 |
else |
129 |
myconf=() |
130 |
fi |
131 |
multijob_child_init econf \ |
132 |
--cache-file="${S}"/config.cache \ |
133 |
$(use_enable cjk dbcs) \ |
134 |
$(use_enable ssl) \ |
135 |
"${myconf[@]}" |
136 |
done |
137 |
sed \ |
138 |
-e "s:@SUBDIRS@:$(suite3270_makelist):" \ |
139 |
-e "s:@VER@:${SUB_PV}:" \ |
140 |
"${FILESDIR}"/Makefile.in > "${S}"/Makefile || die |
141 |
multijob_finish |
142 |
} |
143 |
|
144 |
src_install() { |
145 |
use X && dodir "${FONTDIR}" |
146 |
EXTRA_TARGETS='install.man' default |
147 |
local p |
148 |
for p in $(suite3270_makelist) ; do |
149 |
cd "${S}/${p}-${SUB_PV}" |
150 |
docinto ${p} |
151 |
local d=$(echo README*) |
152 |
[[ -n ${d} ]] && dodoc ${d} |
153 |
use doc && dohtml html/* |
154 |
done |
155 |
find "${ED}"/usr/share/man/ -type f -perm /1 -exec chmod a-x {} + |
156 |
|
157 |
use X && font_src_install |
158 |
} |
159 |
|
160 |
pkg_postinst() { use X && font_pkg_postinst ; } |
161 |
pkg_postrm() { use X && font_pkg_postrm ; } |