diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-20 19:38:28 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-20 19:38:28 +0800 |
commit | cb0ff284c30c62530d4a4b49b7732b2c3a9a08c0 (patch) | |
tree | 81a3c932459f7b0db7cdf18abbc523cf44c04738 /x11-themes/gtk-qt-engine/Makefile | |
parent | c4a0907cb0c85cb401b84369e479b81dbeb7dd18 (diff) | |
download | marcuscom-ports-cb0ff284c30c62530d4a4b49b7732b2c3a9a08c0.tar marcuscom-ports-cb0ff284c30c62530d4a4b49b7732b2c3a9a08c0.tar.gz marcuscom-ports-cb0ff284c30c62530d4a4b49b7732b2c3a9a08c0.tar.bz2 marcuscom-ports-cb0ff284c30c62530d4a4b49b7732b2c3a9a08c0.tar.lz marcuscom-ports-cb0ff284c30c62530d4a4b49b7732b2c3a9a08c0.tar.xz marcuscom-ports-cb0ff284c30c62530d4a4b49b7732b2c3a9a08c0.tar.zst marcuscom-ports-cb0ff284c30c62530d4a4b49b7732b2c3a9a08c0.zip |
- Convert the rest of gnome/gtk/metacity/sawfish themes to install
in LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6666 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-themes/gtk-qt-engine/Makefile')
-rw-r--r-- | x11-themes/gtk-qt-engine/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/x11-themes/gtk-qt-engine/Makefile b/x11-themes/gtk-qt-engine/Makefile new file mode 100644 index 000000000..f4e55f429 --- /dev/null +++ b/x11-themes/gtk-qt-engine/Makefile @@ -0,0 +1,51 @@ +# 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.6 +PORTREVISION= 6 +CATEGORIES= x11-themes +MASTER_SITES= http://www.freedesktop.org/~davidsansome/ \ + http://freebsd.ricin.com/ports/distfiles/ + +MAINTAINER= danny@ricin.com +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 + +PLIST_SUB= GTK_VER=${GTK2_VERSION} +PLIST_SUB+= X11BASE=${X11BASE} LOCALBASE=${LOCALBASE} + +CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include + +pre-configure: + @${REINPLACE_CMD} -e "s|/usr/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|${LOCALBASE}/share/applications/kde|" \ + ${WRKSRC}/kcm_gtk/Makefile + +post-install: + @${RM} /tmp/menu/kcmgtk.menu + @if [ "`ls /tmp/menu`" = "" ]; then ${RMDIR} /tmp/menu; fi + @${INSTALL_DATA} ${WRKSRC}/kcm_gtk/kcm_kcmgtk.la ${LOCALBASE}/lib/kde3/ + @${ECHO} + @${ECHO} "Use \"GTK styles and fonts\" from the KDE control center to set or" + @${ECHO} "change the GTK style. NOTE: this will overwrite your ~/.gtkrc-2.0." + @${ECHO} + +.include <bsd.port.mk> |