git: 746d31282e40 - main - mail/imapfilter: Update version 2.7.5=>2.7.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Oct 2022 16:04:56 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=746d31282e4060891db6c981f42d6a5789ad49d7 commit 746d31282e4060891db6c981f42d6a5789ad49d7 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-10-08 15:59:16 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2022-10-08 16:04:37 +0000 mail/imapfilter: Update version 2.7.5=>2.7.6 - Pet portclippy Relnotes: https://github.com/lefcha/imapfilter/releases/tag/v2.7.6 --- mail/imapfilter/Makefile | 25 ++++++++++++++----------- mail/imapfilter/distinfo | 6 +++--- mail/imapfilter/pkg-plist | 4 ++-- 3 files changed, 19 insertions(+), 16 deletions(-) diff --git a/mail/imapfilter/Makefile b/mail/imapfilter/Makefile index 2b7df0367a11..8bd9a9b83d5f 100644 --- a/mail/imapfilter/Makefile +++ b/mail/imapfilter/Makefile @@ -1,5 +1,5 @@ PORTNAME= imapfilter -PORTVERSION= 2.7.5 +PORTVERSION= 2.7.6 DISTVERSIONPREFIX= v CATEGORIES= mail @@ -11,17 +11,11 @@ LICENSE= MIT LIB_DEPENDS= libpcre2-8.so:devel/pcre2 -USES= cpe lua ssl - +USES= cpe localbase:ldflags lua ssl CPE_VENDOR= imapfilter_project - -CPPFLAGS+= -I${LOCALBASE}/include -I${LUA_INCDIR} -LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR} - USE_GITHUB= yes GH_ACCOUNT= lefcha -PORTDOCS= LICENSE NEWS README MAKE_ARGS= PREFIX=${PREFIX} \ MYCFLAGS="${CPPFLAGS}" \ MYLDFLAGS="${LDFLAGS}" \ @@ -30,18 +24,27 @@ MAKE_ARGS= PREFIX=${PREFIX} \ MANDIR=${MANPREFIX}/man \ LIBLUA=-llua-${LUA_VER} -OPTIONS_DEFINE= DOCS +CPPFLAGS+= -I${LUA_INCDIR} + +PORTDOCS= LICENSE NEWS README + +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_SUB= yes post-patch: @${REINPLACE_CMD} 's|-ldl ||' ${WRKSRC}/src/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/imapfilter + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}/${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}/${DOCSDIR} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}/${DATADIR} ${STAGEDIR}/${EXAMPLESDIR} cd ${WRKSRC}/samples && \ ${INSTALL_DATA} config.lua extend.lua \ ${STAGEDIR}/${EXAMPLESDIR} - @${MKDIR} ${STAGEDIR}/${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}/${DOCSDIR} .include <bsd.port.mk> diff --git a/mail/imapfilter/distinfo b/mail/imapfilter/distinfo index 1a858bbd2e03..0ab02ec3a9db 100644 --- a/mail/imapfilter/distinfo +++ b/mail/imapfilter/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1611708878 -SHA256 (lefcha-imapfilter-v2.7.5_GH0.tar.gz) = ab19f840712e6951e51c29e44c43b3b2fa42e93693f98f8969cc763a4fad56bf -SIZE (lefcha-imapfilter-v2.7.5_GH0.tar.gz) = 59441 +TIMESTAMP = 1665243687 +SHA256 (lefcha-imapfilter-v2.7.6_GH0.tar.gz) = e9063ca210cefe6c47771b400c9f3620bd7a5dce2dfd4d46aeaa86f4cac1d87d +SIZE (lefcha-imapfilter-v2.7.6_GH0.tar.gz) = 58644 diff --git a/mail/imapfilter/pkg-plist b/mail/imapfilter/pkg-plist index cccc0f1e7767..dea0699eca35 100644 --- a/mail/imapfilter/pkg-plist +++ b/mail/imapfilter/pkg-plist @@ -9,5 +9,5 @@ man/man5/imapfilter_config.5.gz %%DATADIR%%/options.lua %%DATADIR%%/regex.lua %%DATADIR%%/set.lua -%%EXAMPLESDIR%%/config.lua -%%EXAMPLESDIR%%/extend.lua +%%EXAMPLES%%%%EXAMPLESDIR%%/config.lua +%%EXAMPLES%%%%EXAMPLESDIR%%/extend.lua