From 5cfe3b0e41fad2b8d3d478e2db0be8a0577824ec Mon Sep 17 00:00:00 2001 From: kwm Date: Fri, 11 Mar 2011 20:00:25 +0000 Subject: Add cheese (webcam) support, currently off. Feel free to commit a default to on version for 8.x and up. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15462 df743ca5-7f9a-e211-a948-0013205c9059 --- sysutils/gnome-control-center3/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'sysutils/gnome-control-center3') diff --git a/sysutils/gnome-control-center3/Makefile b/sysutils/gnome-control-center3/Makefile index 5736e90a3..9b2af3391 100644 --- a/sysutils/gnome-control-center3/Makefile +++ b/sysutils/gnome-control-center3/Makefile @@ -3,11 +3,9 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/sysutils/gnome-control-center3/Makefile,v 1.8 2011/02/22 16:44:38 kwm Exp $ +# $MCom: ports/sysutils/gnome-control-center3/Makefile,v 1.9 2011/03/09 15:28:00 kwm Exp $ # -# add cheese suppor when it gets gtk3 version - PORTNAME= gnome-control-center PORTVERSION= 2.91.91 CATEGORIES= sysutils gnome @@ -53,7 +51,8 @@ GCONF_SCHEMAS= gnome-control-center.schemas WITH_GNOME= yes .endif -OPTIONS= CUPS "Enable cups (printing) support" On +OPTIONS= CUPS "Enable cups (printing) support" On \ + CHEESE "Enable cheese webcam support" Off .include @@ -65,6 +64,13 @@ PLIST_SUB+= CUPS="@comment " CONFIGURE_ARGS+=--disable-cups .endif +.if defined(WITH_CHEESE) +CONFIGURE_ARGS+=--with-cheese +LIB_DEPENDS+= cheese.0:${PORTSDIR}/multimedia/cheese3 +.else +CONFIGURE_ARGS+=--without-cheese +.endif + post-install: @-update-desktop-database -- cgit v1.2.3