freebsd-ports/deskutils/flameshot/Makefile
Emanuel Haupt fee22f15c6 deskutils/flameshot: Update to 0.10.2
PR:		260188
Approved by:	maintainer-timeout (nivit, 20d)
2021-12-23 22:06:49 +01:00

31 lines
834 B
Makefile

# Created by: Nicola Stanislao Vitale <nivit@FreeBSD.org>
PORTNAME= flameshot
PORTVERSION= 0.10.2
DISTVERSIONPREFIX= v
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' \
-e 's,^\(Exec=\)/usr\(/bin\),\1${LOCALBASE}\2,1' \
${WRKSRC}/data/dbus/org.flameshot.Flameshot.service.in \
${WRKSRC}/data/desktopEntry/package/org.flameshot.Flameshot.desktop
.include <bsd.port.mk>