aboutsummaryrefslogtreecommitdiff
path: root/graphics/drawpile/Makefile
blob: 548044ecc829a23c4ca30186381db33281f0cf70 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
PORTNAME=	Drawpile
DISTVERSION=	2.2.1
CATEGORIES=	graphics python

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Collaborative drawing program
WWW=		https://drawpile.net

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

BUILD_DEPENDS=	${LOCALBASE}/share/ECM/cmake/ECMConfig.cmake:devel/kf5-extra-cmake-modules
LIB_DEPENDS=	libsodium.so:security/libsodium

USES=		cargo cmake compiler:c++17-lang desktop-file-utils kde:5 pkgconfig qt:5 shared-mime-info
USE_QT=		core gui multimedia network sql svg widgets xml \
		buildtools:build linguisttools:build qmake:build
USE_KDE=	archive dnssd

USE_GITHUB=	yes
GH_ACCOUNT=	${PORTNAME:tl}

CARGO_BUILD=	no
CARGO_INSTALL=	no
CARGO_CRATES=	aho-corasick-1.0.5 \
		anyhow-1.0.75 \
		memchr-2.6.1 \
		once_cell-1.18.0 \
		regex-1.9.4 \
		regex-automata-0.3.7 \
		regex-syntax-0.7.5 \
		xflags-0.3.1 \
		xflags-macros-0.3.1

BINARY_ALIAS=	lconvert=${QT_BINDIR}/lconvert

OPTIONS_DEFINE=	DOCS

PORTDOCS=	*

DOCSDIR=	${PREFIX}/share/doc/${PORTNAME:tl}
PLIST_SUB=	PORTVERSION=${PORTVERSION}

PORTSCOUT=	limit:^\d+\. # prevent tags like 'continuous'

.include <bsd.port.pre.mk>

#.if ${ARCH} == armv7
#BROKEN_FreeBSD_15=	clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276269
#.endif

.include <bsd.port.post.mk>