From owner-svn-ports-head@freebsd.org Wed Oct 5 06:54:49 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42D05AF6CC7; Wed, 5 Oct 2016 06:54:49 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1372FD51; Wed, 5 Oct 2016 06:54:49 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u956smQo081913; Wed, 5 Oct 2016 06:54:48 GMT (envelope-from bsam@FreeBSD.org) Received: (from bsam@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u956slfo081909; Wed, 5 Oct 2016 06:54:47 GMT (envelope-from bsam@FreeBSD.org) Message-Id: <201610050654.u956slfo081909@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bsam set sender to bsam@FreeBSD.org using -f From: Boris Samorodov Date: Wed, 5 Oct 2016 06:54:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423321 - in head/devel: . libastylej X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 06:54:49 -0000 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 +# $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 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/