summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-09-14 18:54:55 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-09-14 18:54:55 +0200
commit7728f34aa0c5424fe82b31284b05520a18ca60c5 (patch)
treeabdaad01790c88f362c7dbf6eb3ed65fc23e9efe /dev-tex/chktex
parentmedia-plugins/live: bump to 2016.09.12 (diff)
downloadgentoo-7728f34aa0c5424fe82b31284b05520a18ca60c5.tar.gz
gentoo-7728f34aa0c5424fe82b31284b05520a18ca60c5.tar.bz2
gentoo-7728f34aa0c5424fe82b31284b05520a18ca60c5.zip
dev-tex/chktex: bump to 1.7.6
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-tex/chktex')
-rw-r--r--dev-tex/chktex/Manifest1
-rw-r--r--dev-tex/chktex/chktex-1.7.6.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-tex/chktex/Manifest b/dev-tex/chktex/Manifest
index 131afb890ddb..50083a0e2099 100644
--- a/dev-tex/chktex/Manifest
+++ b/dev-tex/chktex/Manifest
@@ -3,3 +3,4 @@ DIST chktex-1.7.2.tar.gz 356981 SHA256 d7f37985e3a122990f2a29fe7cac5d1f31acb1e50
DIST chktex-1.7.3.tar.gz 150801 SHA256 22a2a1af8d6c8b901a66b3729c114080f722b3ba59a73ca000035686590c98dd SHA512 29018229176d3bfd7bff92e68739d32262b01414d7df3d379ef1604abcd28c28abdeb83a2513f6d439e5c888a05e5a636e4a7ab34275d40d20fc63a275985c4a WHIRLPOOL 6fcb533ce1bf0f5dede29825a6477f8961e08fe0e03a596fab76492fd97b5a5179bffc70bf7fdf3e8caffa15b2722ec1be46d58f304000760f4c9f3a6871d82b
DIST chktex-1.7.4.tar.gz 150839 SHA256 77ed995eabe7088dacf53761933da23e6bf8be14d461f364bd06e090978bf6d2 SHA512 d5bf056f67ca520d9df95237b777380d9b98c792d5e20c16bcec2d78a4c68ec3c35308e4525eab33efa2abaf8f2d67ad62e65988b8885f30d1a3f29d27975a1f WHIRLPOOL e0cba6f01526d97304bd27804508c38a2ea1ca843f459d6e88dd7db84ba1745e8f37372f1b8aa393dbbe5fa1a62a71956849b2222859b36e125f24cdbc5333f3
DIST chktex-1.7.5.tar.gz 151833 SHA256 4b5cfcf8430642e0fce925b2fd62e141d179cb71010565056f7cf40ba2770331 SHA512 035bd6af4d946464fc1d14bc5556a45f5a9aee8af18a50b300d3d797b91a36b9089e95c60f519aa95d8c21a75e102e950c88b97a52d4fe9e53243ab8484239dc WHIRLPOOL 9921dcb72c58b80f91b230d436cabf58dc25aa4711783b240844bdc5724a2f2ee5089a99e3827afe70425686f201cfd59dd4198f945d6811857b5daf1588e00c
+DIST chktex-1.7.6.tar.gz 153071 SHA256 8ac0e5ca213b2012d44c28f9e4feb9783df44750eb0c30a237d81ff58ef34c8d SHA512 dd5ad2d7fce66eeb8d890bd79d00bdb28d9807539988232a917d6478c204e9a0ab287f2b8baf7977dba374b551609d8951cbf67ad15a793d35cdfe3411e4fe0b WHIRLPOOL ec32593e46476c7035b9f780e56cdf0044168dde9c7b77ce035fcbef89392534fd4d7c6f8ddcbc8d450906e8a075ff5161d0f81212e88c8a9cfb89a4dba4c61c
diff --git a/dev-tex/chktex/chktex-1.7.6.ebuild b/dev-tex/chktex/chktex-1.7.6.ebuild
new file mode 100644
index 000000000000..17af1b2444c5
--- /dev/null
+++ b/dev-tex/chktex/chktex-1.7.6.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils
+
+DESCRIPTION="Checks latex source for common mistakes"
+HOMEPAGE="http://www.nongnu.org/chktex/"
+SRC_URI="http://download.savannah.gnu.org/releases/chktex/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug doc +pcre test"
+# Tests fail without pcre. Enable pcre by default and make tests depend on it.
+REQUIRED_USE="test? ( pcre )"
+
+RDEPEND="virtual/latex-base
+ dev-lang/perl
+ pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+ sys-apps/groff
+ dev-texlive/texlive-fontsrecommended
+ doc? ( dev-tex/latex2html )"
+
+PATCHES=( "${FILESDIR}/${PN}-1.7.1-asneeded.patch" )
+DOCS=( NEWS )
+AT_M4DIR="${S}/m4"
+
+src_configure() {
+ export VARTEXFONTS="${T}/fonts" #538672
+
+ local myeconfargs=(
+ $(use_enable debug debug-info)
+ $(use_enable pcre)
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ autotools-utils_src_compile ChkTeX.dvi
+ use doc && autotools-utils_src_compile html
+}
+
+src_install() {
+ if use doc ; then
+ HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/HTML/ChkTeX/")
+ DOCS+=("${AUTOTOOLS_BUILD_DIR}/HTML/ChkTeX.tex")
+ fi
+ DOCS+=("${AUTOTOOLS_BUILD_DIR}/ChkTeX.dvi")
+ autotools-utils_src_install
+ doman *.1
+}