mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
indent: Make proper 2.2.10 recipe from old bep
This commit is contained in:
78
dev-util/indent/indent-2.2.10.recipe
Normal file
78
dev-util/indent/indent-2.2.10.recipe
Normal file
@@ -0,0 +1,78 @@
|
||||
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
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
DESCRIPTION="Indent program source files"
|
||||
HOMEPAGE="http://indent.isidore-it.eu/beautify.html"
|
||||
SRC_URI="http://indent.isidore-it.eu/indent-2.2.11.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="sys-devel/gettext >= 0.17
|
||||
net-misc/rsync >= 3.0.7
|
||||
app-text/texi2html >= 1.82"
|
||||
CHECKSUM_MD5="98beafca62472805a3739d3867d5d70f"
|
||||
BUILD()
|
||||
{
|
||||
cd indent-2.2.11
|
||||
libtoolize --force --copy --install
|
||||
./bootstrap
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd indent-2.2.11
|
||||
make install DESTDIR=${DESTDIR}
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd indent-2.2.11
|
||||
# make test
|
||||
# make check
|
||||
}
|
||||
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="1999-2000 Carlo Wood. All rights reserved
|
||||
1994, 1996-1997 Joseph Arceneaux All rights reserved.
|
||||
1992, 2002, 2008 Free Software Foundation, Inc. All rights reserved.
|
||||
1985 Sun Microsystems, Inc.
|
||||
1980 The Regents of the University of California.
|
||||
1976 Board of Trustees of the University of Illinois. All rights reserved.
|
||||
"
|
||||
Reference in New Issue
Block a user