aboutsummaryrefslogtreecommitdiff
path: root/science/pulseview/Makefile
blob: 896bfbd4bac7a41819a0a59199cca3bb275ecd6b (plain) (blame)
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
# Created by: Uffe Jakobsen <uffe@uffe.org>
# $FreeBSD$

PORTNAME=	pulseview
PORTVERSION=	0.4.2
PORTREVISION=	1
CATEGORIES=	science cad
MASTER_SITES=	http://sigrok.org/download/source/pulseview/

MAINTAINER=	bsam@FreeBSD.org
COMMENT=	GUI client that supports various hardware logic analyzers

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libboost_thread.so:devel/boost-libs \
		libsigrok.so:devel/libsigrok \
		libsigrokdecode.so:devel/libsigrokdecode

USES=		cmake compiler:c++14-lang desktop-file-utils gnome pkgconfig qt:5
USE_GNOME=	glibmm glib20 libsigc++20
USE_QT=		buildtools_build core gui linguisttools_build qmake_build svg widgets

CMAKE_ARGS+=	-DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man \
		-DDISABLE_WERROR:BOOL=TRUE
INSTALLS_ICONS=	yes

PLIST_FILES=	bin/pulseview man/man1/pulseview.1.gz \
		share/applications/org.sigrok.PulseView.desktop \
		share/icons/hicolor/48x48/apps/pulseview.png \
		share/icons/hicolor/scalable/apps/pulseview.svg \
		share/metainfo/org.sigrok.PulseView.appdata.xml

MAKE_JOBS_UNSAFE=yes

.include <bsd.port.mk>