aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dovecot-antispam
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dovecot-antispam')
-rw-r--r--mail/dovecot-antispam/Makefile14
-rw-r--r--mail/dovecot-antispam/pkg-plist3
2 files changed, 8 insertions, 9 deletions
diff --git a/mail/dovecot-antispam/Makefile b/mail/dovecot-antispam/Makefile
index 7e52f71b2ae9..68f009fe8c02 100644
--- a/mail/dovecot-antispam/Makefile
+++ b/mail/dovecot-antispam/Makefile
@@ -3,7 +3,7 @@
PORTNAME= dovecot-antispam
PORTVERSION= 1.3
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://johannes.sipsolutions.net/download/dovecot-antispam/ \
@@ -12,6 +12,8 @@ MASTER_SITES= http://johannes.sipsolutions.net/download/dovecot-antispam/ \
MAINTAINER= dsh@wizard.volgograd.ru
COMMENT= Dovecot plugin to train dspam about spam or false positives
+LICENSE= GPLv2
+
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:configure
RUN_DEPENDS= dovecot>=1.1.2:${PORTSDIR}/mail/dovecot
@@ -28,7 +30,6 @@ MAILTRAIN_DESC= send mail to special addresses for training
DEBUG_DESC= Turn on debug information (syslog)
DEBUG_VERBOSE_DESC= Turn on verbose debug
-NO_STAGE= yes
.include <bsd.port.options.mk>
do-configure:
@@ -49,11 +50,10 @@ do-configure:
${ECHO} "PLUGINNAME=antispam" >> ${WRKSRC}/.config
do-install:
- ${INSTALL_DATA} ${WRKSRC}/lib90_antispam_plugin.so \
- ${PREFIX}/lib/dovecot/imap/
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/dovecot/imap
+ ${INSTALL_DATA} -s ${WRKSRC}/lib90_antispam_plugin.so \
+ ${STAGEDIR}${PREFIX}/lib/dovecot/imap/
${INSTALL_MAN} ${WRKSRC}/antispam.7 \
- ${MANPREFIX}/man/man7/dovecot-antispam.7
-
- @${CAT} ${PKGMESSAGE}
+ ${STAGEDIR}${MANPREFIX}/man/man7/dovecot-antispam.7
.include <bsd.port.mk>
diff --git a/mail/dovecot-antispam/pkg-plist b/mail/dovecot-antispam/pkg-plist
index df1a6f894205..6ff9360391f9 100644
--- a/mail/dovecot-antispam/pkg-plist
+++ b/mail/dovecot-antispam/pkg-plist
@@ -1,3 +1,2 @@
lib/dovecot/imap/lib90_antispam_plugin.so
-@dirrmtry lib/dovecot/imap
-@dirrmtry lib/dovecot
+man/man7/dovecot-antispam.7.gz