From 9dd9a605f0e9326d48a938beebb58fa8384a6024 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Sun, 5 Aug 2012 20:04:45 +0000 Subject: [PATCH] Update astyle svn build to r361 --- dev-util/astyle/astyle-r361.bep | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dev-util/astyle/astyle-r361.bep diff --git a/dev-util/astyle/astyle-r361.bep b/dev-util/astyle/astyle-r361.bep new file mode 100644 index 000000000..820652fd6 --- /dev/null +++ b/dev-util/astyle/astyle-r361.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#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"