summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-12-07 19:56:40 +0000
committerJustin Lecher <jlec@gentoo.org>2010-12-07 19:56:40 +0000
commit8b8efaaa11352e9a26955056fd6dba1c62b0073d (patch)
tree5cdc1a7144ba44caba4ede2e273b360ff0ad213e /dev-tcltk/iwidgets/iwidgets-4.0.1-r2.ebuild
parentInstall default allowed_hosts.conf, bug 346989. (diff)
downloadhistorical-8b8efaaa11352e9a26955056fd6dba1c62b0073d.tar.gz
historical-8b8efaaa11352e9a26955056fd6dba1c62b0073d.tar.bz2
historical-8b8efaaa11352e9a26955056fd6dba1c62b0073d.zip
Keep LFS layout, #295836
Package-Manager: portage-2.2.0_alpha7/cvs/Linux x86_64
Diffstat (limited to 'dev-tcltk/iwidgets/iwidgets-4.0.1-r2.ebuild')
-rw-r--r--dev-tcltk/iwidgets/iwidgets-4.0.1-r2.ebuild20
1 files changed, 11 insertions, 9 deletions
diff --git a/dev-tcltk/iwidgets/iwidgets-4.0.1-r2.ebuild b/dev-tcltk/iwidgets/iwidgets-4.0.1-r2.ebuild
index 31216b45c8e5..2b0b5ee0e5d3 100644
--- a/dev-tcltk/iwidgets/iwidgets-4.0.1-r2.ebuild
+++ b/dev-tcltk/iwidgets/iwidgets-4.0.1-r2.ebuild
@@ -1,13 +1,12 @@
# Copyright 1999-2010 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-r2.ebuild,v 1.3 2010/04/07 22:40:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/iwidgets/iwidgets-4.0.1-r2.ebuild,v 1.4 2010/12/07 19:56:39 jlec Exp $
EAPI="3"
-inherit multilib
+inherit eutils multilib
MY_P="${PN}${PV}"
-S="${WORKDIR}/${MY_P}"
ITCL_MY_P="itcl3.2.1"
DESCRIPTION="Widget collection for incrTcl/incrTk"
@@ -25,7 +24,10 @@ DEPEND="
>=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
@@ -46,14 +48,14 @@ src_install() {
# parallel borks #177088
emake -j1 INSTALL_ROOT="${D}" install || die "emake install failed"
- dodoc CHANGES ChangeLog README license.terms
+ 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
+# 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}/"
+# mkdir -p "${ED}/usr/share/doc/${PF}"
+# mv "${ED}/usr/$(get_libdir)/${MY_P}/demos" "${ED}/usr/share/doc/${PF}/"
}