2013-08-30 05:51:10 +02:00
|
|
|
# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
|
2005-05-01 12:17:51 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gajim
|
2013-05-30 00:28:28 +02:00
|
|
|
PORTVERSION= 0.15.4
|
2014-02-19 21:41:53 +01:00
|
|
|
PORTREVISION= 1
|
2005-11-09 08:48:19 +01:00
|
|
|
CATEGORIES= net-im
|
2013-08-30 05:51:10 +02:00
|
|
|
MASTER_SITES= http://gajim.org/downloads/0.15/
|
2005-05-01 12:17:51 +02:00
|
|
|
|
2011-11-10 23:20:18 +01:00
|
|
|
MAINTAINER= rm@FreeBSD.org
|
2012-11-02 20:29:47 +01:00
|
|
|
COMMENT= Jabber client based on a plugin system
|
2005-05-01 12:17:51 +02:00
|
|
|
|
2011-07-24 19:34:06 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2012-03-21 05:28:45 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0:${PORTSDIR}/security/py-openssl \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}asn1>=0:${PORTSDIR}/devel/py-asn1
|
2005-05-01 12:17:51 +02:00
|
|
|
|
2007-02-13 13:56:40 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2010-01-05 00:14:42 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2014-02-19 22:45:51 +01:00
|
|
|
USES= dos2unix gmake pathfix
|
2005-05-31 10:30:50 +02:00
|
|
|
USE_BZIP2= yes
|
2014-02-19 22:45:51 +01:00
|
|
|
DOS2UNIX_FILES= src/plugins/plugins_i18n.py
|
2012-03-22 08:07:12 +01:00
|
|
|
USE_GNOME= pygtk2
|
2014-01-13 22:00:02 +01:00
|
|
|
USE_PYTHON= 2
|
2008-04-20 19:49:34 +02:00
|
|
|
USE_XORG= x11 xext xscrnsaver
|
2005-05-31 10:30:50 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV+= PYTHON=${PYTHON_CMD}
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2007-02-08 23:33:51 +01:00
|
|
|
|
2013-08-30 05:51:10 +02:00
|
|
|
OPTIONS_DEFINE= AVAHI CRYPTO DBUS DOCS GUPNP KEYRING NLS SPELL
|
2012-09-02 07:29:18 +02:00
|
|
|
OPTIONS_DEFAULT=DBUS NLS SPELL
|
2014-02-19 22:45:51 +01:00
|
|
|
OPTIONS_SUB= yes
|
2012-09-02 07:29:18 +02:00
|
|
|
CRYPTO_DESC= End to end encryption support
|
|
|
|
KEYRING_DESC= Gnome Keyring support
|
|
|
|
SPELL_DESC= Spell checking support
|
2011-04-12 21:34:33 +02:00
|
|
|
|
2014-02-19 22:45:51 +01:00
|
|
|
AVAHI_RUN_DEPENDS= avahi-discover:${PORTSDIR}/net/py-avahi
|
|
|
|
CRYPTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
|
|
|
|
DBUS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus
|
|
|
|
GUPNP_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gupnp/__init__.py:${PORTSDIR}/net/gupnp-igd
|
|
|
|
KEYRING_USE= GNOME=pygnomedesktop
|
|
|
|
NLS_USES= gettext
|
|
|
|
SPELL_LIB_DEPENDS= libgtkspell.so:${PORTSDIR}/textproc/gtkspell
|
|
|
|
|
2013-08-30 05:51:10 +02:00
|
|
|
PORTDOCS= AUTHORS ChangeLog README.html
|
|
|
|
|
2011-04-12 21:34:33 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2014-02-19 21:41:53 +01:00
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-common_resolver.py
|
|
|
|
.endif
|
|
|
|
|
2013-08-30 05:51:10 +02:00
|
|
|
post-install:
|
2014-02-19 22:45:51 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2013-08-30 05:51:10 +02:00
|
|
|
|
2007-02-13 13:56:40 +01:00
|
|
|
pre-build:
|
2012-11-02 20:29:47 +01:00
|
|
|
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/src
|
|
|
|
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/src
|
2007-02-08 23:33:51 +01:00
|
|
|
|
2010-01-05 00:14:42 +01:00
|
|
|
.include <bsd.port.mk>
|