summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-18 01:27:47 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-18 01:27:47 +0800
commit83ff4ed8783dd228e8d04cf91c21db3acd4e9135 (patch)
treeed4ff1584282fa4e68684d4cf39c315782a880b5 /x11
parent54929eff097c45ed97b0965f0db975fcb2fc9a89 (diff)
downloadmarcuscom-ports-83ff4ed8783dd228e8d04cf91c21db3acd4e9135.tar
marcuscom-ports-83ff4ed8783dd228e8d04cf91c21db3acd4e9135.tar.gz
marcuscom-ports-83ff4ed8783dd228e8d04cf91c21db3acd4e9135.tar.bz2
marcuscom-ports-83ff4ed8783dd228e8d04cf91c21db3acd4e9135.tar.lz
marcuscom-ports-83ff4ed8783dd228e8d04cf91c21db3acd4e9135.tar.xz
marcuscom-ports-83ff4ed8783dd228e8d04cf91c21db3acd4e9135.tar.zst
marcuscom-ports-83ff4ed8783dd228e8d04cf91c21db3acd4e9135.zip
Make sure the invest-applet only gets installed when all of the necessary
Python bits are present. Reported by: Brian Gruber <knightbg@yahoo.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7323 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-applets/Makefile9
1 files changed, 7 insertions, 2 deletions
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 <marcus@FreeBSD.org>
#
# $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 <bsd.port.post.mk>