diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-17 12:36:32 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-17 12:36:32 +0800 |
commit | 364fb2aa78603f9af1c7144e9553743ec95d3475 (patch) | |
tree | 3277699afb6d4e9e9a7e34876812bce35bfbf747 /deskutils/deskbar-applet/Makefile | |
parent | 4217f0724bbe9104e813cacd45e8add896c5c411 (diff) | |
download | marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.tar marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.tar.gz marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.tar.bz2 marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.tar.lz marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.tar.xz marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.tar.zst marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.zip |
Update to 2.15.2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6278 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/deskbar-applet/Makefile')
-rw-r--r-- | deskutils/deskbar-applet/Makefile | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/deskutils/deskbar-applet/Makefile b/deskutils/deskbar-applet/Makefile new file mode 100644 index 000000000..8b332e9b4 --- /dev/null +++ b/deskutils/deskbar-applet/Makefile @@ -0,0 +1,81 @@ +# New ports collection makefile for: deskbar-applet +# Date created: 2005-07-13 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD: ports/deskutils/deskbar-applet/Makefile,v 1.10 2006/04/30 00:46:46 marcus Exp $ +# $MCom: ports/deskutils/deskbar-applet/Makefile,v 1.24 2006/04/17 07:51:13 marcus Exp $ +# + +PORTNAME= deskbar-applet +PORTVERSION= 2.15.2 +CATEGORIES= deskutils +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Gnome panel applet similar to Google's (Windows only) Deskbar + +USE_BZIP2= yes +USE_GETTEXT= yes +USE_X_PREFIX= yes +USE_GNOME= gnomeprefix gnomehack pygnomedesktop intlhack +USE_PYTHON= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +INSTALLS_ICONS= yes +CONFIGURE_ARGS= --disable-beagle +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 ${OSVERSION} < 500000 +BROKEN= Does not build on 4.X +.endif + +.if !defined(WITHOUT_EVO) +USE_GNOME+= evolutiondataserver +PLIST_SUB+= EVO="" +.else +CONFIGURE_ARGS+=--disable-evolution +PLIST_SUB+= EVO="@comment " +.endif + +.if !defined(DISPLAY) +BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \ + ${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT} +.if !defined(PACKAGE_BUILDING) +CONFIGURE_ENV+= DISPLAY="localhost:1001" +.endif +.endif + +post-patch: + @${FIND} ${WRKSRC}/deskbar -name "*.py" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|/usr/share/applications|${X11BASE}/share/gnome/applications|g' + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \ + s|%%X11BASE%%|${X11BASE}|g' \ + ${WRKSRC}/deskbar/handlers/mozilla.py \ + ${WRKSRC}/deskbar/Utils.py + +.if !defined(DISPLAY) +pre-configure: + @if [ -f ${WRKDIR}/.Xvfb.pid ]; then \ + ${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill || ${TRUE} ; \ + ${RM} -f ${WRKDIR}/.Xvfb.pid ; \ + fi + ${X11BASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO} $$! > ${WRKDIR}/.Xvfb.pid + @sleep 5 + +post-configure: + @if [ -f ${WRKDIR}/.Xvfb.pid ]; then \ + ${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill || ${TRUE} ; \ + ${RM} -f ${WRKDIR}/.Xvfb.pid ; \ + fi +.endif + +.include <bsd.port.post.mk> |