blob: f9489cf4c40e18802b251382e29af0841df81b42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
PORTNAME= lxi-tools
DISTVERSIONPREFIX= v
DISTVERSION= 2.5
CATEGORIES= misc
MAINTAINER= dmgk@FreeBSD.org
COMMENT= Collection of tools that enables control of LXI compatible instruments
WWW= https://lxi-tools.github.io/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= liblxi.so:misc/liblxi
USES= meson lua:53 pkgconfig readline
USE_GITHUB= yes
MESON_ARGS= -Dbashcompletiondir=${PREFIX}/etc/bash_completion.d
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS GUI
OPTIONS_SUB= yes
GUI_LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib
GUI_USES= gettext-tools gnome python:3.6+,build
GUI_USE= gnome=cairo,gdkpixbuf2,glib20,gtk40,gtksourceview5,libadwaita
GUI_MESON_OFF= -Dgui=false
GUI_BINARY_ALIAS= python3=${PYTHON_CMD}
GUI_PLIST_FILES= bin/lxi-gui
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|