# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Flaming Pear's Photoshop-compatible Freebies plugins" HOMEPAGE="http://www.flamingpear.com/" SRC_URI="${HOMEPAGE}/freebies.zip" LICENSE="GPL-3" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND=">=media-plugins/gimp-pspi-1.0.7" DEPEND="${RDEPEND}" OPTDIR="/opt/photoshop/plugins" S="${WORKDIR}/Freebies/Freebies" src_install() { save_IFS="${IFS}" IFS=$'\n' PACK=`ls *.8bf` insinto ${OPTDIR}/${PN} for pack in ${PACK}; do doins "${pack}" done PACK=`ls *.html` for pack in ${PACK}; do dohtml "${pack}" done dohtml -r images || die "dohtml images" IFS=${save_IFS} } pkg_postinst() { elog einfo "You will find the installed plugins in the GIMP under" einfo " Filters -> Flaming Pear," einfo "provided you've set a path to ${OPTDIR} in" einfo " Xtns -> Photoshop Plug-in Settings." elog }