mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
mail/filtermail: update to 0.8.9
Update MASTER_SITES and WWW. Fix LICENSE. Switch to DISTVERSION. Pet portfmt. Remove Makefile.in patch. Changelog: https://github.com/nondeterministic/mailfilter/releases/tag/0.8.9 PR: 277303 Approved by: submitter is maintainer
This commit is contained in:
parent
511cde0a06
commit
eb390cea31
3 changed files with 15 additions and 27 deletions
|
@ -1,17 +1,19 @@
|
||||||
PORTNAME= filtermail
|
PORTNAME= filtermail
|
||||||
PORTVERSION= 0.8.6
|
DISTVERSION= 0.8.9
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://sourceforge.net/projects/mailfilter/files/Mailfilter/
|
MASTER_SITES= https://github.com/nondeterministic/mailfilter/releases/download/${PORTVERSION}/
|
||||||
DISTNAME= mailfilter-${PORTVERSION}
|
DISTNAME= mailfilter-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= jmc-freebsd2@milibyte.co.uk
|
MAINTAINER= jmc-freebsd2@milibyte.co.uk
|
||||||
COMMENT= Filter mail on a POP3 server: saves downloading spam
|
COMMENT= Filter mail on a POP3 server: saves downloading spam
|
||||||
WWW= http://mailfilter.sourceforge.net
|
WWW= https://github.com/nondeterministic/mailfilter/
|
||||||
|
|
||||||
LICENSE= GPLv3
|
LICENSE= GPLv2
|
||||||
|
|
||||||
USES= bison gmake localbase:ldflags ssl
|
USES= bison gmake localbase:ldflags ssl
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
|
MAKE_JOBS_UNSAFE= yes
|
||||||
|
|
||||||
# This port is filtermail, but the author called it mailfilter. To avoid a
|
# This port is filtermail, but the author called it mailfilter. To avoid a
|
||||||
# clash with another port called mailfilter, we change all files
|
# clash with another port called mailfilter, we change all files
|
||||||
|
@ -20,23 +22,20 @@ USES= bison gmake localbase:ldflags ssl
|
||||||
|
|
||||||
EXTRACT_CMD= ${GZIP_CMD}
|
EXTRACT_CMD= ${GZIP_CMD}
|
||||||
EXTRACT_BEFORE_ARGS= -dc
|
EXTRACT_BEFORE_ARGS= -dc
|
||||||
EXTRACT_AFTER_ARGS= | ${SED} 's/[mM][aA][iI][lL][fF][iI][lL][tT][eE][rR]/filtermail/g' | ${TAR} -xf -
|
EXTRACT_AFTER_ARGS= | ${SED} 's/[mM][aA][iI][lL][fF][iI][lL][tT][eE][rR]/filtermail/g' \
|
||||||
|
| ${TAR} -xf -
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
|
||||||
MAKE_JOBS_UNSAFE= yes
|
|
||||||
|
|
||||||
PLIST_FILES= bin/${PORTNAME} \
|
PLIST_FILES= bin/${PORTNAME} \
|
||||||
share/man/man1/${PORTNAME}.1.gz \
|
share/man/man1/${PORTNAME}.1.gz \
|
||||||
share/man/man5/${PORTNAME}ex.5.gz \
|
share/man/man5/${PORTNAME}ex.5.gz \
|
||||||
share/man/man5/${PORTNAME}rc.5.gz
|
share/man/man5/${PORTNAME}rc.5.gz
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -e 's|filtermail.sourceforge|mailfilter.sourceforge|g' ${WRKSRC}/README
|
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
@${RM} ${WRKSRC}/src/getopt.h
|
@${RM} ${WRKSRC}/src/getopt.h
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e 's|filtermail.sourceforge|mailfilter.sourceforge|g' ${WRKSRC}/README
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1593601356
|
TIMESTAMP = 1707843298
|
||||||
SHA256 (mailfilter-0.8.6.tar.gz) = f4e6b94996e95b7d45cec9fadee8fc99a6832c42dcfd86e2a1fd821deaf3069c
|
SHA256 (mailfilter-0.8.9.tar.gz) = 1b14abd73a1026daa9a0246cf16dd3e11c2c03249bb6fa1da2d672e6c4c903be
|
||||||
SIZE (mailfilter-0.8.6.tar.gz) = 471479
|
SIZE (mailfilter-0.8.9.tar.gz) = 573811
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- src/Makefile.in.orig 2016-10-25 18:20:29 UTC
|
|
||||||
+++ src/Makefile.in
|
|
||||||
@@ -424,8 +424,6 @@ distclean-compile:
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/apop.Po@am__quote@
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/feedback.Po@am__quote@
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter.Po@am__quote@
|
|
||||||
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
|
|
||||||
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/header.Po@am__quote@
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imap.Po@am__quote@
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filtermail.Po@am__quote@
|
|
Loading…
Add table
Reference in a new issue