aboutsummaryrefslogtreecommitdiffstats
path: root/science/pulseview/Makefile
blob: 0b441d0ba86d731f2e353d57a3cf64962aff8ed3 (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
# Created by: Uffe Jakobsen <uffe@uffe.org>
# $FreeBSD$

PORTNAME=   pulseview
PORTVERSION=    0.4.0
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 desktop-file-utils pkgconfig
USE_GNOME=  glibmm glib20 libsigc++20
USE_QT5=    buildtools core gui 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>