# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # openhantek6022 # openhantek6022/distinfo # openhantek6022/pkg-descr # openhantek6022/Makefile # openhantek6022/pkg-plist # echo c - openhantek6022 mkdir -p openhantek6022 > /dev/null 2>&1 echo x - openhantek6022/distinfo sed 's/^X//' >openhantek6022/distinfo << 'c64c88630e13865c2c808ca71d9f4ebf' XTIMESTAMP = 1570690459 XSHA256 (OpenHantek-OpenHantek6022-v2.15_GH0.tar.gz) = b1ae72b9d0084912575e58df154a5a71f5d47b6c4bfacd8b57d94600027caf26 XSIZE (OpenHantek-OpenHantek6022-v2.15_GH0.tar.gz) = 17959703 c64c88630e13865c2c808ca71d9f4ebf echo x - openhantek6022/pkg-descr sed 's/^X//' >openhantek6022/pkg-descr << '9b286207c0fe7b67087ec815b909d903' XA DSO (USB digital storage oscilloscope) software for XHantek USB digital signal oscilloscopes 6022BE/BL and XVoltcraft DSO2020. X XWWW: https://github.com/OpenHantek/OpenHantek6022 9b286207c0fe7b67087ec815b909d903 echo x - openhantek6022/Makefile sed 's/^X//' >openhantek6022/Makefile << '33a54931514666640517cc9135a0cbdb' X# $FreeBSD$ X XPORTNAME= openhantek6022 XDISTVERSIONPREFIX= v XDISTVERSION= 2.15 XCATEGORIES= science X XMAINTAINER= tspfbsdport@tspi.at XCOMMENT= DSO software for Hantek USB digital signal oscilloscopes 6022BE/BL X XLICENSE= GPLv3 X XLIB_DEPENDS+= libfftw3.so:math/fftw3 XBUILD_DEPENDS+= cmake:devel/cmake X XUSES+= qt:5 gl xorg cmake X XUSE_QT+= printsupport opengl widgets gui core XUSE_GL+= gl glu X XUSE_GITHUB= yes XGH_ACCOUNT= OpenHantek XGH_PROJECT= OpenHantek6022 X XGROUPS= usbscope X Xpre-build: X ${MKDIR} ${WRKSRC}/build X Xdo-build: X cmake -B${WRKSRC}/build ${WRKSRC} X ${GMAKE} -C ${WRKSRC}/build X Xpre-install: X ${MKDIR} ${STAGEDIR}${PREFIX}/bin X ${MKDIR} ${STAGEDIR}${PREFIX}/etc/devd X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/build/openhantek/OpenHantek ${STAGEDIR}${PREFIX}/bin X ${INSTALL_DATA} ${WRKSRC}/devd_rules_freebsd/openhantek.conf ${STAGEDIR}${PREFIX}/etc/devd X Xpost-install: X ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/OpenHantek X echo "This port installed a devd configuration file at ${STAGEDIR}${PREFIX}/etc/devd/openhantek.conf" X echo "Reload devd or restart the system to take effect" X echo "All users that use OpenHantek should be member of the group ${GROUPS}" X X.include 33a54931514666640517cc9135a0cbdb echo x - openhantek6022/pkg-plist sed 's/^X//' >openhantek6022/pkg-plist << '06326d73237780264fb5de0f74744d51' Xbin/OpenHantek Xetc/devd/openhantek.conf 06326d73237780264fb5de0f74744d51 exit