blob: 6e042621c112a0ad2a1389427879a85d65414934 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# New ports collection makefile for: gtk-qt-engine
# Date created: 23 February 2004
# Whom: Danny Pansters <danny@ricin.com>
#
# $FreeBSD$
#
PORTNAME= gtk-qt-engine
PORTVERSION= 0.7
PORTREVISION= 3
CATEGORIES= x11-themes
MASTER_SITES= http://people.freedesktop.org/~davidsansome/ \
http://freebsd.ricin.com/ports/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK-QT Theme Engine allows GTK2 apps to use QT (KDE) themes
LIB_DEPENDS= kdecore:${PORTSDIR}/x11/kdelibs3
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
USE_GNOME= gnomehack gtk20
USE_QT_VER= 3
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_SUB= GTK_VER=${GTK2_VERSION}
PLIST_SUB+= LOCALBASE=${LOCALBASE}
CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
OPTIONS= BONOBOUI "With libbonoboui (recommended)" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_BONOBOUI)
LIB_DEPENDS+= bonoboui-2:${PORTSDIR}/x11-toolkits/libbonoboui
.endif
pre-configure:
@${REINPLACE_CMD} -e "s|/share/themes/|${LOCALBASE}/share/themes/|" \
${WRKSRC}/kcm_gtk/kcmgtk.cpp
post-configure:
@${REINPLACE_CMD} -e "s|/usr/lib/menu|/tmp/menu|" \
${WRKSRC}/kcm_gtk/Makefile
@${REINPLACE_CMD} -e \
"s|/usr/share/applications|${PREFIX}/share/applications/kde|g" \
${WRKSRC}/kcm_gtk/Makefile
post-install:
@${RM} /tmp/menu/kcmgtk.menu
@if [ "`ls /tmp/menu`" = "" ]; then ${RMDIR} /tmp/menu; fi
@${RM} ${PREFIX}/share/applnk/Settings/LookNFeel/kcmgtk.desktop
.include <bsd.port.post.mk>
|