aboutsummaryrefslogtreecommitdiff
path: root/misc/openhantek
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-11-10 07:01:04 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-11-10 07:01:04 +0000
commit37b2a84ae0e90d7bbed757840cd8a133561924c1 (patch)
tree12aae74a50e2ac19ce85ba24d8c1de8fff3c55f0 /misc/openhantek
parent3e14d32c0ccd20d08327530372295641bb9d2a41 (diff)
downloadports-37b2a84ae0e90d7bbed757840cd8a133561924c1.tar.gz
ports-37b2a84ae0e90d7bbed757840cd8a133561924c1.zip
New port: misc/openhantek: Digital Software Oscilloscope (DSO) software for Hantek oscilloscopes
Notes
Notes: svn path=/head/; revision=517188
Diffstat (limited to 'misc/openhantek')
-rw-r--r--misc/openhantek/Makefile27
-rw-r--r--misc/openhantek/distinfo3
-rw-r--r--misc/openhantek/pkg-descr9
3 files changed, 39 insertions, 0 deletions
diff --git a/misc/openhantek/Makefile b/misc/openhantek/Makefile
new file mode 100644
index 000000000000..cb4184749e52
--- /dev/null
+++ b/misc/openhantek/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= openhantek
+DISTVERSION= g20190903
+CATEGORIES= misc
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Digital Software Oscilloscope (DSO) software for Hantek oscilloscopes
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libfftw3.so:math/fftw3
+
+USES= cmake gl localbase qt:5
+USE_GITHUB= yes
+GH_ACCOUNT= OpenHantek
+GH_TAGNAME= e7e0c7b
+USE_QT= core gui opengl printsupport widgets buildtools_build qmake_build
+USE_GL= gl glu
+
+PLIST_FILES= bin/OpenHantek
+
+post-patch:
+ @${GREP} -rl "<libusb-1.0/libusb.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} 's|<libusb-1.0/libusb.h>|<libusb.h>|'
+
+.include <bsd.port.mk>
diff --git a/misc/openhantek/distinfo b/misc/openhantek/distinfo
new file mode 100644
index 000000000000..711738d26346
--- /dev/null
+++ b/misc/openhantek/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1573368045
+SHA256 (OpenHantek-openhantek-g20190903-e7e0c7b_GH0.tar.gz) = c4237a4a84f0efaa889bda570f442eb08bcf1b157f0aae8da0979e6fd59d9ef5
+SIZE (OpenHantek-openhantek-g20190903-e7e0c7b_GH0.tar.gz) = 11613267
diff --git a/misc/openhantek/pkg-descr b/misc/openhantek/pkg-descr
new file mode 100644
index 000000000000..5b7730b11901
--- /dev/null
+++ b/misc/openhantek/pkg-descr
@@ -0,0 +1,9 @@
+OpenHantek is a free software for Hantek and compatible
+(Voltcraft/Darkwire/Protek/Acetech) USB digital signal oscilloscopes.
+
+It has started as an alternative to the official Hantek DSO software for Linux
+users. Nowadays it works under Microsoft Windows and Apple Mac OS as well.
+
+It supported devices: DSO2xxx Series, DSO52xx Series.
+
+WWW: http://openhantek.org/