From owner-svn-ports-head@freebsd.org Tue Oct 11 22:03:28 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 761EBC0B45E; Tue, 11 Oct 2016 22:03:28 +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 2F3A59C7; Tue, 11 Oct 2016 22:03:28 +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 u9BM3ROY045002; Tue, 11 Oct 2016 22:03:27 GMT (envelope-from bsam@FreeBSD.org) Received: (from bsam@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9BM3QWu044998; Tue, 11 Oct 2016 22:03:26 GMT (envelope-from bsam@FreeBSD.org) Message-Id: <201610112203.u9BM3QWu044998@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bsam set sender to bsam@FreeBSD.org using -f From: Boris Samorodov Date: Tue, 11 Oct 2016 22:03:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423803 - in head/devel: . listserialc 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: Tue, 11 Oct 2016 22:03:28 -0000 Author: bsam Date: Tue Oct 11 22:03:26 2016 New Revision: 423803 URL: https://svnweb.freebsd.org/changeset/ports/423803 Log: Simple multi-platform program to list serial ports with vid/pid/iserial fields. WWW: https://github.com/arduino/listSerialPortsC PR: 213391 Submitted by: bsdports@kyle-evans.net Added: head/devel/listserialc/ head/devel/listserialc/Makefile (contents, props changed) head/devel/listserialc/distinfo (contents, props changed) head/devel/listserialc/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Oct 11 21:59:38 2016 (r423802) +++ head/devel/Makefile Tue Oct 11 22:03:26 2016 (r423803) @@ -1454,6 +1454,7 @@ SUBDIR += linux_kdump SUBDIR += linux_libusb SUBDIR += lion + SUBDIR += listserialc SUBDIR += liteide SUBDIR += lldb37 SUBDIR += lldb38 Added: head/devel/listserialc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/listserialc/Makefile Tue Oct 11 22:03:26 2016 (r423803) @@ -0,0 +1,37 @@ +# $FreeBSD$ + +PORTNAME= listserialc +PORTVERSION= 1.1.0 +CATEGORIES= devel java + +MAINTAINER= bsdports@kyle-evans.net +COMMENT= Simple multiplatform program to list serial ports with vid/pid/iserial + +LICENSE= LGPL3+ + +LIB_DEPENDS= libserialport.so:devel/libserialport + +USE_GITHUB= yes +GH_ACCOUNT= arduino +GH_PROJECT= listSerialPortsC + +USE_JAVA= yes +USE_LDCONFIG= yes +MAKE_ARGS+= JAVA_HOME=${JAVA_HOME} + +CFLAGS+= -I${LOCALBASE}/include -I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd +LDFLAGS+= -L${LOCALBASE}/lib -lusb -lserialport + +PLIST_FILES= bin/listSerialC lib/jni/liblistSerialsj.so + +do-build: + @(cd ${WRKSRC} && \ + ${CC} ${CFLAGS} main.c ${LDFLAGS} -o listSerialC && \ + ${CC} ${CFLAGS} jnilib.c ${LDFLAGS} -shared -fPIC -o liblistSerialsj.so) + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/jni + ${INSTALL_PROGRAM} ${WRKSRC}/listSerialC ${STAGEDIR}${PREFIX}/bin + ${INSTALL_LIB} ${WRKSRC}/liblistSerialsj.so ${STAGEDIR}${PREFIX}/lib/jni + +.include Added: head/devel/listserialc/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/listserialc/distinfo Tue Oct 11 22:03:26 2016 (r423803) @@ -0,0 +1,3 @@ +TIMESTAMP = 1476212947 +SHA256 (arduino-listSerialPortsC-1.1.0_GH0.tar.gz) = 1a0ce4d9d2390f036f5ad83d7b82b24cf5c3ebc6359ac208f33aa95722e4ec5e +SIZE (arduino-listSerialPortsC-1.1.0_GH0.tar.gz) = 2628 Added: head/devel/listserialc/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/listserialc/pkg-descr Tue Oct 11 22:03:26 2016 (r423803) @@ -0,0 +1,3 @@ +Simple multi-platform program to list serial ports with vid/pid/iserial fields. + +WWW: https://github.com/arduino/listSerialPortsC