summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-12-15 10:41:40 +0100
committerAlexis Ballier <aballier@gentoo.org>2015-12-15 10:41:40 +0100
commite5fcfc1d5a99fce4b134fc5ced0996069ff8afa1 (patch)
tree60bc17aa24ef440345d196da39ee0fb3f54d92ec /dev-tex
parentmedia-sound/qtractor: bump to 0.7.2; enable qt5 by default per upstream default (diff)
downloadgentoo-e5fcfc1d5a99fce4b134fc5ced0996069ff8afa1.tar.gz
gentoo-e5fcfc1d5a99fce4b134fc5ced0996069ff8afa1.tar.bz2
gentoo-e5fcfc1d5a99fce4b134fc5ced0996069ff8afa1.zip
dev-tex/chktex: bump to 1.7.5
Package-Manager: portage-2.2.26 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/chktex/Manifest1
-rw-r--r--dev-tex/chktex/chktex-1.7.5.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-tex/chktex/Manifest b/dev-tex/chktex/Manifest
index 7b2c2be317d6..131afb890ddb 100644
--- a/dev-tex/chktex/Manifest
+++ b/dev-tex/chktex/Manifest
@@ -2,3 +2,4 @@ DIST chktex-1.7.1.tar.gz 349551 SHA256 be01222e819c00bdf0fb411c232e585fd6a116adc
DIST chktex-1.7.2.tar.gz 356981 SHA256 d7f37985e3a122990f2a29fe7cac5d1f31acb1e50035457ef7ceb07c30550158 SHA512 f0ac3ed74471d33da55591e6ca2a4b6847340540ef1911eef37bfad38ffc7c64ca4709966d52a22f871268edf893bf360c8429e1be7f62157d2fac9e58ea40af WHIRLPOOL b32e1927734ee1ba6af77bbe2a0e64ec640718ea26ebcd89a54c06555ec3b0c275fee3e81809b846b25f440f32397536d12eb85b3dde49bf55a7def09a19658a
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
diff --git a/dev-tex/chktex/chktex-1.7.5.ebuild b/dev-tex/chktex/chktex-1.7.5.ebuild
new file mode 100644
index 000000000000..cca1bf4786df
--- /dev/null
+++ b/dev-tex/chktex/chktex-1.7.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 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
+ doc? ( dev-tex/latex2html )"
+
+PATCHES=( "${FILESDIR}/${PN}-1.7.1-asneeded.patch" )
+DOCS=( NEWS )
+
+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
+ 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
+ autotools-utils_src_install
+ doman *.1
+}