summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-06-28 14:43:57 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-06-28 14:43:57 +0000
commitc52ce774ed6b40f3f2d45a71d9542db3bfd1008c (patch)
treedee4799f6ac15f90f1783390e4e9fa51205ce77e /mail
parent- Update to 0.3 (diff)
- Update to 0.3.4
- Add support for WITHOUT_NLS knob
Notes
Notes: svn path=/head/; revision=215871
Diffstat (limited to 'mail')
-rw-r--r--mail/claws-mail-spamreport/Makefile21
-rw-r--r--mail/claws-mail-spamreport/distinfo6
-rw-r--r--mail/claws-mail-spamreport/pkg-plist13
3 files changed, 24 insertions, 16 deletions
diff --git a/mail/claws-mail-spamreport/Makefile b/mail/claws-mail-spamreport/Makefile
index 8d113cd94fb0..96e64915bf9f 100644
--- a/mail/claws-mail-spamreport/Makefile
+++ b/mail/claws-mail-spamreport/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= spamreport
-PORTVERSION= 0.3.3
-PORTREVISION= 1
+PORTVERSION= 0.3.4
CATEGORIES= mail
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
PKGNAMEPREFIX= claws-mail-
@@ -29,16 +28,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
-PLIST_FILES=lib/claws-mail/plugins/spamreport.a \
- lib/claws-mail/plugins/spamreport.la \
- lib/claws-mail/plugins/spamreport.so \
- share/locale/ca/LC_MESSAGES/spam_report.mo \
- share/locale/fi/LC_MESSAGES/spam_report.mo \
- share/locale/es/LC_MESSAGES/spam_report.mo \
- share/locale/fr/LC_MESSAGES/spam_report.mo \
- share/locale/hu/LC_MESSAGES/spam_report.mo \
- share/locale/pt_BR/LC_MESSAGES/spam_report.mo \
- share/locale/sk/LC_MESSAGES/spam_report.mo \
- share/locale/it/LC_MESSAGES/spam_report.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-spamreport/distinfo b/mail/claws-mail-spamreport/distinfo
index c000a7acd279..b72da4572191 100644
--- a/mail/claws-mail-spamreport/distinfo
+++ b/mail/claws-mail-spamreport/distinfo
@@ -1,3 +1,3 @@
-MD5 (spam_report-0.3.3.tar.gz) = bd79e4ee9380b20f2de5378629fecce2
-SHA256 (spam_report-0.3.3.tar.gz) = 6bc01331a411fc7820d46b6dafb8d52b1cef2eea32b9fa5f0d70963629857996
-SIZE (spam_report-0.3.3.tar.gz) = 390202
+MD5 (spam_report-0.3.4.tar.gz) = 1fba5070243a24f48efe6a47def4daa5
+SHA256 (spam_report-0.3.4.tar.gz) = 71e47cd7faceb8a0bb8650fb2ae4af0121beaec478bf257eb87830e89f342a3d
+SIZE (spam_report-0.3.4.tar.gz) = 390220
diff --git a/mail/claws-mail-spamreport/pkg-plist b/mail/claws-mail-spamreport/pkg-plist
new file mode 100644
index 000000000000..e6b1ea40d692
--- /dev/null
+++ b/mail/claws-mail-spamreport/pkg-plist
@@ -0,0 +1,13 @@
+lib/claws-mail/plugins/spamreport.a
+lib/claws-mail/plugins/spamreport.la
+lib/claws-mail/plugins/spamreport.so
+%%NLS%%share/locale/ca/LC_MESSAGES/spam_report.mo
+%%NLS%%share/locale/es/LC_MESSAGES/spam_report.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/spam_report.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/spam_report.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/spam_report.mo
+%%NLS%%share/locale/it/LC_MESSAGES/spam_report.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/spam_report.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/spam_report.mo
+@dirrmtry lib/claws-mail/plugins
+@dirrmtry lib/claws-mail