From 61b5b59aa0d54eb08fd5f518c930584bd13ac326 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 21 Feb 2012 07:11:25 +0000 Subject: [PATCH] Add astyle revision 339. --- dev-util/astyle/astyle-r339.bep | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dev-util/astyle/astyle-r339.bep diff --git a/dev-util/astyle/astyle-r339.bep b/dev-util/astyle/astyle-r339.bep new file mode 100644 index 000000000..b7d557061 --- /dev/null +++ b/dev-util/astyle/astyle-r339.bep @@ -0,0 +1,22 @@ +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#339" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" +MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building." +BUILD { + cd astyle-r339/build/gcc + make prefix=$(finddir B_COMMON_DIRECTORY) +} + +INSTALL { + cd astyle-r339/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"