aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/gajim
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2011-04-13 03:34:33 +0800
committerdhn <dhn@FreeBSD.org>2011-04-13 03:34:33 +0800
commitfc11b2828aee91e6106e333c82d729ec07aeaaef (patch)
tree0c8bc7779aec452c3fd6323d229ee99c8c438425 /net-im/gajim
parent6001cfb9d17d96197e4351968446f211c9a5a97e (diff)
downloadfreebsd-ports-gnome-fc11b2828aee91e6106e333c82d729ec07aeaaef.tar.gz
freebsd-ports-gnome-fc11b2828aee91e6106e333c82d729ec07aeaaef.tar.zst
freebsd-ports-gnome-fc11b2828aee91e6106e333c82d729ec07aeaaef.zip
- 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)
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