Index: misc/Makefile =================================================================== --- misc/Makefile +++ misc/Makefile @@ -262,6 +262,7 @@ SUBDIR += loop SUBDIR += lv SUBDIR += lxde-common + SUBDIR += lxi-tools SUBDIR += magicpoint SUBDIR += man.el SUBDIR += mbuffer Index: misc/lxi-tools/Makefile =================================================================== --- /dev/null +++ misc/lxi-tools/Makefile @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= lxi-tools +DISTVERSIONPREFIX= v +DISTVERSION= 1.16 +CATEGORIES= misc + +MAINTAINER= dg@syrec.org +COMMENT= Collection of tools that enables control of LXI compatible instruments + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= liblxi.so:misc/liblxi + +USES= autoreconf localbase readline +USE_GITHUB= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-bash-completion-dir=${PREFIX}/etc/bash_completion.d +CFLAGS+= -D_WITH_GETLINE # enable getline(3) prototype + +PORTDOCS= README + +PLIST_FILES= bin/lxi \ + man/man1/lxi.1.gz \ + ${PREFIX}/etc/bash_completion.d/lxi + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include Index: misc/lxi-tools/distinfo =================================================================== --- /dev/null +++ misc/lxi-tools/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1514577395 +SHA256 (lxi-tools-lxi-tools-v1.16_GH0.tar.gz) = bd75d92421e9cb0962a019ec26f154da84711949e5ea9cbd96c7de6467f89869 +SIZE (lxi-tools-lxi-tools-v1.16_GH0.tar.gz) = 20459 Index: misc/lxi-tools/pkg-descr =================================================================== --- /dev/null +++ misc/lxi-tools/pkg-descr @@ -0,0 +1,11 @@ +lxi-tools is a collection of open source software tools that enables control +of LXI compatible instruments such as modern oscilloscopes, power supplies, +spectrum analyzers etc. + +All features are consolidated in the 'lxi' application which provides a +simple commandline interface to discover LXI instruments, send SCPI +commands, and capture screenshots from supported LXI instruments. + +lxi-tools rely on liblxi for all communication. + +WWW: https://lxi-tools.github.io