SUMMARY="A source code formatter and beautifier for C, C++, C# and Java" DESCRIPTION=" Artistic Style is a filter written in C++ that automatically re-indents and \ re-formats C / C++ / C# / Java source files. It can be used from a command \ line, or it can be incorporated as classes in another C++ program. " HOMEPAGE="http://astyle.sourceforge.net" COPYRIGHT=" 1998-2002 by Tal Davidson \ 2006-2013 Jim Pattee " LICENSE="GNU LGPL v3" REVISION="2" SOURCE_URI="http://sourceforge.net/projects/astyle/files/astyle/astyle%20${portVersion}/astyle_${portVersion}_linux.tar.gz" CHECKSUM_SHA256="da34eb1f8f12e6f50f1cf674944c0db70c91b203008e11be0f57aa8267823a39" SOURCE_DIR="astyle" ARCHITECTURES="all !x86_gcc2" if [ "$targetArchitecture" = x86_gcc2 ]; then SECONDARY_ARCHITECTURES="x86" fi # On x86_gcc2 we don't want to install the commands in bin//, but in bin/. commandBinDir=$binDir if [ "$targetArchitecture" = x86_gcc2 ]; then commandBinDir=$prefix/bin fi PROVIDES=" astyle$secondaryArchSuffix = $portVersion cmd:astyle = $portVersion " REQUIRES=" haiku$secondaryArchSuffix " BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel cmd:make cmd:g++$secondaryArchSuffix " BUILD() { cd build/gcc make prefix=$prefix } INSTALL() { cd build/gcc make install \ prefix=$prefix \ SYSCONF_PATH=$docDir \ INSTALL=install }