freebsd-ports/news/cleanfeed/Makefile
Stefan Eßer 986beaaabc Move more WWW entries from pkg-descr files into Makefiles
The WWW: lines in the pkg-descr files of these ports where not at the
end of those files and have been missed in prior conversion runs.

Approved by:	portmgr (implicit)
2022-09-08 17:43:21 +02:00

48 lines
1.3 KiB
Makefile

PORTNAME= cleanfeed
DISTVERSION= 20200402
CATEGORIES= news
USE_GITHUB= yes
GH_ACCOUNT= crooks
GH_TAGNAME= dd177d4a3b6ea2e538da17bbb2a74772cea4a49a
MAINTAINER= kbowling@FreeBSD.org
COMMENT= Spam filter for Usenet news servers
WWW= http://www.exit109.com/~jeremy/news/cleanfeed.html
FLAVORS= inn inncurrent
FLAVOR?= ${FLAVORS:[1]}
inn_CONFLICTS_INSTALL= cleanfeed-current
inn_RUN_DEPENDS= ${LOCALBASE}/news/bin/innd:news/inn
inncurrent_PKGNAMESUFFIX= -current
inncurrent_CONFLICTS_INSTALL= cleanfeed
inncurrent_RUN_DEPENDS= ${LOCALBASE}/news/bin/innd:news/inn-current
NO_ARCH= yes
NO_BUILD= yes
USES= perl5
BINOWN= news
BINGRP= news
SHAREOWN= news
SHAREGRP= news
INSTALL+= -b
PKGDEINSTALL= ${PKGINSTALL}
post-patch:
@${REINPLACE_CMD} -e "/debug_batch_directory/s:'.*':'/var/log/cleanfeed':" ${WRKSRC}/samples/cleanfeed.local
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/news/cleanfeed/etc
.for f in bad_adult_paths bad_body bad_cancel_paths bad_from bad_groups \
bad_hosts bad_paths bad_subject bad_url
@${INSTALL_DATA} ${WRKSRC}/samples/${f} ${STAGEDIR}${PREFIX}/news/cleanfeed/etc
.endfor
@${INSTALL_DATA} ${WRKSRC}/samples/cleanfeed.local \
${STAGEDIR}${PREFIX}/news/cleanfeed/etc/cleanfeed.local.sample
@${MKDIR} ${STAGEDIR}${PREFIX}/news/bin/filter
@${INSTALL_DATA} ${WRKSRC}/cleanfeed ${STAGEDIR}${PREFIX}/news/bin/filter
.include <bsd.port.mk>