aboutsummaryrefslogtreecommitdiff
path: root/mail/claws-mail-notification
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-06-28 14:46:18 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-06-28 14:46:18 +0000
commitcf6fc8903b6ca3c81a6f4cf282540757e91fcbdf (patch)
treec2f34cb39d52200f553e9196a21f7c5674cb3a26 /mail/claws-mail-notification
parent5adc7daf235223a943d5fdce03397030fb85ab6a (diff)
downloadports-cf6fc8903b6ca3c81a6f4cf282540757e91fcbdf.tar.gz
ports-cf6fc8903b6ca3c81a6f4cf282540757e91fcbdf.zip
Notes
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