2005-11-05 06:41:44 +01:00
|
|
|
# New ports collection makefile for: deskbar-applet
|
|
|
|
# Date created: 2005-07-13
|
|
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2007-12-12 05:44:20 +01:00
|
|
|
# $MCom: ports-stable/deskutils/deskbar-applet/Makefile,v 1.1 2007/11/30 22:05:58 marcus Exp $
|
2005-11-05 06:41:44 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= deskbar-applet
|
2008-01-07 23:08:53 +01:00
|
|
|
PORTVERSION= 2.20.3
|
2006-10-14 10:35:50 +02:00
|
|
|
CATEGORIES= deskutils gnome
|
2005-12-09 04:38:36 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2006-04-30 02:47:21 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
2005-12-09 04:38:36 +01:00
|
|
|
DIST_SUBDIR= gnome2
|
2005-11-05 06:41:44 +01:00
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2006-11-20 17:24:54 +01:00
|
|
|
COMMENT= Omnipresent versatile search interface
|
2005-11-05 06:41:44 +01:00
|
|
|
|
2007-10-25 18:33:15 +02:00
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree \
|
|
|
|
${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
|
2007-03-23 05:45:59 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree \
|
|
|
|
${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
|
Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOME
releases in that it focuses more on stability and functionality than on
new features. Not that it doesn't have its share of new and exciting
items. See http://www.gnome.org/start/2.18/ for all the goodies in
this release.
GNOME 2.18 for FreeBSD would not have been possible without the hard work
of the FreeBSD GNOME Team and our intrepid band of testers including
J. W. Ballantine, Pawel Worach, Yasuda Keisuke, Pascal Hofstee, miwi,
Yoshihiro Ota, Vladimir Grebenschikov, Jukka A. Ukkonen,
Phillip Neumann, Franz Klammer, and Neal Delmonico.
2007-03-19 06:14:07 +01:00
|
|
|
|
2005-12-09 04:38:36 +01:00
|
|
|
USE_BZIP2= yes
|
2006-04-30 02:47:21 +02:00
|
|
|
USE_GETTEXT= yes
|
2006-10-14 10:35:50 +02:00
|
|
|
USE_XLIB= yes
|
2006-04-30 02:47:21 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack pygnomedesktop intlhack
|
2005-11-05 06:41:44 +01:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-10-14 10:35:50 +02:00
|
|
|
INSTALLS_ICONS= yes
|
Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOME
releases in that it focuses more on stability and functionality than on
new features. Not that it doesn't have its share of new and exciting
items. See http://www.gnome.org/start/2.18/ for all the goodies in
this release.
GNOME 2.18 for FreeBSD would not have been possible without the hard work
of the FreeBSD GNOME Team and our intrepid band of testers including
J. W. Ballantine, Pawel Worach, Yasuda Keisuke, Pascal Hofstee, miwi,
Yoshihiro Ota, Vladimir Grebenschikov, Jukka A. Ukkonen,
Phillip Neumann, Franz Klammer, and Neal Delmonico.
2007-03-19 06:14:07 +01:00
|
|
|
INSTALLS_OMF= yes
|
2005-11-05 06:41:44 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
GCONF_SCHEMAS= deskbar-applet.schemas
|
|
|
|
|
|
|
|
OPTIONS= EVO "Enable evolution support" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_EVO)
|
|
|
|
USE_GNOME+= evolutiondataserver
|
|
|
|
PLIST_SUB+= EVO=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-evolution
|
|
|
|
PLIST_SUB+= EVO="@comment "
|
|
|
|
.endif
|
|
|
|
|
2006-04-30 02:47:21 +02:00
|
|
|
.if !defined(DISPLAY)
|
|
|
|
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \
|
2007-10-25 01:37:25 +02:00
|
|
|
${LOCALBASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT}
|
2006-04-30 02:47:21 +02:00
|
|
|
.if !defined(PACKAGE_BUILDING)
|
|
|
|
CONFIGURE_ENV+= DISPLAY="localhost:1001"
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2005-11-05 06:41:44 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
|
2007-05-21 00:08:23 +02:00
|
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g' \
|
2006-04-30 02:47:21 +02:00
|
|
|
${WRKSRC}/deskbar/handlers/mozilla.py \
|
2007-10-25 01:37:25 +02:00
|
|
|
${WRKSRC}/deskbar/core/Utils.py
|
2006-04-30 02:47:21 +02:00
|
|
|
|
|
|
|
.if !defined(DISPLAY)
|
|
|
|
pre-configure:
|
|
|
|
@if [ -f ${WRKDIR}/.Xvfb.pid ]; then \
|
|
|
|
${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill || ${TRUE} ; \
|
|
|
|
${RM} -f ${WRKDIR}/.Xvfb.pid ; \
|
|
|
|
fi
|
2007-10-25 01:37:25 +02:00
|
|
|
@${LOCALBASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO} $$! > ${WRKDIR}/.Xvfb.pid
|
2006-04-30 02:47:21 +02:00
|
|
|
@sleep 5
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@if [ -f ${WRKDIR}/.Xvfb.pid ]; then \
|
|
|
|
${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill || ${TRUE} ; \
|
|
|
|
${RM} -f ${WRKDIR}/.Xvfb.pid ; \
|
|
|
|
fi
|
|
|
|
.endif
|
2005-11-05 06:41:44 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|