diff options
author | yuri <yuri@FreeBSD.org> | 2019-11-10 15:01:04 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2019-11-10 15:01:04 +0800 |
commit | 924835364eb378f8b32c227e8c4d197131d1d90c (patch) | |
tree | 12aae74a50e2ac19ce85ba24d8c1de8fff3c55f0 | |
parent | a8975ce96ce0fa031c79a652af6662231edb1458 (diff) | |
download | freebsd-ports-gnome-924835364eb378f8b32c227e8c4d197131d1d90c.tar.gz freebsd-ports-gnome-924835364eb378f8b32c227e8c4d197131d1d90c.tar.zst freebsd-ports-gnome-924835364eb378f8b32c227e8c4d197131d1d90c.zip |
New port: misc/openhantek: Digital Software Oscilloscope (DSO) software for Hantek oscilloscopes
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/openhantek/Makefile | 27 | ||||
-rw-r--r-- | misc/openhantek/distinfo | 3 | ||||
-rw-r--r-- | misc/openhantek/pkg-descr | 9 |
4 files changed, 40 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 1a4acd901dd4..3cce62d34ba7 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -265,6 +265,7 @@ SUBDIR += opencyc SUBDIR += openhab2 SUBDIR += openhab2-addons + SUBDIR += openhantek SUBDIR += openhmd SUBDIR += openmvg SUBDIR += openr2 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/ |