mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
4af4e8e923
PR: 98202 Submitted by: Nils Vogels <nivo+kw+ports.bfa274___is-root.com>
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# New ports collection makefile for: razor-agents
|
|
# Date created: 29 November 2001
|
|
# Whom: Yen-Ming Lee <leeym@leeym.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= razor-agents
|
|
PORTVERSION= 2.82
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= razor
|
|
|
|
MAINTAINER= nivo+kw+ports.bfa274@is-root.com
|
|
COMMENT= A distributed, collaborative, spam detection and filtering network
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
|
|
${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
|
|
${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAKE_ARGS+= PERLPREFIX=${PREFIX}
|
|
USE_BZIP2= yes
|
|
|
|
MAN1= razor-revoke.1 razor-admin.1 razor-report.1 razor-check.1
|
|
MAN3= Razor2::Errorhandler.3 Razor2::Preproc::deHTMLxs.3 \
|
|
Razor2::Syslog.3
|
|
MAN5= razor-agents.5 razor-whitelist.5 razor-agent.conf.5
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e 's|/etc/razor|${PREFIX}/etc|g'
|
|
@${PERL} -pi -e 's,share/man,man,g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500800
|
|
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|