summaryrefslogtreecommitdiff
path: root/net-im/gajim
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2011-04-12 19:34:33 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2011-04-12 19:34:33 +0000
commit3318786bf2ff6186908cb7d6646c3f685f46b9d7 (patch)
treeb21e985e70e3cf72b746261acfc0c81b1f66b223 /net-im/gajim
parent- update to 11.10 (diff)
- Added an optional option for dbus
- Switch to the OPTIONS framework PR: ports/156345 Submitted by: David Demelier <demelier.david@gmail.com> Approved by: Denis Shaposhnikov <dsh@bamus.cz> (maintainer)
Notes
Notes: svn path=/head/; revision=272642
Diffstat (limited to 'net-im/gajim')
-rw-r--r--net-im/gajim/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/net-im/gajim/Makefile b/net-im/gajim/Makefile
index 1f4e3a98035b..cf347a7a438c 100644
--- a/net-im/gajim/Makefile
+++ b/net-im/gajim/Makefile
@@ -13,10 +13,8 @@ MASTER_SITES= http://www.gajim.org/downloads/0.14/
MAINTAINER= dsh@bamus.cz
COMMENT= Gajim is a Jabber client based on a plugin system
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus
LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenSSL/SSL.so:${PORTSDIR}/security/py-openssl \
- ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus \
${PYTHON_PKGNAMEPREFIX}sqlite3>=${PYTHON_PORTVERSION}:${PORTSDIR}/databases/py-sqlite3
GNU_CONFIGURE= yes
@@ -30,6 +28,11 @@ USE_XORG= x11 xext xscrnsaver
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" PYTHON=${PYTHON_CMD}
+OPTIONS= DBUS "Adds support for D-Bus (Desktop Bus)" On \
+ NLS "Native Language Support via gettext utilities" On
+
+.include <bsd.port.options.mk>
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
@@ -38,6 +41,11 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
+.if !defined(WITHOUT_DBUS)
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus
+.endif
+
MAN1= gajim.1 gajim-remote.1 gajim-history-manager.1
EMOTICONS= animated static static-big tango