--- /usr/portage/app-text/acroread/acroread-7.0.ebuild 2005-03-18 19:05:38.000000000 +0900 +++ /usr/portage-kalin/app-text/acroread/acroread-7.0.ebuild 2005-03-22 08:20:13.000000000 +0900 @@ -9,17 +9,18 @@ SRC_URI="ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/${PV}/enu/AdbeRdr${PV/.}_linux_enu.tar.gz" LICENSE="Adobe" -SLOT="0" +SLOT="7" KEYWORDS="-* ~x86 ~amd64" -IUSE="noplugin ldap" +IUSE="noplugin ldap cjk" RESTRICT="nostrip" RDEPEND="virtual/libc !amd64? ( ldap? ( net-nds/openldap )) + cjk? ( =media-fonts/acroread-asianfonts-${PV} ) amd64? ( >=app-emulation/emul-linux-x86-gtklibs-1.2-r1 )" PROVIDE="virtual/pdfviewer" -INSTALLDIR=/opt/Acrobat7 +INSTALLDIR=/opt/Acrobat${SLOT} S=${WORKDIR}/AdobeReader @@ -42,7 +43,7 @@ for i in ${DIRS} do if [ -d ${i} ] ; then - chown -R --dereference root:root ${i} + chown -R --dereference 0:0 ${i} mv ${i} ${D}${INSTALLDIR} fi done @@ -74,10 +75,6 @@ # fix wrong directory permissions (bug #25931) find ${INSTALLDIR} -type d | xargs chmod 755 || die - einfo "Asianfonts are not available separately for version 7 (yet)" - einfo "The workaround for the time being is to copy the 'Resource' directory from" - einfo "a windows machine with acrobat reader 7 and asian font support installed." - einfo einfo "The Acrobat(TM) Security Plugin will be enabled with USE=ldap, it" einfo "does not work with amd64 because there is no x86 ldap-emulation" einfo "package available in portage."