1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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)
This commit is contained in:
Olli Hauer 2014-05-18 17:07:41 +00:00
parent f5e93ef638
commit d54e445665
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354440
2 changed files with 8 additions and 9 deletions

View File

@ -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>

View File

@ -1,3 +1,2 @@
lib/dovecot/imap/lib90_antispam_plugin.so
@dirrmtry lib/dovecot/imap
@dirrmtry lib/dovecot
man/man7/dovecot-antispam.7.gz