aboutsummaryrefslogtreecommitdiff
path: root/deskutils/coregarage/Makefile
blob: b4279f11a5c2da57874e4283e64819fe1a71913b (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=	coregarage
DISTVERSION=	5.0.0
CATEGORIES=	deskutils

MAINTAINER=	jwb@FreeBSD.org
COMMENT=	Settings manager for C Suite
WWW=		https://gitlab.com/cubocore/coregarage

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libcprime-core.so:deskutils/libcprime

USES=		cmake desktop-file-utils localbase:ldflags qt:6
USE_QT=		base tools:build
USE_GITLAB=	yes

GL_ACCOUNT=	CuboCore
GL_TAGNAME=	v5.0.0

PLIST_FILES=	bin/coregarage \
		share/applications/cc.cubocore.CoreGarage.desktop \
		share/icons/hicolor/scalable/apps/cc.cubocore.CoreGarage.svg

pre-configure:
	@${REINPLACE_CMD} \
		-e 's|/usr/bin|${PREFIX}/bin|g' \
		-e 's|/usr/lib|${PREFIX}/lib|g' \
		-e 's|/usr/share|${PREFIX}/share|g' \
		${WRKSRC}/src/coregarage.cpp \
		${WRKSRC}/src/settings.cpp \
		${WRKSRC}/src/coregarage.h \
		${WRKSRC}/cc.cubocore.CoreGarage.desktop

.include <bsd.port.mk>