mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
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.
This commit is contained in:
parent
4c5cbea7b9
commit
60128161cf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423321
@ -1161,6 +1161,7 @@
|
||||
SUBDIR += libassa
|
||||
SUBDIR += libassetml
|
||||
SUBDIR += libast
|
||||
SUBDIR += libastylej
|
||||
SUBDIR += libatomic_ops
|
||||
SUBDIR += libaura
|
||||
SUBDIR += libavl
|
||||
|
36
devel/libastylej/Makefile
Normal file
36
devel/libastylej/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# Created by: Boris Samorodov <bsam@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@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>
|
3
devel/libastylej/distinfo
Normal file
3
devel/libastylej/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1475650394
|
||||
SHA256 (astyle_2.05.1_linux.tar.gz) = fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac
|
||||
SIZE (astyle_2.05.1_linux.tar.gz) = 152765
|
7
devel/libastylej/pkg-descr
Normal file
7
devel/libastylej/pkg-descr
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user