summaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk-qt4-engine/Makefile
blob: b93d45c1e97db219153f2a82b52ad5eb4615667e (plain)
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
42
# 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=	7
CATEGORIES=	x11-themes
MASTER_SITES=	http://gtk-qt-engine.googlecode.com/files/
DISTFILES=	gtk-qt-engine-${PORTVERSION}${EXTRACT_SUFX}

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

USE_BZIP2=	yes
USE_GETTEXT=	yes
USE_GNOME=	gtk20
USE_QT_VER=	4
QT_COMPONENTS=	gui moc_build rcc_build uic_build qmake_build
USE_CMAKE=	yes
USE_KDE4=	kdebase 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>
OpenPOWER on IntegriCloud