ports/171281: [patch] mail/imapfilter -- update to 2.5.3
Pietro Cerutti
gahr at FreeBSD.org
Mon Sep 3 15:50:11 UTC 2012
>Number: 171281
>Category: ports
>Synopsis: [patch] mail/imapfilter -- update to 2.5.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 03 15:50:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Pietro Cerutti
>Release:
>Organization:
The FreeBSD Project
>Environment:
>Description:
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: distinfo
===================================================================
--- distinfo (revision 303599)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (imapfilter-2.2.3.tar.gz) = 7ed19d91f0e01f53d443b03de0b1c465407aad1b7c4886ef7a078896ccf63cd9
-SIZE (imapfilter-2.2.3.tar.gz) = 55503
+SHA256 (imapfilter-2.5.3.tar.gz) = a34e3e78c6d4fa32b329442873e0c3ef038056838cce3c4be98a9fbe904189c5
+SIZE (imapfilter-2.5.3.tar.gz) = 52366
Index: Makefile
===================================================================
--- Makefile (revision 303599)
+++ Makefile (working copy)
@@ -6,9 +6,8 @@
#
PORTNAME= imapfilter
-PORTVERSION= 2.2.3
+PORTVERSION= 2.5.3
CATEGORIES= mail
-MASTER_SITES= http://cloud.github.com/downloads/lefcha/${PORTNAME}/
MAINTAINER= stefan at FreeBSD.org
COMMENT= IMAP mail filtering utility
@@ -17,11 +16,14 @@
USE_LUA= 5.1
USE_OPENSSL= yes
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= -d ${PREFIX} -s ${DATADIR}
CPPFLAGS+= -I${LOCALBASE}/include -I${LUA_INCDIR}
LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR}
+USE_GITHUB= yes
+GH_ACCOUNT= lefcha
+GH_TAGNAME= v${PORTVERSION}
+GH_COMMIT= 69b6501
+
MAN1= imapfilter.1
MAN5= imapfilter_config.5
PORTDOCS= LICENSE NEWS README
@@ -29,7 +31,6 @@
%%DATADIR%%/account.lua \
%%DATADIR%%/auxiliary.lua \
%%DATADIR%%/common.lua \
- %%DATADIR%%/deprecated.lua \
%%DATADIR%%/mailbox.lua \
%%DATADIR%%/message.lua \
%%DATADIR%%/options.lua \
@@ -40,12 +41,14 @@
PLIST_DIRS= %%DATADIR%% %%EXAMPLESDIR%%
post-patch:
- @${REINPLACE_CMD} -Ee \
- 's|^(incdirs=).*|\1"${CPPFLAGS}"| ; \
- s|^(libdirs=).*|\1"${LDFLAGS}"| ; \
- s|^(mycflags=).*|\1"${CFLAGS}"| ; \
- s|-llualib||' \
- ${WRKSRC}/configure
+ ${REINPLACE_CMD} -Ee ' \
+ s|^(PREFIX =).*|\1${PREFIX}|; \
+ s|^(MYCFLAGS =).*|\1${CPPFLAGS}|; \
+ s|^(MYLDFLAGS =).*|\1${LDFLAGS}|; \
+ s|^(BINDIR =).*|\1${PREFIX}/bin|; \
+ s|^(SHAREDIR =).*|\1${DATADIR}|; \
+ s|^(MANDIR =).*|\1${MANPREFIX}/man|' \
+ ${WRKSRC}/src/Makefile
post-install:
${STRIP_CMD} ${PREFIX}/bin/imapfilter
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list