summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/gimp/gimp-2.3.16.ebuild')
-rw-r--r--media-gfx/gimp/gimp-2.3.16.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/media-gfx/gimp/gimp-2.3.16.ebuild b/media-gfx/gimp/gimp-2.3.16.ebuild
index 5bb34faa49bc..a808373f6671 100644
--- a/media-gfx/gimp/gimp-2.3.16.ebuild
+++ b/media-gfx/gimp/gimp-2.3.16.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.3.16.ebuild,v 1.4 2007/05/06 11:40:21 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.3.16.ebuild,v 1.5 2007/05/06 16:50:48 hanno Exp $
-inherit fdo-mime flag-o-matic
+inherit fdo-mime flag-o-matic multilib python
DESCRIPTION="GNU Image Manipulation Program"
HOMEPAGE="http://www.gimp.org/"
@@ -113,9 +113,14 @@ pkg_postinst() {
elog
elog "If you want Postscript file support, emerge ghostscript."
elog
+
+ python_mod_optimize /usr/$(get_libdir)/gimp/2.0/python \
+ /usr/$(get_libdir)/gimp/2.0/plug-ins
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
+ python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \
+ /usr/$(get_libdir)/gimp/2.0/plug-ins
}