47b4985942
- Add patch to fix build - Mark MAKE_JOBS_SAFE - Improve COMMENT and description, update WWW - Don't remove common directories installed by gtk and kdehier ports - make bapt@ more happy (by converting to new options framework :) - do respect option
40 lines
921 B
Makefile
40 lines
921 B
Makefile
# Created by: Kris Moore <kris@pcbsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gtk-qt-engine
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 9
|
|
CATEGORIES= x11-themes
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
COMMENT= GTK+ 2.x theme engine allowing to use Qt/KDE styles
|
|
|
|
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
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
OPTIONS_DEFINE= BONOBO
|
|
BONOBO_DESC= Better support for Bonobo (GNOME) framework
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MBONOBO}
|
|
USE_GNOME+= libbonoboui
|
|
.endif
|
|
|
|
post-patch:
|
|
.if !${PORT_OPTIONS:MBONOBO}
|
|
@${REINPLACE_CMD} -e '/^PKGCONFIG(libbonoboui/d' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
.endif
|
|
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
|
|
${WRKSRC}/kcm_gtk/searchpaths.cpp \
|
|
${WRKSRC}/src/rcproperties.cpp
|
|
|
|
.include <bsd.port.mk>
|