From 83ff4ed8783dd228e8d04cf91c21db3acd4e9135 Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 17 Sep 2006 17:27:47 +0000 Subject: Make sure the invest-applet only gets installed when all of the necessary Python bits are present. Reported by: Brian Gruber git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7323 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/gnome-applets/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'x11') diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile index a2bc27e0d..738554d82 100644 --- a/x11/gnome-applets/Makefile +++ b/x11/gnome-applets/Makefile @@ -3,18 +3,19 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/x11/gnome-applets/Makefile,v 1.138 2006/09/05 07:49:19 marcus Exp $ +# $MCom: ports/x11/gnome-applets/Makefile,v 1.139 2006/09/10 00:51:14 mezz Exp $ # PORTNAME= gnome-applets PORTVERSION= 2.16.0.1 +PORTREVISION= 1 CATEGORIES= x11 gnome 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= Applets components for the Gnome 2 Desktop Environment +COMMENT= Applets components for the GNOME 2 Desktop Environment BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/system-tools-backends.pc:${PORTSDIR}/sysutils/gnome-system-tools \ ${LOCALBASE}/libexec/gnome-settings-daemon:${PORTSDIR}/sysutils/gnome-control-center @@ -101,5 +102,9 @@ PLIST_SUB+= PYTHON="@comment " post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \ ${WRKSRC}/libgweather/weather-met.c +.if !defined(USE_PYTHON) + @${REINPLACE_CMD} -e 's|HAVE_PYGTK="yes"|HAVE_PYGTK="no"|' \ + ${WRKSRC}/configure +.endif .include -- cgit v1.2.3