summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2016-02-01 13:47:29 -0700
committerDenis Dupeyron <calchan@gentoo.org>2016-02-01 13:49:34 -0700
commit86f79432fa704461ba69aee100eb0996faffb0fc (patch)
tree4854d8beac7c049244213ee5871dc0adf90e320f /dev-tex/circuit_macros
parentRevert "dev-util/anjuta: Support vala-0.30" (diff)
downloadgentoo-86f79432fa704461ba69aee100eb0996faffb0fc.tar.gz
gentoo-86f79432fa704461ba69aee100eb0996faffb0fc.tar.bz2
gentoo-86f79432fa704461ba69aee100eb0996faffb0fc.zip
dev-tex/circuit_macros: bump to 8.3.1
Diffstat (limited to 'dev-tex/circuit_macros')
-rw-r--r--dev-tex/circuit_macros/Manifest1
-rw-r--r--dev-tex/circuit_macros/circuit_macros-8.3.1.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-tex/circuit_macros/Manifest b/dev-tex/circuit_macros/Manifest
index f0eddb079b8c..2066da989380 100644
--- a/dev-tex/circuit_macros/Manifest
+++ b/dev-tex/circuit_macros/Manifest
@@ -1 +1,2 @@
+DIST circuit_macros-8.3.1.tar.gz 2021702 SHA256 3ea3a258c4222b981c541924a2f006079b6240a6500a7e5a76985be1ad4eb085 SHA512 b7f5ee756169b15b80d8645501462281150a9981e7b80eec7b453829b61610b352a349e2f0086f70421ef7eb38f1ac205e3eecc318fc14ee67eb90e94414d219 WHIRLPOOL 6d2f22bac6b7f695261db6878faaeb1fa08ae5924c5d9ce15362d2c7f5f2e60c372302c581f234c21dc7b183206b46aa85e71b877a53720b3b2ca6882a996206
DIST circuit_macros-8.3.tar.gz 1897642 SHA256 c3b547a79204acb71cc32f59261963116afb6afd2614bb135bf1b5edf64b077c SHA512 d9407c54e5b87f5bd1cf43f92f4b65a2e59221f8a62d687918230f0ab6ffa47757436c1914e76872b7ac22b6547ab6c0efa54a0f05647ff435a4f2452a1c6029 WHIRLPOOL 7b50ed8cac220cfd1c071102ff54a1074ce2f737e7a61202b446202a613da2a9d94b19611174a9e979a8b09aa4f60246580b802efb6ba821307d8849f7306ad8
diff --git a/dev-tex/circuit_macros/circuit_macros-8.3.1.ebuild b/dev-tex/circuit_macros/circuit_macros-8.3.1.ebuild
new file mode 100644
index 000000000000..fffc6e16a34b
--- /dev/null
+++ b/dev-tex/circuit_macros/circuit_macros-8.3.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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
+}