diff options
Diffstat (limited to 'news/cleanfeed')
-rw-r--r-- | news/cleanfeed/Makefile | 11 | ||||
-rw-r--r-- | news/cleanfeed/distinfo | 1 |
2 files changed, 9 insertions, 3 deletions
diff --git a/news/cleanfeed/Makefile b/news/cleanfeed/Makefile index 56679823909b..7520d02719a1 100644 --- a/news/cleanfeed/Makefile +++ b/news/cleanfeed/Makefile @@ -14,8 +14,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= leeym@FreeBSD.org COMMENT= Spam filter for Usenet news servers -RUN_DEPENDS= ${LOCALBASE}/news/bin/innd:${PORTSDIR}/news/inn \ - ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 +RUN_DEPENDS= ${LOCALBASE}/news/bin/innd:${PORTSDIR}/news/inn NO_BUILD= yes BINOWN= news @@ -25,6 +24,12 @@ SHAREGRP= news USE_REINPLACE= yes INSTALL+= -b +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 +.endif + post-patch: @${REINPLACE_CMD} -e 's,/news,${PREFIX}/news,g' ${WRKSRC}/cleanfeed* @@ -34,4 +39,4 @@ do-install: .endfor @cd ${LOCALBASE}/news/bin/filter; ${LN} -f cleanfeed filter_innd.pl -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/news/cleanfeed/distinfo b/news/cleanfeed/distinfo index fe3a9cc8122a..60c69bcf01f8 100644 --- a/news/cleanfeed/distinfo +++ b/news/cleanfeed/distinfo @@ -1 +1,2 @@ MD5 (cleanfeed-20020501.tgz) = 8535cc55d63a1932a447d09829b6aa97 +SIZE (cleanfeed-20020501.tgz) = 31966 |