diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2007-05-12 03:03:47 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2007-05-12 03:03:47 +0000 |
commit | de223ef54bcb0ececa9f49e512d57c7bc3942749 (patch) | |
tree | a7daf4cafee595a62be4290dc6cfb3b4230d8d9e /net-misc/suite3270 | |
parent | Apache 1.X masking. (diff) | |
download | historical-de223ef54bcb0ececa9f49e512d57c7bc3942749.tar.gz historical-de223ef54bcb0ececa9f49e512d57c7bc3942749.tar.bz2 historical-de223ef54bcb0ececa9f49e512d57c7bc3942749.zip |
Version bump. Fixes bugs #177042, #150831, #155372, #171739 thanks to Jesse Farinacci <jieryn@gmail.com>. Please note the addition of Jesse as a proxy maintainer in the metadata as well.
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'net-misc/suite3270')
-rw-r--r-- | net-misc/suite3270/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/suite3270/Manifest | 32 | ||||
-rw-r--r-- | net-misc/suite3270/files/configure-3.3.5.patch | 72 | ||||
-rw-r--r-- | net-misc/suite3270/files/digest-suite3270-3.3.5_p8 | 3 | ||||
-rw-r--r-- | net-misc/suite3270/files/makeconv-3.3.5.patch | 79 | ||||
-rw-r--r-- | net-misc/suite3270/metadata.xml | 15 | ||||
-rw-r--r-- | net-misc/suite3270/suite3270-3.3.5_p8.ebuild | 92 |
7 files changed, 291 insertions, 13 deletions
diff --git a/net-misc/suite3270/ChangeLog b/net-misc/suite3270/ChangeLog index 521f457c27d6..ef166a17b889 100644 --- a/net-misc/suite3270/ChangeLog +++ b/net-misc/suite3270/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-misc/suite3270 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.13 2007/03/13 13:23:19 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.14 2007/05/12 03:03:47 robbat2 Exp $ + +*suite3270-3.3.5_p8 (12 May 2007) + + 12 May 2007; Robin H. Johnson <robbat2@gentoo.org> + +files/configure-3.3.5.patch, +files/makeconv-3.3.5.patch, metadata.xml, + +suite3270-3.3.5_p8.ebuild: + Version bump. Fixes bugs #177042, #150831, #155372, #171739 thanks to Jesse + Farinacci <jieryn@gmail.com>. Please note the addition of Jesse as a proxy + maintainer in the metadata as well. 13 Mar 2007; Raúl Porcel <armin76@gentoo.org> suite3270-3.3.4_p6.ebuild: x86 stable diff --git a/net-misc/suite3270/Manifest b/net-misc/suite3270/Manifest index 9c8538bdf80d..d43d814c0380 100644 --- a/net-misc/suite3270/Manifest +++ b/net-misc/suite3270/Manifest @@ -1,3 +1,12 @@ +AUX configure-3.3.5.patch 2695 RMD160 bfed8a0f0d86ae4164484f1adcd1fe5917f9a5f6 SHA1 00723cf4711aa454f66ccd822cb14cbddbab83b7 SHA256 7cae5b1c5223a80e6cb9f9bd11907ff797ba25c3428041d1ac3770f4c3c504ed +MD5 f987bc3e50f02596b4abff714a17a141 files/configure-3.3.5.patch 2695 +RMD160 bfed8a0f0d86ae4164484f1adcd1fe5917f9a5f6 files/configure-3.3.5.patch 2695 +SHA256 7cae5b1c5223a80e6cb9f9bd11907ff797ba25c3428041d1ac3770f4c3c504ed files/configure-3.3.5.patch 2695 +AUX makeconv-3.3.5.patch 3467 RMD160 067944c92a735f962ad84de560d4fa26b493f2f2 SHA1 f349b9419d65ea07b577da262c06e21ef4278c60 SHA256 320821f1bd97ecc585eecf1aebbafa876bf9280ee9ca740b9696826ab4493692 +MD5 f2a8f7017d39d29e3fbc2d2062cf3f7e files/makeconv-3.3.5.patch 3467 +RMD160 067944c92a735f962ad84de560d4fa26b493f2f2 files/makeconv-3.3.5.patch 3467 +SHA256 320821f1bd97ecc585eecf1aebbafa876bf9280ee9ca740b9696826ab4493692 files/makeconv-3.3.5.patch 3467 +DIST suite3270-3.3.5p8.tgz 3244414 RMD160 5f6b204d7c5898b07799178dd1c9d917201f21cf SHA1 2de880a3db12e3af27d2afc72ccb72254fb56dc4 SHA256 c33acfecab9b720d9fbc342d2c53c4c3ff999f67b6f2e387dd27b97f2c49eeed DIST suite3270-3220.tgz 1608609 RMD160 ceacf65218458a071cec3c2e08ece51cae6bbd46 SHA1 33aae3569952e4ea411de1a43af061ab33cbe1ec SHA256 89cafd6bc0da48b528476a4debce7945c4d8ac0432ef55edd3cb2488331679bf DIST suite3270-332p1.tgz 2161146 RMD160 e6f27eaa700b50cf8a9bcec3ab1bc13636d3fe89 SHA1 5d107ef1712c078178f8a65a5f4e9adbd9e56c27 SHA256 b8e8c7c009f2fabe01ff97d437f826f370d8df9107ab46b14e2aaa30f1d7d819 DIST suite3270-334p6.tgz 2763166 RMD160 66d7376be5496c64d85891a47753108369dfede0 SHA1 179cdfe386e281b01d72b6c7090672d66aa5606a SHA256 4f8bb1568670fd13b0eda83833b0bad9cc7495b48cbe9cff46728e50bab556cd @@ -13,14 +22,18 @@ EBUILD suite3270-3.3.4_p6.ebuild 3207 RMD160 d69dd09882bdca6525f53c9f5e1c8798c72 MD5 d76750794fa9fa6f884d32020276db79 suite3270-3.3.4_p6.ebuild 3207 RMD160 d69dd09882bdca6525f53c9f5e1c8798c72ad198 suite3270-3.3.4_p6.ebuild 3207 SHA256 93d3815437f2fe58ed4f619f45e7eb4212edf3bb8691aa465972b224c0b1e52e suite3270-3.3.4_p6.ebuild 3207 -MISC ChangeLog 1745 RMD160 0caab09258f879dda5d292ab746c9cddb58f29f7 SHA1 3968e10736e2b5e1df20dee6f5766f6e7cd8090d SHA256 27fe5efefc165d37929b98c090dfc86c465f6dc3c0d6ce4c8a07cfe4f1f10b14 -MD5 d399520baafd349c7346191fb754fb33 ChangeLog 1745 -RMD160 0caab09258f879dda5d292ab746c9cddb58f29f7 ChangeLog 1745 -SHA256 27fe5efefc165d37929b98c090dfc86c465f6dc3c0d6ce4c8a07cfe4f1f10b14 ChangeLog 1745 -MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 -MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223 -RMD160 ffa99612cf27469c417944deed0e0c9155e64331 metadata.xml 223 -SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 metadata.xml 223 +EBUILD suite3270-3.3.5_p8.ebuild 2237 RMD160 33ed982cce000390f415ea083d68e48efc6a4357 SHA1 4f4a0fdc4e809875b68fb05e65bd4a390c382add SHA256 c27803c3982686c9d74fc49b2a3bded3d5a2fb9c34c6f611ec6f61507312c13e +MD5 5e6c822e2eb011f8a348ec3faca90ea3 suite3270-3.3.5_p8.ebuild 2237 +RMD160 33ed982cce000390f415ea083d68e48efc6a4357 suite3270-3.3.5_p8.ebuild 2237 +SHA256 c27803c3982686c9d74fc49b2a3bded3d5a2fb9c34c6f611ec6f61507312c13e suite3270-3.3.5_p8.ebuild 2237 +MISC ChangeLog 2132 RMD160 07b6947e2d7f80b39617ddaf80b05207b007b903 SHA1 d3b101b0209c512bf0cbfae093cb3c764e37841a SHA256 603b3935f3fbdc861a172db65e01dd2e602dc84374a7976adb7e6577665f3186 +MD5 f4e5ab679521bbc66a235efbe509b5d4 ChangeLog 2132 +RMD160 07b6947e2d7f80b39617ddaf80b05207b007b903 ChangeLog 2132 +SHA256 603b3935f3fbdc861a172db65e01dd2e602dc84374a7976adb7e6577665f3186 ChangeLog 2132 +MISC metadata.xml 482 RMD160 7fc419fab5394897351e5461ee492164549b9edc SHA1 c8d14dfbbad0f4cd3d7756e3147c5cdaf41efd1e SHA256 95e3b9f880bbed9a36738693c42b0b96693d5f49bd6d60321d4ef227f1f5ac38 +MD5 d7f9c7e89db83e4a9516edb7f254a0c4 metadata.xml 482 +RMD160 7fc419fab5394897351e5461ee492164549b9edc metadata.xml 482 +SHA256 95e3b9f880bbed9a36738693c42b0b96693d5f49bd6d60321d4ef227f1f5ac38 metadata.xml 482 MD5 c11bc4c3a074fcce59b5be07ba64d0f0 files/digest-suite3270-3.2.20 238 RMD160 80853ba418fd5529d9c25661198d544470d836de files/digest-suite3270-3.2.20 238 SHA256 188d744baaffccf482163a2e33008688dc3dbf6ca21507307d2c594d622f1740 files/digest-suite3270-3.2.20 238 @@ -30,3 +43,6 @@ SHA256 afe66db361a812c7e3788f659a35a71f5af9cb788f8ee1d8c272449c90ff168f files/di MD5 ed3f305d36b01685e0793fcc551bb95f files/digest-suite3270-3.3.4_p6 241 RMD160 07fb7949cbffba2c50810b366279c0834b6d1a1e files/digest-suite3270-3.3.4_p6 241 SHA256 3fc4dd68fdde3ccb4cb3855377693a81f95340e7c95ad8ecf0613bf8be621788 files/digest-suite3270-3.3.4_p6 241 +MD5 0aa510afc3ecf6b0d3171c9a34015f4f files/digest-suite3270-3.3.5_p8 247 +RMD160 17d0e6866cbd6383f7a5723f98f02534951c10f4 files/digest-suite3270-3.3.5_p8 247 +SHA256 eca601cb3023c94726f335a9e3ddfb3b48a5854d2a063c7818ab80f276fa125a files/digest-suite3270-3.3.5_p8 247 diff --git a/net-misc/suite3270/files/configure-3.3.5.patch b/net-misc/suite3270/files/configure-3.3.5.patch new file mode 100644 index 000000000000..e255ec68cfe8 --- /dev/null +++ b/net-misc/suite3270/files/configure-3.3.5.patch @@ -0,0 +1,72 @@ +From: Jesse Farinacci <jieryn@gmail.com> +Date: 11 May 2007 +Gentoo-bug: 177042 + +The configure scripts that build ICU need to include stdio.h. + +diff -Naur pr3287-3.3/configure pr3287-3.3/configure +--- pr3287-3.3/configure 2007-05-11 12:22:27.622502551 -0400 ++++ pr3287-3.3/configure 2007-05-11 12:24:16.842559358 -0400 +@@ -3134,6 +3134,7 @@ + then echo "$as_me:$LINENO: checking for ICU version strings" >&5 + echo $ECHO_N "checking for ICU version strings... $ECHO_C" >&6 + cat >/tmp/icutst$$.c <<EOF ++#include <stdio.h> + #include "unicode/ucnv.h" + #define xstr(s) str(s) + #define str(s) #s +diff -Naur pr3287-3.3/configure.in pr3287-3.3/configure.in +--- pr3287-3.3/configure.in 2007-05-11 12:22:27.622502551 -0400 ++++ pr3287-3.3/configure.in 2007-05-11 12:24:00.080240453 -0400 +@@ -146,6 +146,7 @@ + if test "$enable_dbcs" != no + then AC_MSG_CHECKING([for ICU version strings]) + cat >/tmp/icutst$$.c <<EOF ++#include <stdio.h> + #include "unicode/ucnv.h" + #define xstr(s) str(s) + #define str(s) #s +diff -Naur s3270-3.3/configure s3270-3.3/configure +--- s3270-3.3/configure 2007-05-11 12:22:27.619169419 -0400 ++++ s3270-3.3/configure 2007-05-11 12:24:16.895889464 -0400 +@@ -3608,6 +3608,7 @@ + then echo "$as_me:$LINENO: checking for ICU version strings" >&5 + echo $ECHO_N "checking for ICU version strings... $ECHO_C" >&6 + cat >/tmp/icutst$$.c <<EOF ++#include <stdio.h> + #include "unicode/ucnv.h" + #define xstr(s) str(s) + #define str(s) #s +diff -Naur s3270-3.3/configure.in s3270-3.3/configure.in +--- s3270-3.3/configure.in 2007-05-11 12:22:27.619169419 -0400 ++++ s3270-3.3/configure.in 2007-05-11 12:24:00.080240453 -0400 +@@ -120,6 +120,7 @@ + if test "$enable_dbcs" != no + then AC_MSG_CHECKING([for ICU version strings]) + cat >/tmp/icutst$$.c <<EOF ++#include <stdio.h> + #include "unicode/ucnv.h" + #define xstr(s) str(s) + #define str(s) #s +diff -Naur tcl3270-3.3/configure tcl3270-3.3/configure +--- tcl3270-3.3/configure 2007-05-11 12:22:27.609170024 -0400 ++++ tcl3270-3.3/configure 2007-05-11 12:24:16.902555727 -0400 +@@ -4234,6 +4234,7 @@ + then echo "$as_me:$LINENO: checking for ICU version strings" >&5 + echo $ECHO_N "checking for ICU version strings... $ECHO_C" >&6 + cat >/tmp/icutst$$.c <<EOF ++#include <stdio.h> + #include "unicode/ucnv.h" + #define xstr(s) str(s) + #define str(s) #s +diff -Naur tcl3270-3.3/configure.in tcl3270-3.3/configure.in +--- tcl3270-3.3/configure.in 2007-05-11 12:22:27.605836893 -0400 ++++ tcl3270-3.3/configure.in 2007-05-11 12:24:00.080240453 -0400 +@@ -149,6 +149,7 @@ + if test "$enable_dbcs" != no + then AC_MSG_CHECKING([for ICU version strings]) + cat >/tmp/icutst$$.c <<EOF ++#include <stdio.h> + #include "unicode/ucnv.h" + #define xstr(s) str(s) + #define str(s) #s diff --git a/net-misc/suite3270/files/digest-suite3270-3.3.5_p8 b/net-misc/suite3270/files/digest-suite3270-3.3.5_p8 new file mode 100644 index 000000000000..fc5f2bb7ac39 --- /dev/null +++ b/net-misc/suite3270/files/digest-suite3270-3.3.5_p8 @@ -0,0 +1,3 @@ +MD5 8a7bba1717074d138efdff6bd79203e6 suite3270-3.3.5p8.tgz 3244414 +RMD160 5f6b204d7c5898b07799178dd1c9d917201f21cf suite3270-3.3.5p8.tgz 3244414 +SHA256 c33acfecab9b720d9fbc342d2c53c4c3ff999f67b6f2e387dd27b97f2c49eeed suite3270-3.3.5p8.tgz 3244414 diff --git a/net-misc/suite3270/files/makeconv-3.3.5.patch b/net-misc/suite3270/files/makeconv-3.3.5.patch new file mode 100644 index 000000000000..5076a1eeaae3 --- /dev/null +++ b/net-misc/suite3270/files/makeconv-3.3.5.patch @@ -0,0 +1,79 @@ +From: Jesse Farinacci <jieryn@gmail.com> +Date: 11 May 2007 +Gentoo-bug: 177042 + +Gentoo's makeconv does not have the -p PREFIX support, so do some mv work +instead. + +--- c3270-3.3/Makefile.in 2007-02-25 10:53:17.566179262 +0100 ++++ c3270-3.3/Makefile.in 2007-02-25 10:56:11.983434901 +0100 +@@ -67,13 +67,17 @@ + + @CNV@all:: $(ICU_CNV) + @CNV@$(IDP)_ibm-837_P100-2000.cnv: ibm-837_P100-2000.ucm +-@CNV@ makeconv -d . -p $(IDP) ibm-837_P100-2000.ucm ++@CNV@ makeconv -d . ibm-837_P100-2000.ucm ++@CNV@ mv ibm-837_P100-2000.cnv $(IDP)_ibm-837_P100-2000.cnv + @CNV@$(IDP)_ibm-300_P110-1997.cnv: ibm-300_P110-1997.ucm +-@CNV@ makeconv -d . -p $(IDP) ibm-300_P110-1997.ucm ++@CNV@ makeconv -d . ibm-300_P110-1997.ucm ++@CNV@ mv ibm-300_P110-1997.cnv $(IDP)_ibm-300_P110-1997.cnv + @CNV@$(IDP)_ibm-1027_P100-1995.cnv: ibm-1027_P100-1995.ucm +-@CNV@ makeconv -d . -p $(IDP) ibm-1027_P100-1995.ucm ++@CNV@ makeconv -d . ibm-1027_P100-1995.ucm ++@CNV@ mv ibm-1027_P100-1995.cnv $(IDP)_ibm-1027_P100-1995.cnv + @CNV@$(IDP)_ibm-1385_P100-1997.cnv: ibm-1385_P100-1997.ucm +-@CNV@ makeconv -d . -p $(IDP) ibm-1385_P100-1997.ucm ++@CNV@ makeconv -d . ibm-1385_P100-1997.ucm ++@CNV@ mv ibm-1385_P100-1997.cnv $(IDP)_ibm-1385_P100-1997.cnv + + install:: c3270 x3270if + [ -d $(DESTDIR)$(BINDIR) ] || \ +--- s3270-3.3/Makefile.in 2007-02-25 11:19:35.987347863 +0100 ++++ s3270-3.3/Makefile.in 2007-02-25 11:20:43.391134616 +0100 +@@ -64,13 +64,17 @@ + + @CNV@all:: $(ICU_CNV) + @CNV@$(IDP)_ibm-837_P100-2000.cnv: ibm-837_P100-2000.ucm +-@CNV@ makeconv -d . -p $(IDP) ibm-837_P100-2000.ucm ++@CNV@ makeconv -d . ibm-837_P100-2000.ucm ++@CNV@ mv ibm-837_P100-2000.cnv $(IDP)_ibm-837_P100-2000.cnv + @CNV@$(IDP)_ibm-300_P110-1997.cnv: ibm-300_P110-1997.ucm +-@CNV@ makeconv -d . -p $(IDP) ibm-300_P110-1997.ucm ++@CNV@ makeconv -d . ibm-300_P110-1997.ucm ++@CNV@ mv ibm-300_P110-1997.cnv $(IDP)_ibm-300_P110-1997.cnv + @CNV@$(IDP)_ibm-1027_P100-1995.cnv: ibm-1027_P100-1995.ucm +-@CNV@ makeconv -d . -p $(IDP) ibm-1027_P100-1995.ucm ++@CNV@ makeconv -d . ibm-1027_P100-1995.ucm ++@CNV@ mv ibm-1027_P100-1995.cnv $(IDP)_ibm-1027_P100-1995.cnv + @CNV@$(IDP)_ibm-1385_P100-1997.cnv: ibm-1385_P100-1997.ucm +-@CNV@ makeconv -d . -p $(IDP) ibm-1385_P100-1997.ucm ++@CNV@ makeconv -d . ibm-1385_P100-1997.ucm ++@CNV@ mv ibm-1385_P100-1997.cnv $(IDP)_ibm-1385_P100-1997.cnv + + install:: s3270 x3270if + [ -d $(DESTDIR)$(BINDIR) ] || \ +--- tcl3270-3.3/Makefile.in 2007-02-25 11:21:30.416799814 +0100 ++++ tcl3270-3.3/Makefile.in 2007-02-25 11:22:46.829756107 +0100 +@@ -63,13 +63,17 @@ + + @CNV@all:: $(ICU_CNV) + @CNV@$(IDP)_ibm-837_P100-2000.cnv: ibm-837_P100-2000.ucm +-@CNV@ makeconv -d . -p $(IDP) ibm-837_P100-2000.ucm ++@CNV@ makeconv -d . ibm-837_P100-2000.ucm ++@CNV@ mv ibm-837_P100-2000.cnv $(IDP)_ibm-837_P100-2000.cnv + @CNV@$(IDP)_ibm-300_P110-1997.cnv: ibm-300_P110-1997.ucm +-@CNV@ makeconv -d . -p $(IDP) ibm-300_P110-1997.ucm ++@CNV@ makeconv -d . ibm-300_P110-1997.ucm ++@CNV@ mv ibm-300_P110-1997.cnv $(IDP)_ibm-300_P110-1997.cnv + @CNV@$(IDP)_ibm-1027_P100-1995.cnv: ibm-1027_P100-1995.ucm +-@CNV@ makeconv -d . -p $(IDP) ibm-1027_P100-1995.ucm ++@CNV@ makeconv -d . ibm-1027_P100-1995.ucm ++@CNV@ mv ibm-1027_P100-1995.cnv $(IDP)_ibm-1027_P100-1995.cnv + @CNV@$(IDP)_ibm-1385_P100-1997.cnv: ibm-1385_P100-1997.ucm +-@CNV@ makeconv -d . -p $(IDP) ibm-1385_P100-1997.ucm ++@CNV@ makeconv -d . ibm-1385_P100-1997.ucm ++@CNV@ mv ibm-1385_P100-1997.cnv $(IDP)_ibm-1385_P100-1997.cnv + + install:: tcl3270 + [ -d $(DESTDIR)$(BINDIR) ] || \ diff --git a/net-misc/suite3270/metadata.xml b/net-misc/suite3270/metadata.xml index 5d9f5be9d49d..b3f96620f9ad 100644 --- a/net-misc/suite3270/metadata.xml +++ b/net-misc/suite3270/metadata.xml @@ -1,8 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>no-herd</herd> -<maintainer> - <email>robbat2@gentoo.org</email> -</maintainer> + <herd>no-herd</herd> + <maintainer> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + <description>Maintainer</description> + </maintainer> + <maintainer> + <email>jieryn@gmail.com</email> + <name>Jesse Farinacci</name> + <description>Maintainer by proxy, please CC on all bugs.</description> + </maintainer> </pkgmetadata> diff --git a/net-misc/suite3270/suite3270-3.3.5_p8.ebuild b/net-misc/suite3270/suite3270-3.3.5_p8.ebuild new file mode 100644 index 000000000000..6b0302c10228 --- /dev/null +++ b/net-misc/suite3270/suite3270-3.3.5_p8.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/suite3270-3.3.5_p8.ebuild,v 1.1 2007/05/12 03:03:47 robbat2 Exp $ + +inherit eutils + +IUSE="cjk doc ncurses ssl tcl X" + +S="${WORKDIR}" +DESCRIPTION="Complete 3270 access package" +SRC_URI="http://x3270.bgp.nu/download/${PN}-${PV/_/}.tgz" +HOMEPAGE="http://www.geocities.com/SiliconValley/Peaks/7814/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86" + +RDEPEND="X? ( x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXmu + x11-libs/libXt ) + cjk? ( dev-libs/icu ) + ncurses? ( sys-libs/ncurses + sys-libs/readline ) + ssl? ( dev-libs/openssl ) + tcl? ( dev-lang/tcl )" + +DEPEND="${RDEPEND} + X? ( x11-misc/imake + x11-proto/xproto + app-text/rman + x11-apps/mkfontdir + x11-apps/bdftopcf )" + +SUB_PV="3.3" +MY_FONTDIR="/usr/share/fonts/x3270" + +suite3270_makelist() { + MY_PLIST="pr3287 s3270" + use ncurses && MY_PLIST="${MY_PLIST} c3270" + use tcl && MY_PLIST="${MY_PLIST} tcl3270" + use X && MY_PLIST="${MY_PLIST} x3270" +} + +src_unpack() { + unpack ${A} + cd "${S}" + # Patches were sent upstream to maintainer + # as of 11 May 2007, by Jesse Farinacci <jieryn@gmail.com> + epatch ${FILESDIR}/configure-3.3.5.patch + use cjk && epatch ${FILESDIR}/makeconv-3.3.5.patch + return 0 +} + +src_compile() { + local myconf + + myconf="--without-pr3287" + myconf="${myconf} --cache-file=${S}/config.cache" + myconf="${myconf} $(use_enable cjk dbcs)" + myconf="${myconf} $(use_enable ssl)" + myconf="${myconf} $(use_with X x)" + myconf="${myconf} $(use_with X fontdir ${MY_FONTDIR})" + + suite3270_makelist + for p in ${MY_PLIST} ; do + cd "${S}/${p}-${SUB_PV}" + econf ${myconf} || die "econf failed on ${p}" + emake || die "emake faild on ${p}" + done +} + +src_install () { + suite3270_makelist + use X && dodir ${MY_FONTDIR} + for p in ${MY_PLIST} ; do + cd "${S}/${p}-${SUB_PV}" + emake -j1 DESTDIR="${D}" install install.man \ + || die "emake failed on ${p}" + use doc && docinto ${p} && dohtml html/* + done + + use X && rm -f "${D}/${MY_FONTDIR}/fonts.dir" + return 0 +} + +pkg_postinst() { + if use X ; then + einfo "Running mkfontdir on ${MY_FONTDIR}" + mkfontdir ${MY_FONTDIR} + fi +} |