diff options
author | ohauer <ohauer@FreeBSD.org> | 2014-05-19 01:07:41 +0800 |
---|---|---|
committer | ohauer <ohauer@FreeBSD.org> | 2014-05-19 01:07:41 +0800 |
commit | 1ed24093e8cb16bbf4264ce22714a5c907150fc3 (patch) | |
tree | 8aed41fe29f890018b5e8ba1a9a6cf8f054d8d79 /mail/dovecot-antispam | |
parent | 0d55609826a37fa5c3a58496de61dd9d571a06d9 (diff) | |
download | freebsd-ports-gnome-1ed24093e8cb16bbf4264ce22714a5c907150fc3.tar.gz freebsd-ports-gnome-1ed24093e8cb16bbf4264ce22714a5c907150fc3.tar.zst freebsd-ports-gnome-1ed24093e8cb16bbf4264ce22714a5c907150fc3.zip |
- add stage support
- bump PORTREVISION
- fix pkg-plist (do not try to remove mail/dovcot filders)
PR: ports/189080
Submitted by: ohauer
Approved by: maintainer timeout (3 weeks)
Diffstat (limited to 'mail/dovecot-antispam')
-rw-r--r-- | mail/dovecot-antispam/Makefile | 14 | ||||
-rw-r--r-- | mail/dovecot-antispam/pkg-plist | 3 |
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 |