2001-12-12 20:59:00 +01:00
|
|
|
# New ports collection makefile for: razor-agents
|
|
|
|
# Date created: 29 November 2001
|
|
|
|
# Whom: Yen-Ming Lee <leeym@leeym.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= razor-agents
|
2002-10-18 08:16:23 +02:00
|
|
|
PORTVERSION= 2.20
|
2001-12-12 20:59:00 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= razor
|
|
|
|
|
2002-08-19 10:01:34 +02:00
|
|
|
MAINTAINER= leeym@FreeBSD.org
|
2001-12-12 20:59:00 +01:00
|
|
|
|
2002-02-28 10:03:58 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS \
|
2001-12-12 20:59:00 +01:00
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
|
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
|
2002-08-16 05:58:53 +02:00
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/Nilsimsa.pm:${PORTSDIR}/security/p5-Digest-Nilsimsa \
|
2002-08-16 08:04:11 +02:00
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI/Escape.pm:${PORTSDIR}/net/p5-URI
|
2002-02-28 10:03:58 +01:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2001-12-12 20:59:00 +01:00
|
|
|
|
2002-10-18 08:16:23 +02:00
|
|
|
.if exists(/usr/local/lib/perl5/${PERL_VER}/Test/More.pm)
|
|
|
|
# Test::Simple is default module in perl-5.8.0 or above
|
|
|
|
.else
|
|
|
|
TEST_MORE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
|
|
|
|
BUILD_DEPENDS+= ${TEST_MORE}
|
|
|
|
.endif
|
|
|
|
|
2001-12-12 20:59:00 +01:00
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
2002-08-16 05:58:53 +02:00
|
|
|
MAN1= razor-revoke.1 razor-admin.1 razor-report.1 razor-check.1
|
|
|
|
MAN3= Razor2::Errorhandler.3
|
|
|
|
MAN5= razor-agents.5 razor-whitelist.5 razor-agent.conf.5
|
2002-01-17 07:51:12 +01:00
|
|
|
|
2002-08-16 05:58:53 +02:00
|
|
|
post-install:
|
|
|
|
@${PREFIX}/bin/razor-client
|
2001-12-12 20:59:00 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|