aboutsummaryrefslogtreecommitdiff
path: root/graphics/drawpile/Makefile
blob: 160a94e07834e3d7a64fe117e6be3ade83b9554d (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
PORTNAME=	Drawpile
DISTVERSION=	2.1.17
PORTREVISION=	1
CATEGORIES=	graphics python

PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES=	b46115160c5587aae9306e57d4223906e74ed512.patch:-p1 # patch adding #include <QPainterPath>
PATCHFILES+=	ed1a75deb113da2d1df91a28f557509c4897130e.patch:-p1 # fix compilation with libmicrohttpd 0.9.71

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Collaborative drawing program

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgif.so:graphics/giflib \
		libmicrohttpd.so:www/libmicrohttpd \
		libminiupnpc.so:net/miniupnpc \
		libsodium.so:security/libsodium \
		libvpx.so:multimedia/libvpx

USES=		cmake compiler:c++11-lang desktop-file-utils kde:5 pkgconfig qt:5 shared-mime-info
USE_GITHUB=	yes
GH_ACCOUNT=	${PORTNAME:tl}
USE_QT=		core gui multimedia network sql svg widgets buildtools_build linguisttools_build qmake_build
USE_KDE=	archive dnssd

OPTIONS_DEFINE=	DOCS

PORTDOCS=	*

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

.include <bsd.port.mk>