Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2013 13:28:00 +0000 (UTC)
From:      Stefan Walter <stefan@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332612 - head/mail/imapfilter
Message-ID:  <201311031328.rA3DS0Pc080779@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stefan
Date: Sun Nov  3 13:28:00 2013
New Revision: 332612
URL: http://svnweb.freebsd.org/changeset/ports/332612

Log:
  - Update to 2.5.6.
  - Add license info.
  - Support staging.

Modified:
  head/mail/imapfilter/Makefile
  head/mail/imapfilter/distinfo

Modified: head/mail/imapfilter/Makefile
==============================================================================
--- head/mail/imapfilter/Makefile	Sun Nov  3 12:56:34 2013	(r332611)
+++ head/mail/imapfilter/Makefile	Sun Nov  3 13:28:00 2013	(r332612)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	imapfilter
-PORTVERSION=	2.5.5
+PORTVERSION=	2.5.6
 #PORTREVISION=	0
 CATEGORIES=	mail
 MASTER_SITES=	http://www.gegenunendlich.de/distfiles/ \
@@ -11,6 +11,8 @@ MASTER_SITES=	http://www.gegenunendlich.
 MAINTAINER=	stefan@FreeBSD.org
 COMMENT=	IMAP mail filtering utility
 
+LICENSE=	MIT
+
 LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
 
 USE_LUA=	5.1
@@ -22,12 +24,12 @@ LDFLAGS+=	-L${LOCALBASE}/lib -L${LUA_LIB
 USE_GITHUB=	yes
 GH_ACCOUNT=	lefcha
 GH_TAGNAME=	v${PORTVERSION}
-GH_COMMIT=	ef03d60
+GH_COMMIT=	e3c8279
 
-MAN1=		imapfilter.1
-MAN5=		imapfilter_config.5
 PORTDOCS=	LICENSE NEWS README
 PLIST_FILES=	bin/imapfilter \
+		man/man1/imapfilter.1.gz \
+		man/man5/imapfilter_config.5.gz \
 		%%DATADIR%%/account.lua \
 		%%DATADIR%%/auxiliary.lua \
 		%%DATADIR%%/common.lua \
@@ -40,7 +42,8 @@ PLIST_FILES=	bin/imapfilter \
 		%%EXAMPLESDIR%%/extend.lua
 PLIST_DIRS=	%%DATADIR%% %%EXAMPLESDIR%%
 
-NO_STAGE=	yes
+.include <bsd.port.pre.mk>
+
 post-patch:
 	${REINPLACE_CMD} -Ee ' \
 	    s|^(PREFIX =).*|\1${PREFIX}|; \
@@ -52,14 +55,14 @@ post-patch:
 	    ${WRKSRC}/src/Makefile
 
 post-install:
-	${STRIP_CMD} ${PREFIX}/bin/imapfilter
-	@${MKDIR} ${DATADIR} ${EXAMPLESDIR}
+	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/imapfilter
+	@${MKDIR} ${STAGEDIR}/${DATADIR} ${STAGEDIR}/${EXAMPLESDIR}
 	cd ${WRKSRC}/samples && \
 		${INSTALL_DATA} config.lua extend.lua \
-			${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+			${STAGEDIR}/${EXAMPLESDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}/${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}/${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/mail/imapfilter/distinfo
==============================================================================
--- head/mail/imapfilter/distinfo	Sun Nov  3 12:56:34 2013	(r332611)
+++ head/mail/imapfilter/distinfo	Sun Nov  3 13:28:00 2013	(r332612)
@@ -1,2 +1,2 @@
-SHA256 (imapfilter-2.5.5.tar.gz) = 51468a5b0976341831acbe857866e4865df6ee90080e2dda2640dff640652a5d
-SIZE (imapfilter-2.5.5.tar.gz) = 53104
+SHA256 (imapfilter-2.5.6.tar.gz) = 616c7d0bf2768cbbcd699992d515d2d4acd0b28bb97975ba01a4bc402b0dbb68
+SIZE (imapfilter-2.5.6.tar.gz) = 53599



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311031328.rA3DS0Pc080779>