Lines 6-34
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= gtk-qt-engine |
8 |
PORTNAME= gtk-qt-engine |
9 |
PORTVERSION= 0.6 |
9 |
PORTVERSION= 0.7 |
10 |
PORTREVISION= 5 |
|
|
11 |
CATEGORIES= x11-themes |
10 |
CATEGORIES= x11-themes |
12 |
MASTER_SITES= http://www.freedesktop.org/~davidsansome/ \ |
11 |
MASTER_SITES= http://people.freedesktop.org/~davidsansome/ \ |
13 |
http://freebsd.ricin.com/ports/distfiles/ |
12 |
http://freebsd.ricin.com/ports/distfiles/ |
14 |
|
13 |
|
15 |
MAINTAINER= danny@ricin.com |
14 |
MAINTAINER= danny@ricin.com |
16 |
COMMENT= GTK-QT Theme Engine allows GTK2 apps to use QT (KDE) themes |
15 |
COMMENT= GTK-QT Theme Engine allows GTK2 apps to use QT (KDE) themes |
17 |
|
16 |
|
18 |
LIB_DEPENDS= kdecore:${PORTSDIR}/x11/kdelibs3 |
17 |
LIB_DEPENDS= kdecore:${PORTSDIR}/x11/kdelibs3 \ |
|
|
18 |
bonoboui-2:${PORTSDIR}/x11-toolkits/libbonoboui |
19 |
|
19 |
|
20 |
USE_BZIP2= yes |
20 |
USE_BZIP2= yes |
21 |
USE_X_PREFIX= yes |
|
|
22 |
USE_GMAKE= yes |
21 |
USE_GMAKE= yes |
23 |
USE_AUTOTOOLS= libtool:15 |
22 |
USE_AUTOTOOLS= libtool:15 |
24 |
USE_GNOME= gnomehack gtk20 |
23 |
USE_GNOME= gnomehack gtk20 |
25 |
USE_QT_VER= 3 |
24 |
USE_QT_VER= 3 |
26 |
|
25 |
|
|
|
26 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
27 |
PLIST_SUB= GTK_VER=${GTK2_VERSION} |
27 |
PLIST_SUB= GTK_VER=${GTK2_VERSION} |
28 |
PLIST_SUB+= X11BASE=${X11BASE} LOCALBASE=${LOCALBASE} |
28 |
PLIST_SUB+= X11BASE=${X11BASE} |
29 |
|
29 |
|
30 |
CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include |
30 |
CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include |
31 |
|
31 |
|
|
|
32 |
OPTIONS= BONOBOUI "With libbonoboui (recommended)" on |
33 |
|
32 |
pre-configure: |
34 |
pre-configure: |
33 |
@${REINPLACE_CMD} -e "s|/share/themes/|/X11R6/share/themes/|" \ |
35 |
@${REINPLACE_CMD} -e "s|/share/themes/|/X11R6/share/themes/|" \ |
34 |
${WRKSRC}/kcm_gtk/kcmgtk.cpp |
36 |
${WRKSRC}/kcm_gtk/kcmgtk.cpp |
Lines 37-52
Link Here
|
37 |
@${REINPLACE_CMD} -e "s|/usr/lib/menu|/tmp/menu|" \ |
39 |
@${REINPLACE_CMD} -e "s|/usr/lib/menu|/tmp/menu|" \ |
38 |
${WRKSRC}/kcm_gtk/Makefile |
40 |
${WRKSRC}/kcm_gtk/Makefile |
39 |
@${REINPLACE_CMD} -e \ |
41 |
@${REINPLACE_CMD} -e \ |
40 |
"s|/usr/share/applications|${LOCALBASE}/share/applications/kde|" \ |
42 |
"s|/usr/share/applications|${PREFIX}/share/applications/kde|g" \ |
41 |
${WRKSRC}/kcm_gtk/Makefile |
43 |
${WRKSRC}/kcm_gtk/Makefile |
42 |
|
44 |
|
43 |
post-install: |
45 |
post-install: |
44 |
@${RM} /tmp/menu/kcmgtk.menu |
46 |
@${RM} /tmp/menu/kcmgtk.menu |
45 |
@if [ "`ls /tmp/menu`" = "" ]; then ${RMDIR} /tmp/menu; fi |
47 |
@if [ "`ls /tmp/menu`" = "" ]; then ${RMDIR} /tmp/menu; fi |
46 |
@${INSTALL_DATA} ${WRKSRC}/kcm_gtk/kcm_kcmgtk.la ${LOCALBASE}/lib/kde3/ |
|
|
47 |
@${ECHO} |
48 |
@${ECHO} "Use \"GTK styles and fonts\" from the KDE control center to set or" |
49 |
@${ECHO} "change the GTK style. NOTE: this will overwrite your ~/.gtkrc-2.0." |
50 |
@${ECHO} |
51 |
|
48 |
|
52 |
.include <bsd.port.mk> |
49 |
.include <bsd.port.mk> |