aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk-qt4-engine/Makefile
blob: 1449d732c37e5184ad5ce703ba3b69b8d4d37c28 (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
39
40
41
# New ports collection makefile for:    gtk-qt4-engine
# Date created:                         07 July 2008
# Whom:                                 Kris Moore <kris@pcbsd.org>
#
# $FreeBSD$
#

PORTNAME=   gtk-qt4-engine
PORTVERSION=    1.1
PORTREVISION=   8
CATEGORIES= x11-themes
MASTER_SITES=   http://gtk-qt-engine.googlecode.com/files/
DISTFILES=  gtk-qt-engine-${PORTVERSION}${EXTRACT_SUFX}

MAINTAINER= makc@FreeBSD.org
COMMENT=    GTK-QT Theme Engine allows GTK2 apps to use QT/KDE themes

USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_GNOME=  gtk20
USE_QT4=    moc_build rcc_build uic_build qmake_build
USE_CMAKE=  yes
USE_KDE4=   kdelibs kdeprefix automoc4

OPTIONS=    LIBBONOBOUI "Install libbonoboui if missing" off

WRKSRC=     ${WRKDIR}/gtk-qt-engine

.include <bsd.port.pre.mk>

.if defined(WITH_LIBBONOBOUI)
USE_GNOME+= libbonoboui
.endif

post-patch:
    @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
        ${WRKSRC}/kcm_gtk/searchpaths.cpp
    @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
        ${WRKSRC}/src/rcproperties.cpp

.include <bsd.port.post.mk>