View | Details | Raw Unified | Return to bug 232991
Collapse All | Expand All

(-)comms/java-simple-serial-connector/Makefile (+1 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	java-simple-serial-connector
3
PORTNAME=	java-simple-serial-connector
4
PORTVERSION=	2.8.0
4
PORTVERSION=	2.8.0
5
PORTREVISION=	1
5
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
6
CATEGORIES=	comms java
7
CATEGORIES=	comms java
7
8
(-)comms/java-simple-serial-connector/files/patch-src_java_jssc_SerialPortList.java (-5 / +5 lines)
Lines 4-14 Link Here
4
                 PORTNAMES_PATH = "/dev/";
4
                 PORTNAMES_PATH = "/dev/";
5
                 break;
5
                 break;
6
             }
6
             }
7
+	    case SerialNativeInterface.OS_FREEBSD: {
7
+            case SerialNativeInterface.OS_FREEBSD: {
8
+                PORTNAMES_REGEXP = Pattern.compile("cuaU[0-9]{1,3}");
8
+                PORTNAMES_REGEXP = Pattern.compile("cuaU[0-9]{1,3}$");
9
+		PORTNAMES_PATH = "/dev/";
9
+                PORTNAMES_PATH = "/dev/";
10
+	        break;
10
+                break;
11
+	    }
11
+            }
12
             case SerialNativeInterface.OS_WINDOWS: {
12
             case SerialNativeInterface.OS_WINDOWS: {
13
                 PORTNAMES_REGEXP = Pattern.compile("");
13
                 PORTNAMES_REGEXP = Pattern.compile("");
14
                 PORTNAMES_PATH = "";
14
                 PORTNAMES_PATH = "";
(-)devel/arduino18/Makefile (+1 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	arduino
3
PORTNAME=	arduino
4
PORTVERSION=	1.8.5
4
PORTVERSION=	1.8.5
5
PORTREVISION=	1
5
CATEGORIES=	devel java
6
CATEGORIES=	devel java
6
PKGNAMESUFFIX=	18
7
PKGNAMESUFFIX=	18
7
DIST_SUBDIR=	${PORTNAME}
8
DIST_SUBDIR=	${PORTNAME}
(-)devel/arduino18/files/patch-arduino-core_src_processing_app_SerialPortList.java (+14 lines)
Line 0 Link Here
1
--- arduino-core/src/processing/app/SerialPortList.java.orig	2019-03-12 21:32:52 UTC
2
+++ arduino-core/src/processing/app/SerialPortList.java
3
@@ -66,6 +66,11 @@ public class SerialPortList {
4
                 PORTNAMES_PATH = "";
5
                 break;
6
             }
7
+            case SerialNativeInterface.OS_FREEBSD: {
8
+                PORTNAMES_REGEXP = Pattern.compile("cuaU[0-9]{1,3}$");
9
+                PORTNAMES_PATH = "/dev/";
10
+                break;
11
+            }
12
             default: {
13
                 PORTNAMES_REGEXP = null;
14
                 PORTNAMES_PATH = null;

Return to bug 232991