mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 03:58:51 +02:00
79 lines
1.8 KiB
Plaintext
79 lines
1.8 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="Copyright (c) 1999, 2000 Carlo Wood. All rights reserved.
|
|
Copyright (c) 1994, 1996, 1997 Joseph Arceneaux. All rights reserved.
|
|
Copyright (c) 1992, 2002, 2008 Free Software Foundation, Inc. All rights reserved.
|
|
Copyright (c) 1980 The Regents of the University of California.
|
|
Copyright (c) 1976 Board of Trustees of the University of Illinois. All rights reserved.
|
|
Copyright (c) 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 >= $haikuVersion
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
gettext$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel >= $haikuVersion
|
|
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
|
|
}
|