summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-04-03 17:22:12 +0000
committerJustin Lecher <jlec@gentoo.org>2015-04-03 17:22:12 +0000
commit3b455d5ddc267d43245b902c8053962e941e9b7f (patch)
tree492ae051ce3dc73cdcf7ebf666e850ae07204432 /dev-tcltk/tix
parentFix cross-compiling by not searching the host paths directly. The toolchain ... (diff)
downloadgentoo-2-3b455d5ddc267d43245b902c8053962e941e9b7f.tar.gz
gentoo-2-3b455d5ddc267d43245b902c8053962e941e9b7f.tar.bz2
gentoo-2-3b455d5ddc267d43245b902c8053962e941e9b7f.zip
Readd old
(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-tcltk/tix')
-rw-r--r--dev-tcltk/tix/ChangeLog7
-rw-r--r--dev-tcltk/tix/tix-8.4.3.ebuild60
2 files changed, 66 insertions, 1 deletions
diff --git a/dev-tcltk/tix/ChangeLog b/dev-tcltk/tix/ChangeLog
index a7ac14b4febf..750f1e11c11f 100644
--- a/dev-tcltk/tix/ChangeLog
+++ b/dev-tcltk/tix/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tcltk/tix
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tix/ChangeLog,v 1.51 2015/04/03 13:34:13 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tix/ChangeLog,v 1.52 2015/04/03 17:22:12 jlec Exp $
+
+*tix-8.4.3 (03 Apr 2015)
+
+ 03 Apr 2015; Justin Lecher <jlec@gentoo.org> +tix-8.4.3.ebuild:
+ Readd old
03 Apr 2015; Justin Lecher <jlec@gentoo.org> -tix-8.4.3.ebuild,
tix-8.4.3-r1.ebuild:
diff --git a/dev-tcltk/tix/tix-8.4.3.ebuild b/dev-tcltk/tix/tix-8.4.3.ebuild
new file mode 100644
index 000000000000..7722f2de2b61
--- /dev/null
+++ b/dev-tcltk/tix/tix-8.4.3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tix/tix-8.4.3.ebuild,v 1.18 2015/04/03 17:22:12 jlec Exp $
+
+EAPI=5
+
+inherit eutils multilib
+
+MY_P="Tix${PV}"
+DESCRIPTION="A widget library for Tcl/Tk"
+HOMEPAGE="http://tix.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tix/${MY_P}-src.tar.gz"
+
+IUSE=""
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+
+RESTRICT="test"
+
+DEPEND="
+ dev-lang/tk
+ sys-apps/sed
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ (use x86-macos || use x64-macos) || epatch "${FILESDIR}"/${P}-link.patch
+ sed \
+ -e 's:-Os::g' \
+ -i configure tclconfig/tcl.m4 || die
+ epatch "${FILESDIR}"/${P}-tcl8.6.patch
+}
+
+src_configure() {
+ econf \
+ --with-tcl="${EPREFIX}/usr/$(get_libdir)" \
+ --with-tk="${EPREFIX}/usr/$(get_libdir)"
+}
+
+src_install() {
+ default
+
+ # Bug 168897
+ doheader generic/tix.h
+ # Bug 201138
+ if use x86-macos || use x64-macos; then
+ mv "${ED}"/usr/$(get_libdir)/${MY_P}/libTix{,.}${PV}.dylib
+ dosym ${MY_P}/libTix.${PV}.dylib /usr/$(get_libdir)/libTix.${PV}.dylib
+ else
+ dosym ${MY_P}/lib${MY_P}.so /usr/$(get_libdir)/lib${MY_P}.so
+ fi
+
+ dodoc ChangeLog README.txt docs/*.txt
+ dohtml -r index.html ABOUT.html docs/
+}