Date: Tue, 11 Oct 2016 22:03:26 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423803 - in head/devel: . listserialc Message-ID: <201610112203.u9BM3QWu044998@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610112203.u9BM3QWu044998>