freebsd-ports/news/cleanfeed/Makefile
Yen-Ming Lee 29feca8434 apply SITE_PERL
add news/bin/filter/filter_innd.pl into pkg-plist

Noticed by:	kris and bento
2003-06-11 06:54:43 +00:00

37 lines
965 B
Makefile

# New ports collection makefile for: cleanfeed
# Date created: 09 October 2000
# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= cleanfeed
PORTVERSION= 20020501
CATEGORIES= news
MASTER_SITES= http://www.bofh.it/~md/cleanfeed/
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
NO_BUILD= yes
BINOWN= news
BINGRP= news
SHAREOWN= news
SHAREGRP= news
USE_REINPLACE= yes
INSTALL+= -b
post-patch:
@${REINPLACE_CMD} -e 's,/news,${PREFIX}/news,g' ${WRKSRC}/cleanfeed*
do-install:
.for file in bad_adult_paths bad_cancel_paths bad_hosts bad_paths cleanfeed cleanfeed.local.sample
@${INSTALL_DATA} ${WRKSRC}/${file} ${LOCALBASE}/news/bin/filter
.endfor
@cd ${LOCALBASE}/news/bin/filter; ${LN} -f cleanfeed filter_innd.pl
.include <bsd.port.mk>