mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
79 lines
1.8 KiB
Bash
79 lines
1.8 KiB
Bash
SUMMARY="LaTeX semantic checker"
|
|
DESCRIPTION="ChkTeX is a tool to check for common errors in LaTeX files. It also supports \
|
|
checking CWEB files (uses a perl5 script). It is highly customizable allowing you turn off any \
|
|
warnings you don't like, as well as add your own warnings. It works easily with Emacs and AUCTeX, \
|
|
but should also be easy to interface with other editors. If you have interfaced ChkTeX with \
|
|
another editor, please contribute how you did it.
|
|
|
|
It is important to remember that ChkTeX is only intended as a guide to fixing faults. It is by no \
|
|
means always correct. This means that correct LaTeX code may produce errors in ChkTeX, and vice \
|
|
versa: incorrect LaTeX code may pass silently through. If you have ideas for new warnings or ways \
|
|
in which current warnings could be improved, please report them on the bug tracker."
|
|
HOMEPAGE="https://www.nongnu.org/chktex/"
|
|
COPYRIGHT="1995-96 Jens T. Berger Thielemann"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://download.savannah.gnu.org/releases/chktex/chktex-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="cea81a1cde2f151db2b5d2adf2271becfd3c0c1f40eca5cf45b52beeb4a636f9"
|
|
PATCHES="chktex-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
chktex = $portVersion
|
|
cmd:chktex = $portVersion
|
|
cmd:chkweb
|
|
cmd:deweb
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:perl
|
|
lib:libncursesw
|
|
lib:libpcre
|
|
lib:libpcreposix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libncursesw
|
|
devel:libpcre
|
|
devel:libpcreposix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:gcc
|
|
cmd:make
|
|
cmd:perl
|
|
"
|
|
|
|
TEST_REQUIRES="
|
|
cmd:cmp
|
|
cmd:dash
|
|
"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/chktexrc auto-merge
|
|
"
|
|
|
|
defineDebugInfoPackage chktex \
|
|
$binDir/chktex
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|