aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-01-22 04:52:49 +0800
committermiwi <miwi@FreeBSD.org>2010-01-22 04:52:49 +0800
commit89bf12f9410ca58280f98f64f32aa0f18a1f9420 (patch)
tree14bbbceec078df012087d31e00304b130f589f1e
parent8891aafd5cb5d36eba683dd2a1433be9fd87a4ea (diff)
downloadfreebsd-ports-gnome-89bf12f9410ca58280f98f64f32aa0f18a1f9420.tar.gz
freebsd-ports-gnome-89bf12f9410ca58280f98f64f32aa0f18a1f9420.tar.zst
freebsd-ports-gnome-89bf12f9410ca58280f98f64f32aa0f18a1f9420.zip
- Update to 0.3
-rw-r--r--mail/claws-mail-python/Makefile14
-rw-r--r--mail/claws-mail-python/distinfo6
-rw-r--r--mail/claws-mail-python/pkg-plist11
3 files changed, 23 insertions, 8 deletions
diff --git a/mail/claws-mail-python/Makefile b/mail/claws-mail-python/Makefile
index 2c9a7d2cfa40..e59e537ba0fb 100644
--- a/mail/claws-mail-python/Makefile
+++ b/mail/claws-mail-python/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= python
-PORTVERSION= 0.2
+PORTVERSION= 0.3
CATEGORIES= mail
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
PKGNAMEPREFIX= claws-mail-
@@ -15,8 +15,8 @@ DISTNAME= python_plugin-${PORTVERSION}
MAINTAINER= miwi@FreeBSD.org
COMMENT= Python plugin for claws-mail
-BUILD_DEPENDS= claws-mail>=3.7.3:${PORTSDIR}/mail/claws-mail
-RUN_DEPENDS= claws-mail>=3.7.3:${PORTSDIR}/mail/claws-mail
+BUILD_DEPENDS= claws-mail>=3.7.4:${PORTSDIR}/mail/claws-mail
+RUN_DEPENDS= claws-mail>=3.7.4:${PORTSDIR}/mail/claws-mail
USE_GNOME= pygtk2
USE_GMAKE= yes
@@ -25,4 +25,12 @@ USE_AUTOTOOLS= autoconf:262
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
.include <bsd.port.mk>
diff --git a/mail/claws-mail-python/distinfo b/mail/claws-mail-python/distinfo
index a1a906f60112..11494c0aed88 100644
--- a/mail/claws-mail-python/distinfo
+++ b/mail/claws-mail-python/distinfo
@@ -1,3 +1,3 @@
-MD5 (python_plugin-0.2.tar.gz) = f61b47d43a0855ff4af29352288e8599
-SHA256 (python_plugin-0.2.tar.gz) = 869714d19dc61305102cf89583a67996da39cdcbe24d2ccccbaefe784f941c47
-SIZE (python_plugin-0.2.tar.gz) = 355469
+MD5 (python_plugin-0.3.tar.gz) = 4a05a745e9185ae77b432d95ed53df69
+SHA256 (python_plugin-0.3.tar.gz) = 39269926b36eb439b7b77deefd893c25f7cf571db32f56a22d500dbdac0dbf7b
+SIZE (python_plugin-0.3.tar.gz) = 364757
diff --git a/mail/claws-mail-python/pkg-plist b/mail/claws-mail-python/pkg-plist
index af470305629f..18ed55a8281d 100644
--- a/mail/claws-mail-python/pkg-plist
+++ b/mail/claws-mail-python/pkg-plist
@@ -1,5 +1,12 @@
lib/claws-mail/plugins/python_plugin.a
lib/claws-mail/plugins/python_plugin.la
lib/claws-mail/plugins/python_plugin.so
-@dirrmtry lib/claws-mail/plugins
-@dirrmtry lib/claws-mail
+%%NLS%%share/locale/ca/LC_MESSAGES/python_plugin.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/python_plugin.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/python_plugin.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/python_plugin.mo
+%%NLS%%share/locale/id/LC_MESSAGES/python_plugin.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/python_plugin.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/python_plugin.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/python_plugin.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/python_plugin.mo