Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2016 20:56:36 +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: r424655 - head/devel/arduino16
Message-ID:  <201610252056.u9PKuaU0062714@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Tue Oct 25 20:56:36 2016
New Revision: 424655
URL: https://svnweb.freebsd.org/changeset/ports/424655

Log:
  devel/arduino16: Bring in java-simple-serial-connector to fix the serial monitor.
  
  PR:		213760
  Submitted by:	Kyle Evans <bsdports@kyle-evans.net> (maintainer)

Modified:
  head/devel/arduino16/Makefile

Modified: head/devel/arduino16/Makefile
==============================================================================
--- head/devel/arduino16/Makefile	Tue Oct 25 20:44:49 2016	(r424654)
+++ head/devel/arduino16/Makefile	Tue Oct 25 20:56:36 2016	(r424655)
@@ -2,7 +2,7 @@
 
 PORTNAME=		arduino
 PORTVERSION=		1.6.12
-PORTREVISION=		1
+PORTREVISION=		2
 CATEGORIES=		devel java
 PKGNAMESUFFIX=		16
 DIST_SUBDIR=		${PORTNAME}
@@ -17,7 +17,8 @@ LIB_DEPENDS=		liblistSerialsj.so:devel/l
 			libastyle-arduinoj.so:devel/libastylej-arduino
 RUN_DEPENDS=		arduino-builder:devel/arduino-builder \
 			arduino-tools>=1.6.12:devel/arduino-tools \
-			bash:shells/bash
+			bash:shells/bash \
+			${JAVA_HOME}/jre/lib/ext/jssc-2.8.0.jar:comms/java-simple-serial-connector
 
 CONFLICTS=		arduino-[0-9]*
 
@@ -94,8 +95,10 @@ do-install:
 	(cd ${WRKSRC}/../ && ${COPYTREE_SHARE} "libraries" ${STAGEDIR}${PREFIX}/${PORTNAME} ${FIND_EXPR})
 	${RM} ${STAGEDIR}${PREFIX}/${PORTNAME}/lib/libastylej.so
 	${RM} ${STAGEDIR}${PREFIX}/${PORTNAME}/lib/liblistSerialsj.so
+	${RM} ${STAGEDIR}${PREFIX}/${PORTNAME}/lib/jssc-2.8.0.jar
 	${LN} -s ../../lib/jni/libastyle-arduinoj.so ${STAGEDIR}${PREFIX}/${PORTNAME}/lib/libastylej.so
 	${LN} -s ../../lib/jni/liblistSerialsj.so ${STAGEDIR}${PREFIX}/${PORTNAME}/lib/liblistSerialsj.so
+	${LN} -s ${JAVA_HOME}/jre/lib/ext/jssc-2.8.0.jar ${STAGEDIR}${PREFIX}/${PORTNAME}/lib/jssc-2.8.0.jar
 	${INSTALL_SCRIPT} ${BUILD_DIR}/arduino ${STAGEDIR}${PREFIX}/${PORTNAME}
 	${LN} -s ../${PORTNAME}/arduino ${STAGEDIR}${PREFIX}/bin/arduino
 	${LN} -s ../bin/arduino-builder ${STAGEDIR}${PREFIX}/arduino/arduino-builder



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610252056.u9PKuaU0062714>