aboutsummaryrefslogtreecommitdiff
path: root/mail/claws-mail-clamd
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-clamd
parentb2259a909974739ce0115f783751532ba072e123 (diff)
downloadports-4e3e241093062f79167f48b1789acc215957e49c.tar.gz
ports-4e3e241093062f79167f48b1789acc215957e49c.zip
Notes
Diffstat (limited to 'mail/claws-mail-clamd')
-rw-r--r--mail/claws-mail-clamd/Makefile31
-rw-r--r--mail/claws-mail-clamd/distinfo2
-rw-r--r--mail/claws-mail-clamd/pkg-plist17
3 files changed, 4 insertions, 46 deletions
diff --git a/mail/claws-mail-clamd/Makefile b/mail/claws-mail-clamd/Makefile
index 5d75cf30e4d8..54e886a11f07 100644
--- a/mail/claws-mail-clamd/Makefile
+++ b/mail/claws-mail-clamd/Makefile
@@ -2,37 +2,13 @@
# $FreeBSD$
PORTNAME= clamd
-PORTVERSION= 3.5.5
-CATEGORIES= mail
-MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
-PKGNAMEPREFIX= claws-mail-
+PORTREVISION= 0
-MAINTAINER= pawel@FreeBSD.org
COMMENT= ClamAV based antivirus plugin for Claws Mail
-LICENSE= GPLv3
+RUN_DEPENDS= clamd:${PORTSDIR}/security/clamav
-BUILD_DEPENDS= claws-mail>=3.9.0:${PORTSDIR}/mail/claws-mail
-RUN_DEPENDS= claws-mail>=3.9.0:${PORTSDIR}/mail/claws-mail \
- clamd:${PORTSDIR}/security/clamav
-
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-USES= iconv
-MAKE_JOBS_SAFE= yes
-
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-.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= clamd
post-install:
@${ECHO}
@@ -41,4 +17,5 @@ post-install:
@${ECHO_CMD} "********************************************************************************"
@${ECHO}
+.include "../claws-mail/Makefile.claws"
.include <bsd.port.mk>
diff --git a/mail/claws-mail-clamd/distinfo b/mail/claws-mail-clamd/distinfo
deleted file mode 100644
index d2470333e053..000000000000
--- a/mail/claws-mail-clamd/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (clamd-3.5.5.tar.gz) = 0b433e128899e5fcf76201a9aaf2bebef4273a313fe36195e94595baa6fbefec
-SIZE (clamd-3.5.5.tar.gz) = 411572
diff --git a/mail/claws-mail-clamd/pkg-plist b/mail/claws-mail-clamd/pkg-plist
deleted file mode 100644
index 0c1ce5194dbc..000000000000
--- a/mail/claws-mail-clamd/pkg-plist
+++ /dev/null
@@ -1,17 +0,0 @@
-lib/claws-mail/plugins/clamd.so
-lib/claws-mail/plugins/clamd.la
-lib/claws-mail/plugins/clamd.a
-%%NLS%%share/locale/cs/LC_MESSAGES/clamd.mo
-%%NLS%%share/locale/en_GB/LC_MESSAGES/clamd.mo
-%%NLS%%share/locale/es/LC_MESSAGES/clamd.mo
-%%NLS%%share/locale/fi/LC_MESSAGES/clamd.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/clamd.mo
-%%NLS%%share/locale/hu/LC_MESSAGES/clamd.mo
-%%NLS%%share/locale/id_ID/LC_MESSAGES/clamd.mo
-%%NLS%%share/locale/it/LC_MESSAGES/clamd.mo
-%%NLS%%share/locale/lt/LC_MESSAGES/clamd.mo
-%%NLS%%share/locale/pt_BR/LC_MESSAGES/clamd.mo
-%%NLS%%share/locale/sk/LC_MESSAGES/clamd.mo
-%%NLS%%share/locale/uk/LC_MESSAGES/clamd.mo
-%%NLS%%@dirrmtry share/locale/id_ID/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/id_ID