freebsd-ports/x11-themes/gtk-qt-engine/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

54 lines
1.5 KiB
Makefile

# 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= 4
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_X_PREFIX= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
USE_GNOME= gnomehack gtk20
USE_QT_VER= 3
USE_REINPLACE= yes
PLIST_SUB= GTK_VER=2.4.0
PLIST_SUB+= X11BASE=${X11BASE} LOCALBASE=${LOCALBASE}
CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
pre-configure:
@${REINPLACE_CMD} -e "s|/share/themes/|/X11R6/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>