--- imagemagick-6.7.6.4.ebuild 2012-05-09 21:09:03.492913877 +0300 +++ imagemagick-6.7.6.9.ebuild 2012-05-10 17:07:12.000000000 +0300 @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.7.6.4.ebuild,v 1.11 2012/05/09 17:35:19 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.7.6.9.ebuild,v 1.1 2012/05/10 14:07:12 ssuominen Exp $ EAPI=4 inherit multilib toolchain-funcs versionator @@ -13,9 +13,11 @@ LICENSE="imagemagick" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" +RESTRICT="perl? ( userpriv )" + RDEPEND=">=sys-devel/libtool-2.2.6b autotrace? ( >=media-gfx/autotrace-0.31.1 ) bzip2? ( app-arch/bzip2 ) @@ -66,10 +68,6 @@ S=${WORKDIR}/${MY_P} -RESTRICT="perl? ( userpriv )" - -DOCS="AUTHORS.txt ChangeLog NEWS.txt README.txt" - src_configure() { local depth=16 use q8 && depth=8 @@ -82,7 +80,6 @@ fi econf \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ $(use_enable static-libs static) \ $(use_enable hdri) \ $(use_enable opencl) \ @@ -137,7 +134,12 @@ } src_install() { - default + emake \ + DESTDIR="${D}" \ + DOCUMENTATION_PATH="/usr/share/doc/${PF}" \ + install + + dodoc {AUTHORS,NEWS,README}.txt ChangeLog if use perl; then find "${ED}" -type f -name perllocal.pod -exec rm -f {} +