Files
haikuports/dev-util/indent/indent-2.2.10.recipe

80 lines
1.6 KiB
Plaintext

SUMMARY="Indent program source files"
DESCRIPTION="The indent program can be used to make code easier to read.
It can also convert from one style of writing C to another. indent
understands a substantial amount about the syntax of C, but it also
attempts to cope with incomplete and misformed syntax.
"
HOMEPAGE="https://www.gnu.org/software/indent/"
REVISION="2"
ARCHITECTURES="x86 x86_gcc2"
LICENSE="GNU GPL v3"
COPYRIGHT="1999-2000 Carlo Wood
1994, 1996-1997 Joseph Arceneaux
1992, 2002, 2008 Free Software Foundation, Inc.
1980 The Regents of the University of California
1976 Board of Trustees of the University of Illinois
1985 Sun Microsystems, Inc.
1998-2000 The Santa Cruz Operation
"
SRC_URI="http://mirror.keystealth.org/gnu/indent/indent-2.2.10.tar.gz"
CHECKSUM_SHA256="8a9b41be5bfcab5d8c1be74204b10ae78789fc3deabea0775fdced8677292639"
ARCHITECTURES="x86 x86_64 arm ppc"
PROVIDES="
indent = $portVersion
cmd:indent = $portVersion
cmd:texinfo2man = $portVersion
"
REQUIRES="
haiku
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
gettext$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku_devel
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:autopoint
cmd:autoreconf
cmd:awk
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
cmd:find
"
BUILD()
{
libtoolize --force --copy --install
./bootstrap
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
# Clean up improperly placed documentation
mkdir -p $docDir/html
mv $prefix/doc/indent/* $docDir/html/
rm -rf $prefix/doc
}
TEST()
{
make test
make check
}