aboutsummaryrefslogtreecommitdiff
path: root/net-im/gajim
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-09-02 05:29:18 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-09-02 05:29:18 +0000
commitba727a53e7078d94094805d906ca0367a795fa22 (patch)
tree1b5abac7bc1fc95846ca1e6eb7a3411791e3a49e /net-im/gajim
parentc10c600387ba1ffe89847849ad60283eebe32416 (diff)
downloadports-ba727a53e7078d94094805d906ca0367a795fa22.tar.gz
ports-ba727a53e7078d94094805d906ca0367a795fa22.zip
Notes
Diffstat (limited to 'net-im/gajim')
-rw-r--r--net-im/gajim/Makefile33
-rw-r--r--net-im/gajim/distinfo4
-rw-r--r--net-im/gajim/files/patch-src-plugins_plugins_i18n.py14
-rw-r--r--net-im/gajim/pkg-descr2
-rw-r--r--net-im/gajim/pkg-plist11
5 files changed, 32 insertions, 32 deletions
diff --git a/net-im/gajim/Makefile b/net-im/gajim/Makefile
index 0273e76d7fe3..c8512a0fea61 100644
--- a/net-im/gajim/Makefile
+++ b/net-im/gajim/Makefile
@@ -1,13 +1,7 @@
-# New ports collection makefile for: gajim
-# Date created: Sun Nov 26 16:36:07 MSK 2006
-# Whom: Denis Shaposhnikov <dsh@vlink.ru>
-#
# $FreeBSD$
-#
PORTNAME= gajim
-PORTVERSION= 0.15
-PORTREVISION= 2
+PORTVERSION= 0.15.1
CATEGORIES= net-im
MASTER_SITES= http://www.gajim.org/downloads/0.15/
@@ -26,6 +20,7 @@ FETCH_ARGS= -Fpr
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
+USE_DOS2UNIX= src/plugins/plugins_i18n.py
USE_GMAKE= yes
USE_GNOME= pygtk2
USE_PYTHON= -2.7
@@ -35,15 +30,15 @@ CONFIGURE_ENV+= PYTHON=${PYTHON_CMD}
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
-OPTIONS= CRYPTO "End to end encryption support" Off \
- DBUS "Adds support for D-Bus (Desktop Bus)" On \
- KEYRING "Gnome Keyring support" Off \
- NLS "Native Language Support via gettext utilities" On \
- SPELL "Spell checking support" On
+OPTIONS_DEFINE= CRYPTO DBUS KEYRING NLS SPELL
+OPTIONS_DEFAULT=DBUS NLS SPELL
+CRYPTO_DESC= End to end encryption support
+KEYRING_DESC= Gnome Keyring support
+SPELL_DESC= Spell checking support
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
@@ -51,20 +46,20 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-.if !defined(WITHOUT_DBUS)
+.if ${PORT_OPTIONS:MDBUS}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus
.endif
-.if defined(WITH_CRYPTO)
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto
+.if ${PORT_OPTIONS:MCRYPTO}
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
.endif
-.if defined(WITH_KEYRING)
+.if ${PORT_OPTIONS:MKEYRING}
USE_GNOME+= pygnomedesktop
.endif
-.if defined(WITH_SPELL)
-LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
+.if ${PORT_OPTIONS:MSPELL}
+LIB_DEPENDS= gtkspell:${PORTSDIR}/textproc/gtkspell
.endif
MAN1= gajim.1 gajim-remote.1 gajim-history-manager.1
diff --git a/net-im/gajim/distinfo b/net-im/gajim/distinfo
index 5ea56b609c79..fcda4ba8aa29 100644
--- a/net-im/gajim/distinfo
+++ b/net-im/gajim/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gajim-0.15.tar.bz2) = 1a999aa4ca64a8d048babfc6aa590171191966c342fa7091fc9035b9fc6de8d8
-SIZE (gajim-0.15.tar.bz2) = 4332305
+SHA256 (gajim-0.15.1.tar.bz2) = 530e2fd6b2fb14b0582c8333cd59c751940037fd4c28c59ae643a4ddf0c31f92
+SIZE (gajim-0.15.1.tar.bz2) = 4473442
diff --git a/net-im/gajim/files/patch-src-plugins_plugins_i18n.py b/net-im/gajim/files/patch-src-plugins_plugins_i18n.py
index dcba450901b0..073c91b1e032 100644
--- a/net-im/gajim/files/patch-src-plugins_plugins_i18n.py
+++ b/net-im/gajim/files/patch-src-plugins_plugins_i18n.py
@@ -1,10 +1,10 @@
--- src/plugins/plugins_i18n.py.orig 2012-03-18 15:26:00.000000000 +0400
+++ src/plugins/plugins_i18n.py 2012-03-21 08:21:52.000000000 +0400
@@ -29,7 +29,6 @@
-
- if os.name != 'nt':
- locale.setlocale(locale.LC_ALL, '')
-- locale.bindtextdomain(APP, plugins_locale_dir)
- gettext.bindtextdomain(APP, plugins_locale_dir)
- gettext.textdomain(APP)
-
+
+ if os.name != 'nt':
+ locale.setlocale(locale.LC_ALL, '')
+- locale.bindtextdomain(APP, plugins_locale_dir)
+ gettext.bindtextdomain(APP, plugins_locale_dir)
+ gettext.textdomain(APP)
+
diff --git a/net-im/gajim/pkg-descr b/net-im/gajim/pkg-descr
index 81d085d7a76b..3b822d10d249 100644
--- a/net-im/gajim/pkg-descr
+++ b/net-im/gajim/pkg-descr
@@ -20,4 +20,4 @@ FEATURES:
* Other features via plugins
* Gajim is available in 25 languages
-WWW: http://www.gajim.org/
+WWW: http://www.gajim.org/
diff --git a/net-im/gajim/pkg-plist b/net-im/gajim/pkg-plist
index f2f2181f3ff6..a440de97920e 100644
--- a/net-im/gajim/pkg-plist
+++ b/net-im/gajim/pkg-plist
@@ -837,6 +837,8 @@ share/applications/gajim.desktop
%%DATADIR%%/icons/hicolor/16x16/status/audio-mic-volume-low.png
%%DATADIR%%/icons/hicolor/16x16/status/audio-mic-volume-medium.png
%%DATADIR%%/icons/hicolor/16x16/status/audio-mic-volume-muted.png
+%%DATADIR%%/icons/hicolor/32x32/actions/gajim-security_high.png
+%%DATADIR%%/icons/hicolor/32x32/actions/gajim-security_low.png
%%DATADIR%%/icons/hicolor/32x32/categories/gajim-agent-aim.png
%%DATADIR%%/icons/hicolor/32x32/categories/gajim-agent-bytestreams.png
%%DATADIR%%/icons/hicolor/32x32/categories/gajim-agent-conference.png
@@ -868,8 +870,6 @@ share/applications/gajim.desktop
%%DATADIR%%/icons/hicolor/48x48/actions/gajim-gc_invitation.png
%%DATADIR%%/icons/hicolor/48x48/actions/gajim-new_email_recv.png
%%DATADIR%%/icons/hicolor/48x48/actions/gajim-priv_msg_recv.png
-%%DATADIR%%/icons/hicolor/48x48/actions/gajim-security_high.png
-%%DATADIR%%/icons/hicolor/48x48/actions/gajim-security_low.png
%%DATADIR%%/icons/hicolor/48x48/actions/gajim-single_msg_recv.png
%%DATADIR%%/icons/hicolor/48x48/actions/gajim-subscription_request.png
%%DATADIR%%/icons/hicolor/48x48/actions/gajim-unsubscribed.png
@@ -879,6 +879,7 @@ share/applications/gajim.desktop
%%DATADIR%%/plugins/plugin_installer/__init__.py
%%DATADIR%%/plugins/plugin_installer/config_dialog.ui
%%DATADIR%%/plugins/plugin_installer/manifest.ini
+%%DATADIR%%/plugins/plugin_installer/plugin_installer.png
%%DATADIR%%/plugins/plugin_installer/plugin_installer.py
%%DATADIR%%/src/adhoc_commands.py
%%DATADIR%%/src/adhoc_commands.pyc
@@ -1319,7 +1320,9 @@ share/icons/hicolor/scalable/apps/gajim.svg
%%NLS%%share/locale/eu/LC_MESSAGES/gajim.mo
%%NLS%%share/locale/fr/LC_MESSAGES/gajim.mo
%%NLS%%share/locale/gl/LC_MESSAGES/gajim.mo
+%%NLS%%share/locale/he/LC_MESSAGES/gajim.mo
%%NLS%%share/locale/hr/LC_MESSAGES/gajim.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/gajim.mo
%%NLS%%share/locale/it/LC_MESSAGES/gajim.mo
%%NLS%%share/locale/ja/LC_MESSAGES/gajim.mo
%%NLS%%share/locale/kk/LC_MESSAGES/gajim.mo
@@ -1335,10 +1338,10 @@ share/icons/hicolor/scalable/apps/gajim.svg
%%NLS%%share/locale/sr/LC_MESSAGES/gajim.mo
%%NLS%%share/locale/sr@Latn/LC_MESSAGES/gajim.mo
%%NLS%%share/locale/sv/LC_MESSAGES/gajim.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/gajim.mo
%%NLS%%share/locale/uk/LC_MESSAGES/gajim.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/gajim.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/gajim.mo
-@dirrmtry share/applications
%%NLS%%@dirrmtry share/locale/kk/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/kk
%%NLS%%@dirrmtry share/locale/be@latin/LC_MESSAGES
@@ -1360,6 +1363,7 @@ share/icons/hicolor/scalable/apps/gajim.svg
@dirrm %%DATADIR%%/icons/hicolor/48x48/actions
@dirrm %%DATADIR%%/icons/hicolor/48x48
@dirrm %%DATADIR%%/icons/hicolor/32x32/categories
+@dirrm %%DATADIR%%/icons/hicolor/32x32/actions
@dirrm %%DATADIR%%/icons/hicolor/32x32
@dirrm %%DATADIR%%/icons/hicolor/16x16/status
@dirrm %%DATADIR%%/icons/hicolor/16x16/actions
@@ -1466,3 +1470,4 @@ share/icons/hicolor/scalable/apps/gajim.svg
@dirrm %%DATADIR%%/data/activities
@dirrm %%DATADIR%%/data
@dirrm %%DATADIR%%
+@dirrmtry share/applications