summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-09-25 15:14:21 +0000
committerJustin Lecher <jlec@gentoo.org>2013-09-25 15:14:21 +0000
commit5492de86f55c1e5306628a41ec5b37b732078294 (patch)
tree32672c844a01884f32d19d3eef4b39138a188619 /dev-lang
parentdev-lang/tcl: Version Bump (diff)
downloadhistorical-5492de86f55c1e5306628a41ec5b37b732078294.tar.gz
historical-5492de86f55c1e5306628a41ec5b37b732078294.tar.bz2
historical-5492de86f55c1e5306628a41ec5b37b732078294.zip
dev-lang/tk: Version Bump
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/tk/ChangeLog9
-rw-r--r--dev-lang/tk/Manifest24
-rw-r--r--dev-lang/tk/tk-8.5.15.ebuild124
-rw-r--r--dev-lang/tk/tk-8.6.1.ebuild134
4 files changed, 285 insertions, 6 deletions
diff --git a/dev-lang/tk/ChangeLog b/dev-lang/tk/ChangeLog
index b89984ceb0d8..8209b80fc9a7 100644
--- a/dev-lang/tk/ChangeLog
+++ b/dev-lang/tk/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/tk
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v 1.195 2013/05/02 10:37:42 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v 1.196 2013/09/25 15:14:20 jlec Exp $
+
+*tk-8.6.1 (25 Sep 2013)
+*tk-8.5.15 (25 Sep 2013)
+
+ 25 Sep 2013; Justin Lecher <jlec@gentoo.org> +tk-8.5.15.ebuild,
+ +tk-8.6.1.ebuild:
+ Version Bump
*tk-8.5.14 (02 May 2013)
diff --git a/dev-lang/tk/Manifest b/dev-lang/tk/Manifest
index f77b6040c2d1..70a04c1941c6 100644
--- a/dev-lang/tk/Manifest
+++ b/dev-lang/tk/Manifest
@@ -17,16 +17,30 @@ AUX tk-8.5_alpha6-tclm4-soname.patch 540 SHA256 6e6a6d9ae62040cc2f386c92854cb59e
AUX tk-configure-LANG.patch 1686 SHA256 dc9386b88eac48c282d63d0be7e7be81d4a0a08035a8b97138a61133e057bcea SHA512 6b097d9406f0faf5d0332c48a72d5654063fe29e37ec2d3bc2f425e98f26d117d39769c43ae39ee731f094a47912bf1dd24259fcc4a5b5326b1e2c4313c89c56 WHIRLPOOL 40cf52a3a9c97012be36a6e11054c3c418c692cb9292350baefecee621ecbff12b65f7b0edcde86e14600aea4c43daf607806c374b650d3f82142870b0da4da2
DIST tk8.5.13-src.tar.gz 4086092 SHA256 9e83ba2704ad73a65986eb7cdc51e432a5db6eca8d8691e33caceef40ed0c563 SHA512 5b705026d3d80c35bd60311c3df5489a7970c1648f98d843d6ee57c9336de5e63aed488f670f15f2c0bffccbc2402cc98c383c057b7d86f1db4c36340e34e209 WHIRLPOOL e523bfa0ce407f4d5157df7fee93c6d60012bf5b46a4cbd4e4692ad0ce872650563d12db11bfa94ba19b0a5aad1ef9fdd4b02dfb11f0de253839c69adb26a718
DIST tk8.5.14-src.tar.gz 4093990 SHA256 9a7ba8ce73f8a329bde894954e70f9345cbb07aac1d7e674683c47270b32e1a1 SHA512 06bc8bd720aceb60995c829609d0f78fd5378ed6b0c3eb3c44e7bea3022502cdb8acec29ae9dc332fa43c838eea06b591ed0f6c5a67c7e20cd8b888316d857a6 WHIRLPOOL 3692acebe8bc0c4b9cd379e1dfe4a7e3f29c3aaddca4dcb988b2090826600b340605e5e1d6e554a29fdd2927e64c4d128d89dff979fb792c7f02a53ae739fa46
+DIST tk8.5.15-src.tar.gz 4086650 SHA256 815c6706d0b4fdd432fe16b82e7b9adfa1f057c44edd11d28f7c4b0ac104323f SHA512 9c8c42135b918f551e3e5ce479f2c8583749d34db5985a21e583c8f0aa2637eaa4ae0f47ce7b395f72ec929edd758c53326c96a23dac5f70a6f86eb63584dca5 WHIRLPOOL 6aca2bfab54155f573bfa9b07ce0767ff8f6da227e2845c03a81d964808e25b9a6483301692934a40ea2d9ddfc7d7193c2131ef775f84c9b164f35a6a0900008
DIST tk8.6.0-src.tar.gz 4239836 SHA256 5c708b2b6f658916df59190b27750fa1ea2bc10992108e10f961c0700f058de6 SHA512 e78c3f3a8dacd6c1aaa4587f7e4e2a2a6a5adf3957c89bf450cea82d85701242729ccf6232cef71138685926f6a44fe683aa6425d0c4738326637e88b3d9e38d WHIRLPOOL 8344adaa74913eb3dd13d8240a451ebdfe0225a67ea7516e18d4a3920b2e448380c53fe6d2916e36518b3e9b02df0e15c41c9e1a6f1ca30f1b6790a408fdf30b
+DIST tk8.6.1-src.tar.gz 4244010 SHA256 b691a2e84907392918665fe03a0deb913663a026bed2162185b4a9a14898162c SHA512 f05879924371bae7059ccf84b49b16748b3c2c1438ddcfbc4797a7552779947b0c733ada8c9abd739b3b00d16e9e76b407269213f87b6fc81bb29796581a8447 WHIRLPOOL 5d95b5ec0d9c778b445c60ac24b056306e7c32086cd073ecaef000327c9c5d6f639ce1c3762b3047192a3859249714f434a0e05ce9275624b1a3f6d5127c905c
EBUILD tk-8.5.13-r1.ebuild 3652 SHA256 a1ce6872e84379f287de37dc247d996c8599ec51d14440a85bb6a9b098cb8bde SHA512 60bf657400a6677a8c28ee38da6ef647ec5ffa9b6c7d281268e29563e62ba0d5b331709e53764450bf5bf4adb053ecec6184ff53c0b0549f9078802eb979ff9c WHIRLPOOL b534fb04ae39bca427f4deada2a2cc13dbb90e8d87c6e9330f5bdfefd93460470bc00e485cd0d669a48bd744063eaeb44d6c297de020f729736c56b980302324
EBUILD tk-8.5.14.ebuild 3692 SHA256 b34a7e8da95c6581a123424fcad54292aa698b3d846902238bf07be672b564bc SHA512 7e5f72977ad8b17da60d338cd8bc84a37878244ba1ab2ed9bf2b24ebb020409e95e6e5f594b369a8e9cd4ab2d968250b18c662bb1e309e86a2ae26448b4e060d WHIRLPOOL 39e454174dd0711efc17e99a00132835c5a7f20eedff2713698bfbf69e24954ef9aa8f1e8aac6a0db7dd7ad2a5fc71d91a453dc391b99a83a75f1413f2b6397b
+EBUILD tk-8.5.15.ebuild 3700 SHA256 0390dcb756d658efaa105883826e5e631fcd9595b0aee6f981a512373a6c1345 SHA512 f4c5d68a6efa1651e4bc7a0fd402024556b51b8f6a3a287f0be91c0e096e244048c03b8f8f2824cd555372e048480ca122a7023cbc96f512fd2cbccc663b0871 WHIRLPOOL 1b18a277a5afe9ca2280323068d74d8e64148f3dd132aba2e7dd30300d0117c540a2cf9bb326f62167df41169105a3b141b47bf1becaf0956b64f779bbba2b4c
EBUILD tk-8.6.0.ebuild 3831 SHA256 d88e0a5acc1c31a0073b085c8ccd3a777d1c6b79295324355a2e22d92ccc812e SHA512 0b445c185d04b5f3718482f055d2c91aaf6caec329e06b7a24b4dcce6e3be126b32836698f0e3c269520c6dd4591052d597d66adde84e80c30882decc68ca342 WHIRLPOOL 6cea224bd9cd5a5e89300e2f3f9b5362e41c207316abb7e7e08460139ff1d28fd6e74917a028f762fe881b08736965de281a365c0b89422e3a51f45711071ad9
-MISC ChangeLog 26027 SHA256 3b2f25c9485560ab2fffd2569350830bb35c3639e8d348b705a45ec6524eded5 SHA512 dc9e75096366cc2d6ce9d3987927b8160c68ceb1727b717198e3645dc9d931c14fdff48cb7ac0bc5552f4b82de389b3b0f951220f74e5c9a7b50668cadabd56b WHIRLPOOL b045350d2b00d65cb8bb6aa8d71473052115207bb654cbd5f7b673778d3e775b0b317e59a9f538570bd00c0e7fb681736f8165f615965ac3ef1496b3d6ab2c63
+EBUILD tk-8.6.1.ebuild 3829 SHA256 171b8134eac7e672a1d08a563d6708e46bde4803b0e6688668f81ac0c1bb448a SHA512 b4748b02a114b155babb6ae7dcd992ea5686dc2d893662382b9fb6ac2e483ae9f4f21a57629ca47001a02b07b425ec6baf9b49f34c19f959df5c057933130f97 WHIRLPOOL 6cf3bcd288c601739d2eeeead866747bffe9dd0ea726aba062c0f842a1648ad5595a6d0b505a0e8f1784bd6a4a1d4068a2f9354f69956830d3ff58a00e0af37d
+MISC ChangeLog 26179 SHA256 884854ba0c63e2d479104c92742b370cd6c5012ed4905a2b5b179d0254d37b48 SHA512 f57fad9a1049347497489136323179f38542c7eda9ac40ffe9ae7524f38d1029af3dfa539582c955e60421df91c6e17a009d488ec5ce256981b1a8fe73652253 WHIRLPOOL de9f6f4c0b58f77eb455a96a30abfcc987394e37f0af279d3c517b9113fa601eeb9da07f3f803e4b0dfc07a6e589a3e602656b30c5b8c88971f72b9f811a0ab4
MISC metadata.xml 160 SHA256 225a6f78d287329cdf2f4ed57468be28bd6565fd9a62207c2cc48e25ac9d3537 SHA512 a50627bda9ed953daf422b5a2e89b5b64e296d1a023d767c8a4ebb2cd51cd0036cecce455762a54e7d669f94d17d9de21052bac94fc08b1365ef42eb2f267742 WHIRLPOOL 61fa22d50aaf2bdecc467e26c9675cf7949ad55a4a8821730c91d1bd73f83fc4c35660851961310efa450e337a7ef572a925e186b8b05984d6315efc509fd365
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.21 (GNU/Linux)
-iEYEAREKAAYFAlGCQfcACgkQgAnW8HDreRbgjACgva0NKiYNxvZRASm4OSPR6NcW
-2ccAniQ1sOvmFMGwIfXs8yHiFJ3cE/mG
-=emr3
+iQIcBAEBCgAGBQJSQv29AAoJELnU8jG9FVirtd8P/3EO1CuL5wY69B3Wwcz3IC9j
+AjakjJdMrv8dB1LZmMOqOGQSwa7qGzqSRsK51CAZRFjzacEq4Lx8aRRcOaGnqbXO
+L+0ZjQ6QHpK1mkVx4QRT6P4eMiYwjxtMwzCBcwfKMwhayzgEG5M9V6uDQ5OUW9nG
+cNBBvEaYUQqNjD9dICb5N7ABc3ymMOuidtXavy66nZ5agdOJwsByZZux9a8cGaQY
+uuRMolzLYb1gLKg4lkTt8TfxuN4JY9gItg6xNXwa/IDqRiMFl4yfddM5Lfn+Jq0A
+wiYzTj9IDK1aHPg7g/CEkO5Q4EDsLWyEPn3tTO0tRLDH5QgmQQp/DXrZPbpSXtKK
+VGd/8s9gRjDXYq46VhzPApktUM8lYH95tXTKlASplfVAEesizd4Je3ZIlVkVoINu
+b5IghcSVcDUOOYPDcubHOKAZ2TtAokLVHMu9VjxaGoq8w0DHX/AJUaMydVXlIYoc
+hs4Ry8AtZUib43kJT/OAWMJR08jwiLr3jwcSwhYQSkeC6L3J7dmkiWW/MSl7SNXw
+213F4b1j6HEixhqSgs73UTq+6BWxYVSnpRMtthh2uKw1yOUXKoj/yGW0tqaFHp3z
+DZM2tCRNFJWA0gNufRrJqMAmxJ6CC1IOuOYiEvIRC40F8kTsbx/JF1/on+YDtLtD
+PC84HUumyNiMXmQTom80
+=CTQd
-----END PGP SIGNATURE-----
diff --git a/dev-lang/tk/tk-8.5.15.ebuild b/dev-lang/tk/tk-8.5.15.ebuild
new file mode 100644
index 000000000000..8ac76ac665af
--- /dev/null
+++ b/dev-lang/tk/tk-8.5.15.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.5.15.ebuild,v 1.1 2013/09/25 15:14:20 jlec Exp $
+
+EAPI=5
+
+inherit autotools eutils multilib prefix toolchain-funcs versionator virtualx
+
+MY_P="${PN}${PV/_beta/b}"
+
+DESCRIPTION="Tk Widget Set"
+HOMEPAGE="http://www.tcl.tk/"
+SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
+
+LICENSE="tcltk"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="debug threads truetype aqua xscreensaver"
+
+RDEPEND="
+ !aqua? (
+ media-libs/fontconfig
+ media-libs/freetype:2
+ x11-libs/libX11
+ x11-libs/libXt
+ truetype? ( x11-libs/libXft )
+ xscreensaver? ( x11-libs/libXScrnSaver )
+ )
+ ~dev-lang/tcl-${PV}"
+DEPEND="${RDEPEND}
+ !aqua? ( x11-proto/xproto )"
+
+SPARENT="${WORKDIR}/${MY_P}"
+S="${SPARENT}"/unix
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-8.5.11-fedora-xft.patch \
+ "${FILESDIR}"/${PN}-8.5.13-multilib.patch
+
+ epatch "${FILESDIR}"/${PN}-8.4.15-aqua.patch
+ eprefixify Makefile.in
+
+ # Bug 125971
+ epatch "${FILESDIR}"/${PN}-8.5.14-conf.patch
+
+ # Bug 354067 : the same applies to tcl, since the patch is about tcl.m4, just
+ # copy the tcl patch
+ epatch "${FILESDIR}"/tcl-8.5.9-gentoo-fbsd.patch
+
+ # Make sure we use the right pkg-config, and link against fontconfig
+ # (since the code base uses Fc* functions).
+ sed \
+ -e 's/FT_New_Face/XftFontOpen/g' \
+ -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
+ -e 's:xft freetype2:xft freetype2 fontconfig:' \
+ -i configure.in || die
+ rm -f configure || die
+
+ tc-export CC
+
+ eautoconf
+}
+
+src_configure() {
+ local mylibdir=$(get_libdir)
+
+ econf \
+ --with-tcl="${EPREFIX}/usr/${mylibdir}" \
+ $(use_enable threads) \
+ $(use_enable aqua) \
+ $(use_enable truetype xft) \
+ $(use_enable xscreensaver xss) \
+ $(use_enable debug symbols)
+}
+
+src_test() {
+ Xemake test
+}
+
+src_install() {
+ #short version number
+ local v1=$(get_version_component_range 1-2)
+ local mylibdir=$(get_libdir)
+
+ S= default
+
+ # normalize $S path, bug #280766 (pkgcore)
+ local nS="$(cd "${S}"; pwd)"
+
+ # fix the tkConfig.sh to eliminate refs to the build directory
+ # and drop unnecessary -L inclusion to default system libdir
+
+ sed \
+ -e "/^TK_BUILD_LIB_SPEC=/s:-L${SPARENT}.*unix *::g" \
+ -e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
+ -e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \
+ -e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${SPARENT}.*unix *::g" \
+ -e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
+ -e "/^TK_BUILD_STUB_LIB_PATH=/s:${SPARENT}.*unix:${EPREFIX}/usr/${mylibdir}:g" \
+ -e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \
+ -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
+ if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
+ sed \
+ -e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
+ -e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
+ -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
+ fi
+
+ # install private headers
+ insinto /usr/${mylibdir}/tk${v1}/include/unix
+ doins "${S}"/*.h
+ insinto /usr/${mylibdir}/tk${v1}/include/generic
+ doins "${SPARENT}"/generic/*.h
+ rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die
+
+ # install symlink for libraries
+ dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname)
+ dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
+
+ dosym wish${v1} /usr/bin/wish
+
+ dodoc "${SPARENT}"/{ChangeLog*,README,changes}
+}
diff --git a/dev-lang/tk/tk-8.6.1.ebuild b/dev-lang/tk/tk-8.6.1.ebuild
new file mode 100644
index 000000000000..f2229ac5d67c
--- /dev/null
+++ b/dev-lang/tk/tk-8.6.1.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.6.1.ebuild,v 1.1 2013/09/25 15:14:20 jlec Exp $
+
+EAPI=5
+
+inherit autotools eutils multilib prefix toolchain-funcs versionator virtualx
+
+MY_P="${PN}${PV/_beta/b}"
+
+DESCRIPTION="Tk Widget Set"
+HOMEPAGE="http://www.tcl.tk/"
+SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
+
+LICENSE="tcltk"
+SLOT="0/8.6"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="debug +threads truetype aqua xscreensaver"
+
+RDEPEND="
+ !aqua? (
+ media-libs/fontconfig
+ x11-libs/libX11
+ x11-libs/libXt
+ truetype? ( x11-libs/libXft )
+ xscreensaver? ( x11-libs/libXScrnSaver )
+ )
+ ~dev-lang/tcl-${PV}"
+DEPEND="${RDEPEND}
+ !aqua? ( x11-proto/xproto )"
+
+# Not bumped to 8.6
+#RESTRICT=test
+
+SPARENT="${WORKDIR}/${MY_P}"
+S="${SPARENT}"/unix
+
+src_prepare() {
+ find \
+ "${SPARENT}"/compat/* \
+ -delete || die
+
+ epatch \
+ "${FILESDIR}"/${PN}-8.5.11-fedora-xft.patch \
+ "${FILESDIR}"/${PN}-8.5.13-multilib.patch
+
+ epatch "${FILESDIR}"/${PN}-8.4.15-aqua.patch
+ eprefixify Makefile.in
+
+ # Bug 125971
+ epatch "${FILESDIR}"/${PN}-8.5.14-conf.patch
+
+ # Bug 354067 : the same applies to tcl, since the patch is about tcl.m4, just
+ # copy the tcl patch
+ epatch "${FILESDIR}"/tcl-8.5.9-gentoo-fbsd.patch
+
+ # Make sure we use the right pkg-config, and link against fontconfig
+ # (since the code base uses Fc* functions).
+ sed \
+ -e 's/FT_New_Face/XftFontOpen/g' \
+ -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
+ -e 's:xft freetype2:xft freetype2 fontconfig:' \
+ -i configure.in || die
+ rm -f configure || die
+
+ tc-export CC
+
+ sed \
+ -e 's:-O[2s]\?::g' \
+ -i tcl.m4 || die
+
+ eautoconf
+}
+
+src_configure() {
+ local mylibdir=$(get_libdir)
+
+ econf \
+ --with-tcl="${EPREFIX}/usr/${mylibdir}" \
+ $(use_enable threads) \
+ $(use_enable aqua) \
+ $(use_enable truetype xft) \
+ $(use_enable xscreensaver xss) \
+ $(use_enable debug symbols)
+}
+
+src_test() {
+ Xemake test
+}
+
+src_install() {
+ #short version number
+ local v1=$(get_version_component_range 1-2)
+ local mylibdir=$(get_libdir)
+
+ S= default
+
+ # normalize $S path, bug #280766 (pkgcore)
+ local nS="$(cd "${S}"; pwd)"
+
+ # fix the tkConfig.sh to eliminate refs to the build directory
+ # and drop unnecessary -L inclusion to default system libdir
+
+ sed \
+ -e "/^TK_BUILD_LIB_SPEC=/s:-L${SPARENT}.*unix *::g" \
+ -e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
+ -e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \
+ -e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${SPARENT}.*unix *::g" \
+ -e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
+ -e "/^TK_BUILD_STUB_LIB_PATH=/s:${SPARENT}.*unix:${EPREFIX}/usr/${mylibdir}:g" \
+ -e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \
+ -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
+ if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
+ sed \
+ -e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
+ -e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
+ -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
+ fi
+
+ # install private headers
+ insinto /usr/${mylibdir}/tk${v1}/include/unix
+ doins "${S}"/*.h
+ insinto /usr/${mylibdir}/tk${v1}/include/generic
+ doins "${SPARENT}"/generic/*.h
+ rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die
+
+ # install symlink for libraries
+ dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname)
+ dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
+
+ dosym wish${v1} /usr/bin/wish
+
+ dodoc "${SPARENT}"/{ChangeLog*,README,changes}
+}