summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-02-14 19:26:06 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-02-14 19:26:06 +0000
commit08f80dc867b1f079fc4909d4d37848e99128f34d (patch)
tree38575514bead4183fc4e0e97ecdf41c895dc978f /x11-libs/lesstif
parentstable on amd64 (diff)
downloadgentoo-2-08f80dc867b1f079fc4909d4d37848e99128f34d.tar.gz
gentoo-2-08f80dc867b1f079fc4909d4d37848e99128f34d.tar.bz2
gentoo-2-08f80dc867b1f079fc4909d4d37848e99128f34d.zip
profile stuff
(Portage version: 2.0.51-r15)
Diffstat (limited to 'x11-libs/lesstif')
-rw-r--r--x11-libs/lesstif/lesstif-0.94.0-r1.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/x11-libs/lesstif/lesstif-0.94.0-r1.ebuild b/x11-libs/lesstif/lesstif-0.94.0-r1.ebuild
index fe40773ed227..8879a3605073 100644
--- a/x11-libs/lesstif/lesstif-0.94.0-r1.ebuild
+++ b/x11-libs/lesstif/lesstif-0.94.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/lesstif-0.94.0-r1.ebuild,v 1.5 2005/02/14 19:13:22 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/lesstif-0.94.0-r1.ebuild,v 1.6 2005/02/14 19:26:06 lanius Exp $
inherit libtool flag-o-matic multilib
@@ -75,10 +75,13 @@ src_install() {
rm -fR ${D}/usr/$(get_libdir)/lesstif/LessTif/
rm -fR ${D}/usr/$(get_libdir)/X11/
- # install profile
- echo "$P" > ${D}/usr/lib/motif/lesstif
}
+# Profile stuff
pkg_postinst() {
- motif-config lesstif
+ motif-config --install lesstif
+}
+
+pkg_postrm() {
+ motif-config --uninstall lesstif
}