svn commit: r423321 - in head/devel: . libastylej
Boris Samorodov
bsam at FreeBSD.org
Wed Oct 5 06:54:49 UTC 2016
Author: bsam
Date: Wed Oct 5 06:54:47 2016
New Revision: 423321
URL: https://svnweb.freebsd.org/changeset/ports/423321
Log:
JNI of the Artistic Style source code indenter, formatter, and beautifier.
Artistic Style is a source code indenter, formatter, and beautifier for the C,
C++, C# and Java programming languages. It automatically re-indents and
re-formats source files and can be used from a command line.
WWW: http://astyle.sourceforge.net/
Note: this library is used by a native Arduino IDE 1.6.
Added:
head/devel/libastylej/
head/devel/libastylej/Makefile (contents, props changed)
head/devel/libastylej/distinfo (contents, props changed)
head/devel/libastylej/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed Oct 5 06:18:09 2016 (r423320)
+++ head/devel/Makefile Wed Oct 5 06:54:47 2016 (r423321)
@@ -1161,6 +1161,7 @@
SUBDIR += libassa
SUBDIR += libassetml
SUBDIR += libast
+ SUBDIR += libastylej
SUBDIR += libatomic_ops
SUBDIR += libaura
SUBDIR += libavl
Added: head/devel/libastylej/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libastylej/Makefile Wed Oct 5 06:54:47 2016 (r423321)
@@ -0,0 +1,36 @@
+# Created by: Boris Samorodov <bsam at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libastylej
+PORTVERSION= 2.05.1
+CATEGORIES= devel java textproc
+ASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
+DISTNAME= astyle_${PORTVERSION}_linux
+
+MAINTAINER= bsam at FreeBSD.org
+COMMENT= Source code indenter, formatter, and beautifier (JNI library)
+
+LICENSE= LGPL3
+
+ALL_TARGET= java
+LDFLAGS+= -s
+USES= compiler gmake
+USE_JAVA= yes
+USE_LDCONFIG= yes
+MAKE_ARGS+= JAVA_HOME=${JAVA_HOME}
+
+WRKSRC= ${WRKDIR}/astyle/build/${COMPILER_TYPE}
+
+PLIST_FILES= lib/jni/libastylej.so lib/jni/libastyle-${PORTVERSION}j.so
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,\(JAVAINCS.*=.*\),\1 -I$(JAVA_HOME)/include/freebsd,' \
+ ${WRKSRC}/Makefile
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/jni
+ ${INSTALL_DATA} ${WRKSRC}/bin/*.so ${STAGEDIR}${PREFIX}/lib/jni
+ ${LN} -sf libastyle-${PORTVERSION}j.so \
+ ${STAGEDIR}${PREFIX}/lib/jni/libastylej.so
+
+.include <bsd.port.mk>
Added: head/devel/libastylej/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libastylej/distinfo Wed Oct 5 06:54:47 2016 (r423321)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1475650394
+SHA256 (astyle_2.05.1_linux.tar.gz) = fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac
+SIZE (astyle_2.05.1_linux.tar.gz) = 152765
Added: head/devel/libastylej/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libastylej/pkg-descr Wed Oct 5 06:54:47 2016 (r423321)
@@ -0,0 +1,7 @@
+JNI of the Artistic Style source code indenter, formatter, and beautifier.
+
+Artistic Style is a source code indenter, formatter, and beautifier for the C,
+C++, C# and Java programming languages. It automatically re-indents and
+re-formats source files and can be used from a command line.
+
+WWW: http://astyle.sourceforge.net/
More information about the svn-ports-all
mailing list