aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk-qt4-engine/Makefile
blob: e153b9fa44058425cf319bdeb9c7c6b5174dc870 (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
# Created by: Kris Moore <kris@pcbsd.org>
# $FreeBSD$

PORTNAME=   gtk-qt-engine
PORTVERSION=    1.1
PORTREVISION=   13
CATEGORIES= x11-themes
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= ports@FreeBSD.org
COMMENT=    GTK+ 2.x theme engine allowing to use Qt/KDE styles

BROKEN=     Unfetchable (google code has gone away)

USE_GNOME=  gtk20
USE_QT4=    corelib gui moc_build rcc_build uic_build qmake_build
USES=       cmake gettext kde:4 pkgconfig tar:bzip2
USE_KDE=    kdelibs automoc4
WRKSRC=     ${WRKDIR}/${PORTNAME}

OPTIONS_DEFINE= BONOBO
BONOBO_DESC=    Better support for Bonobo (GNOME) framework
BONOBO_USE= GNOME=libbonoboui

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

post-patch-BONOBO-off:
    ${REINPLACE_CMD} -e '/^PKGCONFIG(libbonoboui/d' \
        ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>