75 lines
1.8 KiB
Bash
75 lines
1.8 KiB
Bash
SUMMARY="A tool to indent 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/"
|
|
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"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="2"
|
|
SOURCE_URI="http://ftp.de.debian.org/debian/pool/main/i/indent/indent_$portVersion.orig.tar.gz"
|
|
CHECKSUM_SHA256="aaff60ce4d255efb985f0eb78cca4d1ad766c6e051666073050656b6753a0893"
|
|
|
|
ARCHITECTURES="all ?arm ?ppc"
|
|
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
|
|
|
|
PROVIDES="
|
|
indent$secondaryArchSuffix = $portVersion
|
|
cmd:indent$secondaryArchSuffix = $portVersion
|
|
cmd:texinfo2man$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
gettext$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:autopoint
|
|
cmd:autoreconf
|
|
cmd:awk
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:texi2html
|
|
"
|
|
|
|
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
|
|
}
|