summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-12 04:00:25 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-12 04:00:25 +0800
commit5cfe3b0e41fad2b8d3d478e2db0be8a0577824ec (patch)
tree0a82dc8469d65523bcfe0243a88f413171ff87e1 /sysutils
parent2baeae0ce108be3229422d6a0fe1dbd2b2dd17ea (diff)
downloadmarcuscom-ports-5cfe3b0e41fad2b8d3d478e2db0be8a0577824ec.tar
marcuscom-ports-5cfe3b0e41fad2b8d3d478e2db0be8a0577824ec.tar.gz
marcuscom-ports-5cfe3b0e41fad2b8d3d478e2db0be8a0577824ec.tar.bz2
marcuscom-ports-5cfe3b0e41fad2b8d3d478e2db0be8a0577824ec.tar.lz
marcuscom-ports-5cfe3b0e41fad2b8d3d478e2db0be8a0577824ec.tar.xz
marcuscom-ports-5cfe3b0e41fad2b8d3d478e2db0be8a0577824ec.tar.zst
marcuscom-ports-5cfe3b0e41fad2b8d3d478e2db0be8a0577824ec.zip
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
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-control-center3/Makefile14
1 files changed, 10 insertions, 4 deletions
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 <marcus@FreeBSD.org>
#
# $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 <bsd.port.options.mk>
@@ -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