svn commit: r354440 - head/mail/dovecot-antispam

Olli Hauer ohauer at FreeBSD.org
Sun May 18 17:07:42 UTC 2014


Author: ohauer
Date: Sun May 18 17:07:41 2014
New Revision: 354440
URL: http://svnweb.freebsd.org/changeset/ports/354440
QAT: https://qat.redports.org/buildarchive/r354440/

Log:
  - 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)

Modified:
  head/mail/dovecot-antispam/Makefile
  head/mail/dovecot-antispam/pkg-plist

Modified: head/mail/dovecot-antispam/Makefile
==============================================================================
--- head/mail/dovecot-antispam/Makefile	Sun May 18 17:05:12 2014	(r354439)
+++ head/mail/dovecot-antispam/Makefile	Sun May 18 17:07:41 2014	(r354440)
@@ -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.sipsolutio
 MAINTAINER=	dsh at 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 ad
 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>

Modified: head/mail/dovecot-antispam/pkg-plist
==============================================================================
--- head/mail/dovecot-antispam/pkg-plist	Sun May 18 17:05:12 2014	(r354439)
+++ head/mail/dovecot-antispam/pkg-plist	Sun May 18 17:07:41 2014	(r354440)
@@ -1,3 +1,2 @@
 lib/dovecot/imap/lib90_antispam_plugin.so
- at dirrmtry lib/dovecot/imap
- at dirrmtry lib/dovecot
+man/man7/dovecot-antispam.7.gz


More information about the svn-ports-all mailing list