You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-tex/prosper/prosper-1.5-r1.ebuild

41 lines
1.1 KiB

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=0
inherit latex-package
CONTRIB="contrib-prosper-1.0.0"
DESCRIPTION="Prosper is a LaTeX class for writing transparencies"
HOMEPAGE="http://prosper.sf.net/"
# Taken from: ftp://ftp.dante.de/tex-archive/macros/latex/contrib/${PN}.tar.gz
SRC_URI="mirror://gentoo/${P}.tar.gz
mirror://sourceforge/prosper/${CONTRIB}.tar.gz"
LICENSE="LPPL-1.2" # has been changed since 1.5
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
S=${WORKDIR}/${PN}
IUSE=""
DEPEND=""
RDEPEND="dev-texlive/texlive-pstricks"
src_install(){
latex-package_src_doinstall styles
insinto ${TEXMF}/tex/latex/${PN}/img/
doins img/*.{ps,gif}
for i in `find ./contrib/ -maxdepth 1 -type f -name "*.sty"`
do
insinto ${TEXMF}/tex/latex/${PN}/contrib/
doins $i
done
insinto ${TEXMF}/tex/latex/${PN}/contrib/img/
doins ./contrib/img/*.{ps,eps}
dodoc README TODO NEWS FAQ AUTHORS ChangeLog
dodoc doc/*.{eps,pdf,tex,ps}
docinto doc-examples/
dodoc doc/doc-examples/*.tex
docinto contrib/
dodoc contrib/*.{ps,tex}
}