# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Fotomatic series of free Photoshop plugins" HOMEPAGE="http://www.cybia.co.uk/" RESTRICT="mirror" SRC_URI=" ${HOMEPAGE}/plugins/bwplus.zip ${HOMEPAGE}/plugins/fastfix.zip ${HOMEPAGE}/plugins/gforce.zip ${HOMEPAGE}/plugins/hispot.zip ${HOMEPAGE}/plugins/pseudoir.zip ${HOMEPAGE}/plugins/skygrad.zip ${HOMEPAGE}/plugins/technix.zip " LICENSE="Fotomatic" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND=">=media-plugins/gimp-pspi-1.0.7" DEPEND="${RDEPEND} >=sys-apps/sed-4.1.5" OPTDIR="/opt/photoshop/plugins" src_unpack() { for pack in ${A}; do PACK=`echo ${pack} | sed 's/\.zip//'` mkdir ${WORKDIR}/${PACK} cd ${WORKDIR}/${PACK} unpack ${pack} mv Readme.txt "Readme.${PACK}" mv * .. cd .. rm -R ${PACK} done } src_install() { insinto ${OPTDIR}/${PN} doins `ls *.8bf` || die "doins" dodoc `ls Readme.*` || die "dodoc Readme.*" dodoc `ls Reset.*` || die "dodoc Reset.*" } pkg_postinst() { elog einfo "You will find the installed plugins in the GIMP under" einfo " Filters -> Fotomatic," einfo "provided you've set a path to ${OPTDIR} in" einfo " Xtns -> Photoshop Plug-in Settings." elog }