# Created by: Michael Johnson # $FreeBSD$ # $MCom: ports/deskutils/deskbar-applet/Makefile,v 1.116 2010/09/27 19:36:13 kwm Exp $ PORTNAME= deskbar-applet PORTVERSION= 2.32.0 PORTREVISION= 3 CATEGORIES= deskutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Omnipresent versatile search interface BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus RUN_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus USE_BZIP2= yes USES= pathfix gettext gmake pkgconfig USE_GNOME= gnomeprefix pygnomedesktop intlhack USE_PYTHON= yes GNU_CONFIGURE= yes INSTALLS_ICONS= yes INSTALLS_OMF= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GCONF_SCHEMAS= deskbar-applet.schemas OPTIONS_DEFINE= EVO OPTIONS_DEFAULT=EVO EVO_DESC= Enable evolution support .include .if ${PORT_OPTIONS:MEVO} USE_GNOME+= evolutiondataserver PLIST_SUB+= EVO="" .else CONFIGURE_ARGS+=--disable-evolution PLIST_SUB+= EVO="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \ s|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/deskbar/handlers/mozilla.py \ ${WRKSRC}/deskbar/core/Utils.py @${REINPLACE_CMD} -e 's|||g' \ ${WRKSRC}/deskbar/handlers/evolution/evolution.[ch] .include