blob: ce7052cd6f46dcede498d0da575c9d53530e2e8e (
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
37
38
39
|
PORTNAME= librepcb
DISTVERSION= 1.1.0
DISTVERSIONSUFFIX= -source
CATEGORIES= cad
MASTER_SITES= https://download.librepcb.org/releases/${DISTVERSION}/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Schematic and PCB editing software
WWW= https://librepcb.org/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg4 \
libfontconfig.so:x11-fonts/fontconfig \
libfreeimage.so:graphics/freeimage \
libfreetype.so:print/freetype2 \
libtbb.so:devel/onetbb \
libTKService.so:cad/opencascade
USES= cmake:testing compiler:c++11-lang desktop-file-utils gl \
localbase:ldflags qt:5 shared-mime-info xorg zip
USE_QT= concurrent core declarative gui network \
opengl printsupport quickcontrols2 sql svg xml widgets \
buildtools:build linguisttools:build testlib:build qmake:build
USE_GL= gl glu
USE_XORG= x11
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
CMAKE_ARGS= -DCMAKE_PREFIX_PATH=${LOCALBASE}/lib # workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274834
CMAKE_OFF= BUILD_TESTS
CMAKE_TESTING_ON= BUILD_TESTS
CMAKE_TESTING_TARGET=
post-test: # run tests
@${BUILD_WRKSRC}/tests/unittests/librepcb-unittests
.include <bsd.port.mk>
|