Update astyle svn build to r361

This commit is contained in:
Chris Roberts
2012-08-05 20:04:45 +00:00
parent 6562522010
commit 9dd9a605f0

View File

@@ -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"