aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/qt5-style-Kvantum/Makefile
blob: ab91f57f64243ea996ebaddd080ecf5aedd8927b (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
# $FreeBSD$

PORTNAME=	Kvantum
PORTVERSION=	0.10.5
DISTVERSIONPREFIX=	V
CATEGORIES=	x11-themes
PKGNAMEPREFIX=	qt5-style-

MAINTAINER=	rezny@FreeBSD.org
COMMENT=	SVG-based theme engine for Qt4/5, KDE and LXQT

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

USE_GITHUB=	yes
GH_ACCOUNT=	tsujan

USES=		compiler:c++11-lang qmake
USE_QT5=	core gui svg widgets x11extras buildtools_build linguisttools_build
USE_XORG=	x11 xext
USE_GL=		gl

WRKSRC_SUBDIR=	${PORTNAME}

post-patch:
	@${REINPLACE_CMD} -e 's|/kde4/|/|g' ${WRKSRC}/style/style.pro
	@${REINPLACE_CMD} -e 's|/kde4/|/|g' -e 's|--no-preserve=mode||g' \
		${WRKSRC}/themes/themes.pro

.include <bsd.port.mk>