aboutsummaryrefslogtreecommitdiffstats
path: root/mail/claws-mail-notification
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-28 22:46:18 +0800
committermiwi <miwi@FreeBSD.org>2008-06-28 22:46:18 +0800
commit8166ee7f5c45ed3131ba5bf1c389d8d159e90624 (patch)
tree5662044334408d9f7dce3ca69541be2f9a4d30a2 /mail/claws-mail-notification
parent02dea86cc2370f1ec4b82a4c67b382eeaae4cbef (diff)
downloadfreebsd-ports-gnome-8166ee7f5c45ed3131ba5bf1c389d8d159e90624.tar.gz
freebsd-ports-gnome-8166ee7f5c45ed3131ba5bf1c389d8d159e90624.tar.zst
freebsd-ports-gnome-8166ee7f5c45ed3131ba5bf1c389d8d159e90624.zip
- Update to 0.17
- Add support for WITHOUT_NLS knob [1] PR: 124108 [1] Submitted by: "Pawel Pekala" <c0rn@o2.pl> (maintainer) Approved by: maintainer implict
Diffstat (limited to 'mail/claws-mail-notification')
-rw-r--r--mail/claws-mail-notification/Makefile25
-rw-r--r--mail/claws-mail-notification/distinfo6
-rw-r--r--mail/claws-mail-notification/pkg-plist11
3 files changed, 24 insertions, 18 deletions
diff --git a/mail/claws-mail-notification/Makefile b/mail/claws-mail-notification/Makefile
index 49584c101fb4..e7a935f85008 100644
--- a/mail/claws-mail-notification/Makefile
+++ b/mail/claws-mail-notification/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= notification
-PORTVERSION= 0.16
-PORTREVISION= 1
+PORTVERSION= 0.17
CATEGORIES= mail
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
PKGNAMEPREFIX= claws-mail-
@@ -17,8 +16,8 @@ MAINTAINER= c0rn@o2.pl
COMMENT= New/unread mail notification plugin for claws-mail
LIB_DEPENDS= notify:${PORTSDIR}/devel/libnotify
-BUILD_DEPENDS= claws-mail>=3.4.0:${PORTSDIR}/mail/claws-mail
-RUN_DEPENDS= claws-mail>=3.4.0:${PORTSDIR}/mail/claws-mail
+BUILD_DEPENDS= claws-mail>=3.5.0:${PORTSDIR}/mail/claws-mail
+RUN_DEPENDS= claws-mail>=3.5.0:${PORTSDIR}/mail/claws-mail
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:261
@@ -28,16 +27,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
-PLIST_FILES= lib/claws-mail/plugins/notification_plugin.a \
- lib/claws-mail/plugins/notification_plugin.la \
- lib/claws-mail/plugins/notification_plugin.so \
- share/locale/ca/LC_MESSAGES/notification_plugin.mo \
- share/locale/cs/LC_MESSAGES/notification_plugin.mo \
- share/locale/hu/LC_MESSAGES/notification_plugin.mo \
- share/locale/pt_BR/LC_MESSAGES/notification_plugin.mo \
- share/locale/zh_CN/LC_MESSAGES/notification_plugin.mo \
- share/locale/fi/LC_MESSAGES/notification_plugin.mo \
- share/locale/it/LC_MESSAGES/notification_plugin.mo \
- share/locale/fr/LC_MESSAGES/notification_plugin.mo
+.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-notification/distinfo b/mail/claws-mail-notification/distinfo
index ca9a9902411e..dd2b0aac08e2 100644
--- a/mail/claws-mail-notification/distinfo
+++ b/mail/claws-mail-notification/distinfo
@@ -1,3 +1,3 @@
-MD5 (notification_plugin-0.16.tar.gz) = deaf0b5b5fa5e02273e8a8673b6f7a9e
-SHA256 (notification_plugin-0.16.tar.gz) = 8f0786e433ed31af25e285da02a43a753dd715e13edd0fbe17479b14607bdeae
-SIZE (notification_plugin-0.16.tar.gz) = 473048
+MD5 (notification_plugin-0.17.tar.gz) = 68dc65f1c198b4c36758532c2dfb9d44
+SHA256 (notification_plugin-0.17.tar.gz) = 917cfc2c406a96d9a86ac7ac77b638cabc5031bacd0e0937637b8e7ad3b0e0c0
+SIZE (notification_plugin-0.17.tar.gz) = 474599
diff --git a/mail/claws-mail-notification/pkg-plist b/mail/claws-mail-notification/pkg-plist
new file mode 100644
index 000000000000..71e1abdcca95
--- /dev/null
+++ b/mail/claws-mail-notification/pkg-plist
@@ -0,0 +1,11 @@
+lib/claws-mail/plugins/notification_plugin.a
+lib/claws-mail/plugins/notification_plugin.la
+lib/claws-mail/plugins/notification_plugin.so
+%%NLS%%share/locale/ca/LC_MESSAGES/notification_plugin.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/notification_plugin.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/notification_plugin.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/notification_plugin.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/notification_plugin.mo
+%%NLS%%share/locale/it/LC_MESSAGES/notification_plugin.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/notification_plugin.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/notification_plugin.mo