summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-03-16 17:58:06 +0000
committerUlrich Müller <ulm@gentoo.org>2013-03-16 17:58:06 +0000
commita94ed6533fb1620e58411d59329f229f0cc8f623 (patch)
treef20286b9d07224ab339e716ec00f540fb1ccd971 /x11-libs/motif
parentPrefix support, add ~amd64-linux and ~x86-linux keywords (diff)
downloadgentoo-2-a94ed6533fb1620e58411d59329f229f0cc8f623.tar.gz
gentoo-2-a94ed6533fb1620e58411d59329f229f0cc8f623.tar.bz2
gentoo-2-a94ed6533fb1620e58411d59329f229f0cc8f623.zip
Install examples only once. Use default src_install function.
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'x11-libs/motif')
-rw-r--r--x11-libs/motif/ChangeLog5
-rw-r--r--x11-libs/motif/motif-2.3.4-r1.ebuild11
2 files changed, 9 insertions, 7 deletions
diff --git a/x11-libs/motif/ChangeLog b/x11-libs/motif/ChangeLog
index 40863c2b6235..97fe22140345 100644
--- a/x11-libs/motif/ChangeLog
+++ b/x11-libs/motif/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-libs/motif
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif/ChangeLog,v 1.11 2013/03/15 19:16:34 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif/ChangeLog,v 1.12 2013/03/16 17:58:06 ulm Exp $
+
+ 16 Mar 2013; Ulrich Müller <ulm@gentoo.org> motif-2.3.4-r1.ebuild:
+ Install examples only once. Use default src_install function.
*motif-2.3.4-r1 (15 Mar 2013)
*motif-2.2.3-r12 (15 Mar 2013)
diff --git a/x11-libs/motif/motif-2.3.4-r1.ebuild b/x11-libs/motif/motif-2.3.4-r1.ebuild
index b79caaf693f7..c6bb07481598 100644
--- a/x11-libs/motif/motif-2.3.4-r1.ebuild
+++ b/x11-libs/motif/motif-2.3.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif/motif-2.3.4-r1.ebuild,v 1.1 2013/03/15 19:16:34 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif/motif-2.3.4-r1.ebuild,v 1.2 2013/03/16 17:58:06 ulm Exp $
EAPI=5
@@ -106,17 +106,16 @@ src_compile() {
multilib_foreach_abi my_other_abi_compile
}
-multilib_src_install() {
- emake DESTDIR="${D}" install
- use examples && emake -C demos DESTDIR="${D}" install-data
-}
-
multilib_src_install_all() {
# mwm default configs
insinto /usr/share/X11/app-defaults
newins "${FILESDIR}"/Mwm.defaults Mwm
if use examples; then
+ my_install_demos() {
+ emake -C "${BUILD_DIR}"/demos DESTDIR="${D}" install-data
+ }
+ multilib_for_best_abi my_install_demos
dodir /usr/share/doc/${PF}/demos
mv "${ED}"/usr/share/Xm/* "${ED}"/usr/share/doc/${PF}/demos || die
fi