Update to 2.5.3.

PR:		171281
Submitted by:	gahr
This commit is contained in:
Stefan Walter 2012-09-08 20:07:48 +00:00
parent 0e69db8465
commit 7762e53d93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303926
2 changed files with 16 additions and 13 deletions

View file

@ -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@FreeBSD.org
COMMENT= IMAP mail filtering utility
@ -17,11 +16,14 @@ LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
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 @@ PLIST_FILES= bin/imapfilter \
%%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_FILES= bin/imapfilter \
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

View file

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