diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2004-10-15 06:23:49 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2004-10-15 06:23:49 +0800 |
commit | 6229703db2d62224db286f498f95d72480e585e8 (patch) | |
tree | 9ea6c4cbfca12ad0a44a6ee78d9af54297f49e00 /security | |
parent | b1f7fa5b4639f4f467b9c73f63b9abef28100944 (diff) | |
download | freebsd-ports-gnome-6229703db2d62224db286f498f95d72480e585e8.tar.gz freebsd-ports-gnome-6229703db2d62224db286f498f95d72480e585e8.tar.zst freebsd-ports-gnome-6229703db2d62224db286f498f95d72480e585e8.zip |
- Reduce dependency with perl-5.8.
- Remove bogus space.
Diffstat (limited to 'security')
-rw-r--r-- | security/amavisd/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/security/amavisd/Makefile b/security/amavisd/Makefile index bb103655900f..2d1c62a4e582 100644 --- a/security/amavisd/Makefile +++ b/security/amavisd/Makefile @@ -7,7 +7,7 @@ PORTNAME= amavisd PORTVERSION= 0.1 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -24,15 +24,13 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/arc:${PORTSDIR}/archivers/arc \ ${LOCALBASE}/bin/zoo:${PORTSDIR}/archivers/zoo \ ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ ${SITE_PERL}/${PERL_ARCH}/Convert/UUlib.pm:${PORTSDIR}/converters/p5-Convert-UUlib \ - ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ ${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \ ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \ ${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \ ${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \ ${SITE_PERL}/IO/AtomicFile.pm:${PORTSDIR}/devel/p5-IO-stringy \ ${SITE_PERL}/MIME/Body.pm:${PORTSDIR}/mail/p5-MIME-Tools \ - ${SITE_PERL}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools \ - ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net + ${SITE_PERL}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools RUN_DEPENDS= ${BUILD_DEPENDS} GNU_CONFIGURE= yes @@ -62,7 +60,7 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" \ RC_SCRIPTS_SUB= AMAVISUSER=${AMAVISUSER} \ PREFIX=${PREFIX} \ - PERL=${PERL} \ + PERL=${PERL} \ RC_SUBR=${RC_SUBR} PLIST_SUB= SBIN_AMAVIS=${SBIN_AMAVIS} \ MILTER=${MILTER} @@ -124,4 +122,11 @@ post-install: @${ECHO_MSG} "===============================================================================" .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS+= ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \ + ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 +.endif + +.include <bsd.port.post.mk> |