summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-23 15:16:17 +0000
committerJustin Lecher <jlec@gentoo.org>2011-06-23 15:16:17 +0000
commit615f1215b8777430048002e2df73f873f8134de4 (patch)
tree83b7b2b0103465ffd33b68a766d4274166215098 /dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild
parentRemove old ebuilds. Requested by Arfrever (diff)
downloadgentoo-2-615f1215b8777430048002e2df73f873f8134de4.tar.gz
gentoo-2-615f1215b8777430048002e2df73f873f8134de4.tar.bz2
gentoo-2-615f1215b8777430048002e2df73f873f8134de4.zip
Don't install in /usr/usr #372587
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild')
-rw-r--r--dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild61
1 files changed, 61 insertions, 0 deletions
diff --git a/dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild b/dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild
new file mode 100644
index 000000000000..fc3feac2dce4
--- /dev/null
+++ b/dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/iwidgets/iwidgets-4.0.1-r3.ebuild,v 1.1 2011/06/23 15:16:17 jlec Exp $
+
+EAPI="3"
+
+inherit eutils multilib
+
+MY_P="${PN}${PV}"
+ITCL_MY_P="itcl3.2.1"
+
+DESCRIPTION="Widget collection for incrTcl/incrTk"
+HOMEPAGE="http://incrtcl.sourceforge.net/itcl/"
+SRC_URI="mirror://sourceforge/incrtcl/${MY_P}.tar.gz
+ mirror://sourceforge/incrtcl/${ITCL_MY_P}_src.tgz"
+
+LICENSE="as-is BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="
+ >=dev-tcltk/itcl-3.2.1
+ >=dev-tcltk/itk-3.2.1"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-path.patch
+ sed -i -e "/^\(LIB\|SCRIPT\)_INSTALL_DIR =/s|lib|$(get_libdir)|" \
+ Makefile.in || die
+
+ # Bug 115470
+ rm doc/panedwindow.n
+}
+
+src_configure() {
+ econf --with-itcl="${WORKDIR}/${ITCL_MY_P}" || die "configure failed"
+ # we don't need to compile anything
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ # parallel borks #177088
+ emake -j1 INSTALL_ROOT="${D}" install || die "emake install failed"
+
+ dodoc CHANGES ChangeLog README
+
+ # bug 247184 - iwidget installs man pages in /usr/man
+# mkdir -p "${ED}"/usr/share/man/mann
+# mv "${ED}"/usr/man/mann/* "${ED}"/usr/share/man/mann/
+# rm -rf "${ED}"/usr/man
+
+ # demos are in the wrong place:
+# mkdir -p "${ED}/usr/share/doc/${PF}"
+# mv "${ED}/usr/$(get_libdir)/${MY_P}/demos" "${ED}/usr/share/doc/${PF}/"
+}