2019-11-10 08:01:04 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= openhantek
|
2021-03-02 22:00:57 +01:00
|
|
|
DISTVERSION= 3.2
|
2019-11-10 08:01:04 +01:00
|
|
|
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
|
|
|
|
|
2019-11-11 01:13:00 +01:00
|
|
|
USES= cmake compiler:c++11-lang gl localbase qt:5
|
2019-11-10 08:01:04 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= OpenHantek
|
2020-07-30 19:28:35 +02:00
|
|
|
GH_PROJECT= OpenHantek6022 # there's also the openhantek project which OpenHantek6022 is a fork of
|
2019-11-21 07:34:43 +01:00
|
|
|
USE_QT= core gui opengl printsupport widgets buildtools_build linguist_build qmake_build
|
2019-11-10 08:01:04 +01:00
|
|
|
USE_GL= gl glu
|
|
|
|
|
2020-08-02 04:14:01 +02:00
|
|
|
OPTIONS_DEFINE= HANTEK_AC
|
|
|
|
|
|
|
|
HANTEK_AC_DESC= Allow AC input with a modified hardware
|
|
|
|
HANTEK_AC_CMAKE_ON= -DHANTEK_AC=1
|
|
|
|
|
2020-07-30 19:28:35 +02:00
|
|
|
PLIST_FILES= bin/OpenHantek \
|
|
|
|
etc/devd/openhantek.conf \
|
|
|
|
share/applications/OpenHantek.desktop \
|
|
|
|
share/icons/hicolor/48x48/apps/OpenHantek.png \
|
|
|
|
share/icons/hicolor/scalable/apps/OpenHantek.svg
|
2019-11-10 08:01:04 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|