summaryrefslogtreecommitdiff
path: root/dev-tex/ppower4
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-tex/ppower4
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-tex/ppower4')
-rw-r--r--dev-tex/ppower4/Manifest4
-rw-r--r--dev-tex/ppower4/files/ppower4-gentoo.patch11
-rw-r--r--dev-tex/ppower4/metadata.xml8
-rw-r--r--dev-tex/ppower4/ppower4-0.9.6.ebuild48
4 files changed, 71 insertions, 0 deletions
diff --git a/dev-tex/ppower4/Manifest b/dev-tex/ppower4/Manifest
new file mode 100644
index 000000000000..30990c78cbf2
--- /dev/null
+++ b/dev-tex/ppower4/Manifest
@@ -0,0 +1,4 @@
+AUX ppower4-gentoo.patch 411 BLAKE2B d7442d5eb233403022448a7295c3430340958b226d14af7e5e3b907b3c2881b25dfb7e5861970d143d2f051d06054a7b614d721dea7f65bb17480a065bca1e55 SHA512 901783d8a4d1806f820a5f98375230497781f5ee16ccb2c9092e8e34527aa7d0a3fbb1a12319c69d989ff6d8aedcaec041e9e59f03c43e3b5ef1ff2f9f97d7f2
+DIST ppower4-0.9.6.tar.gz 379282 BLAKE2B 8bce022b53eebd689d248df7c1bd8b1b9f52e71431ce164b280899ddc4af41d92bc310cbf73f53609e9ffa2179577e1d1f88bebb9cdfd796fe4311a38fb296fa SHA512 edade748c33006a20535a663904adccfd8196eb96bcd963d3512a4e416e2747231101756396af7b4eb2395c4bfa1338b73fd77bb1c1e9addfcf57cf8d0beadcd
+EBUILD ppower4-0.9.6.ebuild 958 BLAKE2B 6dd70f9ed353b331f38cb490f9beda7b1cf88f4adce8082b92011ac32868bd10a13da27a5fdfe0c1915541d89825422f3d301d5424d0c76f516b39c5a90294f4 SHA512 17e3afaa50f0c1720f1762c31c2e2c3a85064a5bef60c0913bfe4888cd75871669323ac12f6bc2d5b8b8e420792af0bf26c29bbe2d68df65be87414c7e7b2bbb
+MISC metadata.xml 245 BLAKE2B ee3a163cfe0a4bc59c0dfb46f9ddb580e2d259b4d0e33cb4e684eb9e6d4b901bf97c6edd891f3b75a613a782f1b89318d0ee3ec9bee4e34c4441d9e8f4267678 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690
diff --git a/dev-tex/ppower4/files/ppower4-gentoo.patch b/dev-tex/ppower4/files/ppower4-gentoo.patch
new file mode 100644
index 000000000000..f9afa86a9bdb
--- /dev/null
+++ b/dev-tex/ppower4/files/ppower4-gentoo.patch
@@ -0,0 +1,11 @@
+--- ppower4 2003-08-16 19:43:09.000000000 +0200
++++ ppower4 2003-08-16 19:46:24.000000000 +0200
+@@ -14,7 +14,7 @@
+ # Modify this script such that jarfile contains the full path
+ # of the pp4p.jar file.
+ #
+-jarfile=/common/Java/lib/ppower4/pp4p.jar
++jarfile=/usr/lib/ppower4/pp4p.jar
+ #
+ # If you use a web2c distribution, you can place pp4p.jar
+ # e.g. into the directory texmf/java/ppower4, run mktexlsr,
diff --git a/dev-tex/ppower4/metadata.xml b/dev-tex/ppower4/metadata.xml
new file mode 100644
index 000000000000..13170c3184d8
--- /dev/null
+++ b/dev-tex/ppower4/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-tex/ppower4/ppower4-0.9.6.ebuild b/dev-tex/ppower4/ppower4-0.9.6.ebuild
new file mode 100644
index 000000000000..98758f06bf76
--- /dev/null
+++ b/dev-tex/ppower4/ppower4-0.9.6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+inherit latex-package eutils
+
+DESCRIPTION="The Java tool PPower4 adds effects to slides using LaTeX"
+
+# Taken from:
+#SRC_URI="http://www.tex.ac.uk/tex-archive/support/ppower4/pp4sty.zip
+# http://www.tex.ac.uk/tex-archive/support/ppower4/pp4p.jar
+# http://www.tex.ac.uk/tex-archive/support/ppower4/ppower4
+# http://www.tex.ac.uk/tex-archive/support/ppower4/manual.pdf"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+HOMEPAGE="http://tug.ctan.org/support/ppower4/index.html"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 x86"
+
+IUSE=""
+DEPEND="app-arch/unzip"
+RDEPEND="${DEPEND}
+ virtual/jre"
+
+src_unpack() {
+
+ unpack ${A}
+ cd "${S}"
+ unzip pp4sty.zip
+
+ epatch "${FILESDIR}/${PN}-gentoo.patch"
+}
+
+src_install() {
+
+ latex-package_src_install || die
+
+ dobin ppower4
+
+ insinto /usr/lib/${PN}
+ doins pp4p.jar
+
+ insinto /usr/share/doc/${PF}
+ doins manual.pdf
+}