diff options
author | lx <lx@FreeBSD.org> | 2008-02-18 09:23:24 +0800 |
---|---|---|
committer | lx <lx@FreeBSD.org> | 2008-02-18 09:23:24 +0800 |
commit | 0acc8f41a3ed37099420c2970a345534c342092e (patch) | |
tree | 260e9ba56040701edf7e5953d000ea5f815f0df5 /net-im | |
parent | cb81812094b264a649ba47f72ba60bb62a028140 (diff) | |
download | freebsd-ports-gnome-0acc8f41a3ed37099420c2970a345534c342092e.tar.gz freebsd-ports-gnome-0acc8f41a3ed37099420c2970a345534c342092e.tar.zst freebsd-ports-gnome-0acc8f41a3ed37099420c2970a345534c342092e.zip |
Allow build without DBUS.
PR: ports/120509
Submitted by: Amaury Gauthier <amauryamaury@gmail.com>
Approved by: Denis Shaposhnikov <dsh@wizard.volgograd.ru> (maintainer)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/gajim/Makefile | 17 | ||||
-rw-r--r-- | net-im/gajim/files/patch-data-Makefile.in | 11 | ||||
-rw-r--r-- | net-im/gajim/pkg-plist | 2 |
3 files changed, 25 insertions, 5 deletions
diff --git a/net-im/gajim/Makefile b/net-im/gajim/Makefile index 37619f1fa280..009aacd0f515 100644 --- a/net-im/gajim/Makefile +++ b/net-im/gajim/Makefile @@ -14,10 +14,8 @@ MASTER_SITES= http://www.gajim.org/downloads/ \ MAINTAINER= dsh@vlink.ru 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 +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenSSL/SSL.so:${PORTSDIR}/security/py-openssl GNU_CONFIGURE= yes USE_BZIP2= yes @@ -37,7 +35,18 @@ CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif -MAN1= gajim.1 gajim-remote.1 +MAN1= gajim.1 + +.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 +CONFIGURE_ARGS+= --enable-remote +MAN1+= gajim-remote.1 +PLIST_SUB+= DBUS="" +.else +CONFIGURE_ARGS+= --disable-remote +PLIST_SUB+= DBUS="@comment " +.endif EMOTICONS= animated static static-big ICONSETS= crystal dcraven gnome goojim gossip gota jabberbulb nuvola \ diff --git a/net-im/gajim/files/patch-data-Makefile.in b/net-im/gajim/files/patch-data-Makefile.in index 1c82b7033fb5..6efd1599c692 100644 --- a/net-im/gajim/files/patch-data-Makefile.in +++ b/net-im/gajim/files/patch-data-Makefile.in @@ -9,3 +9,14 @@ desktopdir = $(datadir)/applications desktop_in_files = gajim.desktop.in.in desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop) +@@ -267,7 +267,9 @@ + sounds_DATA = $(srcdir)/sounds/*.wav + otherdir = $(pkgdatadir)/data/other + other_DATA = other/servers.xml +-man_MANS = gajim.1 gajim-remote.1 ++@BUILD_REMOTE_CONTROL_FALSE@OPTIONAL_MAN = ++@BUILD_REMOTE_CONTROL_TRUE@OPTIONAL_MAN = gajim-remote.1 ++man_MANS = gajim.1 $(OPTIONAL_MAN) + EXTRA_DIST = $(desktop_in_files) \ + $(sounds_DATA) \ + $(other_DATA) \ diff --git a/net-im/gajim/pkg-plist b/net-im/gajim/pkg-plist index 7094d686f13b..2925e1a909f6 100644 --- a/net-im/gajim/pkg-plist +++ b/net-im/gajim/pkg-plist @@ -1,5 +1,5 @@ bin/gajim -bin/gajim-remote +%%DBUS%%bin/gajim-remote lib/gajim/gtkspell.la lib/gajim/gtkspell.so lib/gajim/idle.la |