summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-31 16:21:10 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-31 16:21:10 +0800
commitbfc6812fd98d931300c70dfac5f03631f55f1f85 (patch)
tree75cdabeb2dfb9e807833282c5ed344e8a0caa7c4
parent42f929d30ae304340fea59693d704df597dc539c (diff)
downloadmarcuscom-ports-bfc6812fd98d931300c70dfac5f03631f55f1f85.tar.gz
marcuscom-ports-bfc6812fd98d931300c70dfac5f03631f55f1f85.tar.zst
marcuscom-ports-bfc6812fd98d931300c70dfac5f03631f55f1f85.zip
Stageify, fix build needs libcheese.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18843 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--deskutils/gnome-contacts/Makefile22
-rw-r--r--deskutils/gnome-contacts/pkg-plist2
2 files changed, 22 insertions, 2 deletions
diff --git a/deskutils/gnome-contacts/Makefile b/deskutils/gnome-contacts/Makefile
index 78630cde4..9e0d180c9 100644
--- a/deskutils/gnome-contacts/Makefile
+++ b/deskutils/gnome-contacts/Makefile
@@ -7,15 +7,15 @@ PORTVERSION= 3.6.2
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
-MAINTAINER= kwm@FreeBSD.org
+MAINTAINER= gnome@FreeBSD.org
COMMENT= Contacts manager for gnome
BUILD_DEPENDS= vala>=0.14.0:${PORTSDIR}/lang/vala
LIB_DEPENDS= libgoa-1.0.so:${PORTSDIR}/net/gnome-online-accounts \
+ libgee-0.8.so:${PORTSDIR}/devel/libgee \
libfolks.so.25:${PORTSDIR}/net-im/folks \
libnotify.so:${PORTSDIR}/devel/libnotify
-NO_STAGE= yes
USE_XZ= yes
USE_GNOME= intlhack gtk30 gnomedesktop3 evolutiondataserver3
USES= gettext gmake pathfix perl5 pkgconfig
@@ -25,4 +25,22 @@ LDFLAGS+= -L${LOCALBASE}/lib
GLIB_SCHEMAS= org.gnome.Contacts.gschema.xml
+CHEESE_DESC= Cheese webcam support
+
+OPTIONS_DEFINE_i386= CHEESE
+OPTIONS_DEFAULT_i386= CHEESE
+OPTIONS_DEFINE_amd64= CHEESE
+OPTIONS_DEFAULT_amd64= CHEESE
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MCHEESE}
+CONFIGURE_ARGS+=--with-cheese
+BUILD_DEPENDS+= cheese>=3.0.1:${PORTSDIR}/multimedia/cheese
+LIB_DEPENDS+= libcheese-gtk.so:${PORTSDIR}/multimedia/cheese
+.else
+BORKEN= sorry cheese less build is currently borken
+CONFIGURE_ARGS+=--without-cheese
+.endif
+
.include <bsd.port.mk>
diff --git a/deskutils/gnome-contacts/pkg-plist b/deskutils/gnome-contacts/pkg-plist
index 929b8f2da..6ebc4bf6d 100644
--- a/deskutils/gnome-contacts/pkg-plist
+++ b/deskutils/gnome-contacts/pkg-plist
@@ -72,6 +72,8 @@ share/locale/zh_TW/LC_MESSAGES/gnome-contacts.mo
@dirrmtry share/locale/te
@dirrmtry share/locale/sr@latin/LC_MESSAGES
@dirrmtry share/locale/sr@latin
+@dirrmtry share/locale/mr/LC_MESSAGES
+@dirrmtry share/locale/mr
@dirrmtry share/locale/ca@valencia/LC_MESSAGES
@dirrmtry share/locale/ca@valencia
@dirrmtry share/locale/ast/LC_MESSAGES