# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Digital Artshop's free plug-in filters for Photoshop" HOMEPAGE="http://www.thedigitalartshop.com/" RESTRICT="mirror" SRC_URI=" ${HOMEPAGE}/Greyscaler.zip ${HOMEPAGE}/Iridescent.zip " LICENSE="Digital-Artshop" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND=">=media-plugins/gimp-pspi-1.0.7" DEPEND="${RDEPEND}" OPTDIR="/opt/photoshop/plugins" src_install() { insinto ${OPTDIR}/${PN} DIR=`ls 2>/dev/null` for dir in $DIR; do cd ${WORKDIR}/${dir} doins "$dir.8bf" || die "doins" dodoc "`ls *.txt`" || die "dodoc" done } pkg_postinst() { elog einfo "You will find the installed plugins in the GIMP under" einfo " Filters -> Artshop," einfo "provided you've set a path to ${OPTDIR} in" einfo " Xtns -> Photoshop Plug-in Settings." elog }