Files
haikuports/dev-util/indent/indent-2.2.10.recipe
Humdinger 3ea69a805d De-lint recipes.
*	gnash
	Don't start SUMMARY with app name
	Re-ordered blocks

*	gophernicus
	Don't start SUMMARY with app name
	Re-ordered blocks

*	harfbuzz
	Don't start SUMMARY with app name
	Re-ordered blocks

*	inconsolata
	Don't start SUMMARY with app name
	Re-ordered blocks

*	indent
	Don't start SUMMARY with app name
	Re-ordered blocks
	Fixed (SECONDARY_)ARCHITECTURES and PROVIDES

*	inputproto
	Don't start SUMMARY with app name
	Improved SUMMARY and DESCRIPTION
	Re-ordered blocks

*	jamvm
	Don't start SUMMARY with app name
	Removed "DEPEND"
	Re-ordered blocks

*	jpeg
	Don't start SUMMARY with app name
	Re-ordered blocks

*	jgmod
	Don't start SUMMARY with app name
	Re-ordered blocks

*	kbproto
	Don't start SUMMARY with app name
	Re-ordered blocks

*	kdiff3
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libdom
	Don't start SUMMARY with app name
	Re-ordered blocks
	Removed $secondaryArchSuffix as there are no 2nd archs declared

*	libdvdcss
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libdwarf
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libevent
	Minor cosmetics
	Re-ordered blocks
2015-08-07 16:40:23 +02:00

74 lines
1.7 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://mirror.keystealth.org/gnu/indent/indent-2.2.10.tar.gz"
CHECKSUM_SHA256="8a9b41be5bfcab5d8c1be74204b10ae78789fc3deabea0775fdced8677292639"
ARCHITECTURES="x86 x86_gcc2 ?x86_64 ?arm ?ppc"
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
indent = $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: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
}