mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
25 lines
715 B
Plaintext
25 lines
715 B
Plaintext
DESCRIPTION="Artistic Style is a reindenter and reformatter of C++, C and Java source code."
|
|
HOMEPAGE="http://astyle.sourceforge.net"
|
|
SRC_URI="svn+https://astyle.svn.sourceforge.net/svnroot/astyle/trunk/AStyle#361"
|
|
REVISION="1"
|
|
STATUS_HAIKU="stable"
|
|
DEPEND=""
|
|
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
|
BUILD()
|
|
{
|
|
cd astyle-r361/build/gcc
|
|
make prefix=$(finddir B_COMMON_DIRECTORY)
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd astyle-r361/build/gcc
|
|
make install \
|
|
prefix="${DESTDIR}/$(finddir B_COMMON_DIRECTORY)" \
|
|
SYSCONF_PATH="${DESTDIR}/$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/doc/astyle" \
|
|
INSTALL=install
|
|
}
|
|
LICENSE="GNU LGPL v3"
|
|
COPYRIGHT="1998-2002 by Tal Davidson
|
|
2006-2012 Jim Pattee"
|