Index: comms/cutecom/Makefile =================================================================== --- comms/cutecom/Makefile +++ comms/cutecom/Makefile @@ -1,18 +1,24 @@ # Created by: Markus Brueffer # $FreeBSD$ -PORTNAME= cutecom -PORTVERSION= 0.20.0 -PORTREVISION= 2 -CATEGORIES= comms -MASTER_SITES= http://cutecom.sourceforge.net/ +PORTNAME= cutecom +DISTVERSIONPREFIX= v +DISTVERSION= 0.45.0 +CATEGORIES= comms MAINTAINER= jwb@FreeBSD.org -COMMENT= Graphical serial terminal +COMMENT= Graphical serial terminal for embedded programming + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= lsz:comms/lrzsz -USE_QT4= qt3support qmake_build moc_build rcc_build uic_build USES= cmake +USE_QT5= buildtools_build core gui qmake_build serialport widgets +USE_GITHUB= yes +GH_ACCOUNT= neundorf + +PLIST_FILES= bin/cutecom .include Index: comms/cutecom/distinfo =================================================================== --- comms/cutecom/distinfo +++ comms/cutecom/distinfo @@ -1,2 +1,3 @@ -SHA256 (cutecom-0.20.0.tar.gz) = 44bf6c3a827b5d3b3a2b201010215faebde6af42dc16f5e0f877c858c6e19fe0 -SIZE (cutecom-0.20.0.tar.gz) = 22217 +TIMESTAMP = 1529676780 +SHA256 (neundorf-CuteCom-v0.45.0_GH0.tar.gz) = 30cc6a800231684446ef5ebea78092462b2662d06238c146d0b9e24b86685cea +SIZE (neundorf-CuteCom-v0.45.0_GH0.tar.gz) = 1152960 Index: comms/cutecom/files/patch-CMakeLists.txt =================================================================== --- comms/cutecom/files/patch-CMakeLists.txt +++ comms/cutecom/files/patch-CMakeLists.txt @@ -1,14 +0,0 @@ ---- ./CMakeLists.txt.orig 2008-03-13 00:09:49.000000000 +0300 -+++ ./CMakeLists.txt 2009-04-25 21:48:15.000000000 +0400 -@@ -19,10 +19,4 @@ - - install(FILES cutecom.1 DESTINATION man/man1 ) - --find_program(KDECONFIG_EXECUTABLE NAMES kde-config ) -- --if (KDECONFIG_EXECUTABLE) -- # then ask kde-config for the kde data dirs -- exec_program(${KDECONFIG_EXECUTABLE} ARGS --install apps --expandvars OUTPUT_VARIABLE _apps_DIR ) -- install(FILES cutecom.desktop DESTINATION ${_apps_DIR}/Utilities) --endif (KDECONFIG_EXECUTABLE) -+install(FILES cutecom.desktop DESTINATION share/applications) Index: comms/cutecom/files/patch-cutecommdlg.ui =================================================================== --- comms/cutecom/files/patch-cutecommdlg.ui +++ comms/cutecom/files/patch-cutecommdlg.ui @@ -1,14 +0,0 @@ ---- cutecommdlg.ui.orig 2008-03-12 16:09:50.000000000 -0500 -+++ cutecommdlg.ui 2009-03-28 12:46:04.000000000 -0500 -@@ -220,11 +220,6 @@ - - - -- 576000 -- -- -- -- - 921600 - - Index: comms/cutecom/files/patch-qcppdialogimpl.h =================================================================== --- comms/cutecom/files/patch-qcppdialogimpl.h +++ comms/cutecom/files/patch-qcppdialogimpl.h @@ -1,24 +0,0 @@ ---- qcppdialogimpl.h.orig 2008-03-12 16:09:50.000000000 -0500 -+++ qcppdialogimpl.h 2009-03-28 09:05:42.000000000 -0500 -@@ -103,4 +103,21 @@ - - }; - -+#if defined(__FreeBSD__) -+ -+#define DEVLIST "/dev/cuaU0"<<"/dev/cuaU1"<<"/dev/cuad0"<<"/dev/cuad1"; -+#define DEFAULT_DEV "/dev/cuaU0" -+ -+#elif defined(__APPLE__) -+ -+#define DEVLIST "/dev/cu.usbserial"<<"/dev/cu.KeySerial1"; -+#define DEFAULT_DEV "/dev/cu.usbserial" -+ -+#else // Default to Linux devices. -+ -+#define DEVLIST "/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3"; -+#define DEFAULT_DEV "/dev/ttyS0" -+ -+#endif -+ - #endif Index: comms/cutecom/files/patch-qcppdialogimpl.cpp =================================================================== --- comms/cutecom/files/patch-qcppdialogimpl.cpp +++ comms/cutecom/files/patch-qcppdialogimpl.cpp @@ -1,29 +0,0 @@ ---- qcppdialogimpl.cpp.orig 2009-03-28 12:42:56.000000000 -0500 -+++ qcppdialogimpl.cpp 2009-03-28 12:44:32.000000000 -0500 -@@ -243,11 +243,10 @@ - bool entryFound=false; - QStringList devices=settings.readListEntry("/cutecom/AllDevices", &entryFound); - if (!entryFound) -- devices<<"/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3"; -+ devices<insertStringList(devices); -- -- m_deviceCb->setCurrentText(settings.readEntry("/cutecom/CurrentDevice", "/dev/ttyS0")); -+ m_deviceCb->setCurrentText(settings.readEntry("/cutecom/CurrentDevice", DEFAULT_DEV)); - - QStringList history=settings.readListEntry("/cutecom/History"); - -@@ -932,9 +931,9 @@ - case 460800: - _baud=B460800; - break; -- case 576000: -- _baud=B576000; -- break; -+// case 576000: -+// _baud=B576000; -+// break; - case 921600: - _baud=B921600; - break; Index: comms/cutecom/pkg-descr =================================================================== --- comms/cutecom/pkg-descr +++ comms/cutecom/pkg-descr @@ -1,4 +1,6 @@ CuteCom is a QT-based graphical serial terminal ideally suited to embedded -programming and robotics. +programming and robotics. It features line-oriented interface instead of +character-oriented, xmodem, ymodem, zmodem support (requires the lrzsz package) +and hexadecimal input and output among other things. -WWW: http://cutecom.sourceforge.net/ +WWW: https://github.com/neundorf/CuteCom Index: comms/cutecom/pkg-plist =================================================================== --- comms/cutecom/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/cutecom -man/man1/cutecom.1.gz -share/applications/cutecom.desktop