aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/qt4-style-quantumstyle/Makefile
blob: 281cbab8701b95c7184baa712070471432578ad3 (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
36
37
38
# New ports collection makefile for:    qt4-style-quantumstyle
# Date created:     26 Nov 2010
# Whom:         Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   quantumstyle
DISTVERSION=    rc6
CATEGORIES= x11-themes
MASTER_SITES=   http://saidlankri.free.fr/ \
        http://mirror.amdmi3.ru/distfiles/
PKGNAMEPREFIX=  qt4-style-
DISTNAME=   QuantumStyle-${DISTVERSION}

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    SVG themable style for Qt 4 and KDE

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USE_QT_VER= 4
QT_COMPONENTS=  corelib gui svg qmake_build rcc_build uic_build moc_build
MAKE_JOBS_SAFE= yes

WRKSRC=     ${WRKDIR}/QuantumStyle

PLIST_FILES=    ${QT_PLUGINDIR_REL}/styles/libquantumstyle.so
PLIST_DIRSTRY=  ${QT_PLUGINDIR_REL}/styles

do-configure:
    @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}

do-install:
    ${MKDIR} ${PREFIX}/${QT_PLUGINDIR_REL}/styles/
    ${INSTALL_PROGRAM} ${WRKSRC}/style/libquantumstyle.so ${PREFIX}/${QT_PLUGINDIR_REL}/styles/

.include <bsd.port.mk>