aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/qt4-style-Kvantum/Makefile
blob: 4f293deef28fc17d9c648b13875fdaa32f1ec39e (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.4
DISTVERSIONPREFIX=	V
PORTREVISION=	2
CATEGORIES=	x11-themes
PKGNAMEPREFIX=	qt4-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_QT4=	corelib gui svg rcc_build uic_build moc_build
USE_XORG=	x11 xext

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>