diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-02-11 09:20:44 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-02-11 09:20:44 +0000 |
commit | d514b001a324038cfc49178c7deca1f256ee403c (patch) | |
tree | a70552eb8d43f4c82d060df29bef62bfea284eef /news/cleanfeed/Makefile | |
parent | - Update to version 0.8.2 (diff) |
SIZEify distinfo
Digest::MD5 is included in perl-5.8, so mark it as a conditional dependency.
Notes
Notes:
svn path=/head/; revision=100652
Diffstat (limited to 'news/cleanfeed/Makefile')
-rw-r--r-- | news/cleanfeed/Makefile | 11 |
1 files changed, 8 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> |