aboutsummaryrefslogtreecommitdiff
path: root/mail/claws-mail-spamreport
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-05-11 14:10:28 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-05-11 14:10:28 +0000
commit4e3e241093062f79167f48b1789acc215957e49c (patch)
tree85c655fbcc96cd0cdaca4e20133b97b58c513131 /mail/claws-mail-spamreport
parentb2259a909974739ce0115f783751532ba072e123 (diff)
downloadports-4e3e241093062f79167f48b1789acc215957e49c.tar.gz
ports-4e3e241093062f79167f48b1789acc215957e49c.zip
Notes
Diffstat (limited to 'mail/claws-mail-spamreport')
-rw-r--r--mail/claws-mail-spamreport/Makefile36
-rw-r--r--mail/claws-mail-spamreport/distinfo2
-rw-r--r--mail/claws-mail-spamreport/pkg-plist20
3 files changed, 4 insertions, 54 deletions
diff --git a/mail/claws-mail-spamreport/Makefile b/mail/claws-mail-spamreport/Makefile
index 299f69069694..d912f8983094 100644
--- a/mail/claws-mail-spamreport/Makefile
+++ b/mail/claws-mail-spamreport/Makefile
@@ -2,40 +2,12 @@
# $FreeBSD$
PORTNAME= spamreport
-PORTVERSION= 0.3.17
-CATEGORIES= mail
-MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
-PKGNAMEPREFIX= claws-mail-
-DISTNAME= spam_report-${PORTVERSION}
+PORTREVISION= 0
-MAINTAINER= pawel@FreeBSD.org
COMMENT= Spam report plugin for Claws Mail
-LICENSE= GPLv3
-
-LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
-BUILD_DEPENDS= claws-mail>=3.9.0:${PORTSDIR}/mail/claws-mail
-RUN_DEPENDS= claws-mail>=3.9.0:${PORTSDIR}/mail/claws-mail
-
-USE_GMAKE= yes
-USE_XORG= x11
-USE_AUTOTOOLS= autoconf
-MAKE_JOBS_SAFE= yes
-
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
- --with-libintl-prefix=${LOCALBASE}
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+CLAWS_PLUGINS_BUILD= spam_report
+.include "../claws-mail/Makefile.claws"
+PLIST_FILES:= ${PLIST_FILES:S|spam_report|spamreport|g}
.include <bsd.port.mk>
diff --git a/mail/claws-mail-spamreport/distinfo b/mail/claws-mail-spamreport/distinfo
deleted file mode 100644
index 0a7048b7c4a3..000000000000
--- a/mail/claws-mail-spamreport/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (spam_report-0.3.17.tar.gz) = 0213ee699ff0bf589f08dfeecb351a32ca1554dd2c1b7ef7e6ad7253d4f4debe
-SIZE (spam_report-0.3.17.tar.gz) = 381326
diff --git a/mail/claws-mail-spamreport/pkg-plist b/mail/claws-mail-spamreport/pkg-plist
deleted file mode 100644
index 441342ad773b..000000000000
--- a/mail/claws-mail-spamreport/pkg-plist
+++ /dev/null
@@ -1,20 +0,0 @@
-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/cs/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/id_ID/LC_MESSAGES/spam_report.mo
-%%NLS%%share/locale/it/LC_MESSAGES/spam_report.mo
-%%NLS%%share/locale/ja/LC_MESSAGES/spam_report.mo
-%%NLS%%share/locale/lt/LC_MESSAGES/spam_report.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/spam_report.mo
-%%NLS%%share/locale/pt_BR/LC_MESSAGES/spam_report.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/spam_report.mo
-%%NLS%%share/locale/sk/LC_MESSAGES/spam_report.mo
-%%NLS%%share/locale/uk/LC_MESSAGES/spam_report.mo
-%%NLS%%@dirrmtry share/locale/id_ID/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/id_ID