aboutsummaryrefslogtreecommitdiff
path: root/deskutils/flameshot/Makefile
blob: 60e100d4d6e6737a628f8f90ab596ef653074791 (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
# Created by: Nicola Stanislao Vitale <nivit@FreeBSD.org>

PORTNAME=	flameshot
PORTVERSION=	0.9.0
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	deskutils

MAINTAINER=	nivit@FreeBSD.org
COMMENT=	Powerful yet simple to use screenshot software

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake compiler:c++11-lang gl qmake qt:5

CMAKE_INSTALL_PREFIX=	${STAGEDIR}/${PREFIX}

GH_ACCOUNT=	flameshot-org

USE_GITHUB=	yes
USE_GL=		gl
USE_QT=		core dbus gui linguist network svg widgets \
		buildtools_build

post-patch:
	        @${REINPLACE_CMD} -e 's,$${CMAKE_INSTALL_FULL_BINDIR},${LOCALBASE}/bin,1' \
	                ${WRKSRC}/data/dbus/org.flameshot.Flameshot.service.in

.include <bsd.port.mk>