mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
- 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)
This commit is contained in:
parent
1e65ae15e0
commit
3318786bf2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272642
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user