summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2016-05-19 12:23:30 -0600
committerDenis Dupeyron <calchan@gentoo.org>2016-05-19 12:24:03 -0600
commit7fd66aaa2abc36c84ec890a9d83f39be62a08c2a (patch)
tree2323d02c7f82b385678b32714bc385e2baf6c3b9 /dev-tex
parentjava-vm-2.eclass: Bump everyone up to eselect-java-0.2.0 (diff)
downloadgentoo-7fd66aaa2abc36c84ec890a9d83f39be62a08c2a.tar.gz
gentoo-7fd66aaa2abc36c84ec890a9d83f39be62a08c2a.tar.bz2
gentoo-7fd66aaa2abc36c84ec890a9d83f39be62a08c2a.zip
dev-tex/circuit_macros: bump to 8.4
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/circuit_macros/Manifest1
-rw-r--r--dev-tex/circuit_macros/circuit_macros-8.4.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-tex/circuit_macros/Manifest b/dev-tex/circuit_macros/Manifest
index 7a7fa07207de..044f945f439b 100644
--- a/dev-tex/circuit_macros/Manifest
+++ b/dev-tex/circuit_macros/Manifest
@@ -1 +1,2 @@
DIST circuit_macros-8.3.2.tar.gz 2047086 SHA256 006723c6ebc06120c90b5c4a9b77cea318172121923207575eeb5c6b1925d32d SHA512 bfc43496985b9b2a09a5adbf5c2e5dbd09109a75d3d684858746885fd571da17f4d8209bd9a3b084b155d6a36269fea2d9f750a05c262f1c0d07b969b3233204 WHIRLPOOL be295b4c8c41236632a32f6ce8990c93fab490c9977d246ac0bfcd54868bfad4a21cb9d135b4d2100405c6200f8d09ee4c0e68e920aa9a0330c20c8a95c40351
+DIST circuit_macros-8.4.tar.gz 2051691 SHA256 6cb7509ef34b95ea31e34a665b97902ac57a87a7069c365988ca668d6fbf86c1 SHA512 70f5d451a69effaad529749940a4b647eaf326808d70b03d209f2a6e5e436f35713e9f11da1179b0651a0eb7ec8f0a6852a3d6618e34e684f6fdc134a4bd0f60 WHIRLPOOL 94286442c8b43626f10c9983bb1dab2495d4d497829bd6c13519294d4f9db4319616a92c4f3f0645a57c00f7ab0d4eea3335e991cdd8b9cf029e94e56f9acd32
diff --git a/dev-tex/circuit_macros/circuit_macros-8.4.ebuild b/dev-tex/circuit_macros/circuit_macros-8.4.ebuild
new file mode 100644
index 000000000000..a4619f9dcf75
--- /dev/null
+++ b/dev-tex/circuit_macros/circuit_macros-8.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit texlive-common
+
+DESCRIPTION="M4 Macros for Electric circuit diagrams in TeX or LaTeX"
+HOMEPAGE="https://ece.uwaterloo.ca/~aplevich/Circuit_macros/"
+SRC_URI="https://ece.uwaterloo.ca/~aplevich/Circuit_macros/Circuit_macros.tar.gz -> circuit_macros-${PV}.tar.gz"
+
+LICENSE="LPPL-1.3c"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples +script"
+
+DEPEND=""
+RDEPEND="|| ( app-text/texlive[graphics] app-text/texlive[pstricks] )
+ media-gfx/dpic
+ sys-devel/m4
+ script? ( app-text/texlive[graphics]
+ dev-texlive/texlive-latexextra )"
+
+S="${WORKDIR}/Circuit_macros${PV}"
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins *.m4
+ insinto /usr/share/texmf-site/tex/latex/${PN}
+ doins boxdims.sty
+ dodoc README CHANGES Makefile doc/CMman.pdf
+ rm -f doc/CMman.pdf
+ use doc && dodoc -r doc
+ use examples && dodoc -r examples
+ use script && dobin "${FILESDIR}/cm2pdf"
+ docompress -x \
+ /usr/share/doc/${PF}/Makefile \
+ /usr/share/doc/${PF}/doc \
+ /usr/share/doc/${PF}/examples
+}
+
+pkg_postinst() {
+ etexmf-update
+ use script && einfo "cm2pdf was installed to automatically create PDFs. Run cm2pdf --help for usage help."
+}
+
+pkg_postrm() {
+ etexmf-update
+}