pkgsrc/mail/p5-Mail-ClamAV/Makefile
he b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00

44 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2008/10/19 19:18:12 he Exp $
DISTNAME= Mail-ClamAV-0.22
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Mail-ClamAV/
COMMENT= Perl5 module for mail/clamav virus scanner
DEPENDS+= p5-Inline>=0.40:../../devel/p5-Inline
# this version needs clamav>=0.90
BUILDLINK_API_DEPENDS.clamav+= clamav>=0.90
PERL5_PACKLIST= auto/Mail/ClamAV/.packlist
PTHREAD_OPTS+= require
PKG_OPTIONS_VAR= PKG_OPTIONS.clamav
PKG_SUPPORTED_OPTIONS= curl
PKG_SUGGESTED_OPTIONS= curl
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcurl)
. include "../../www/curl/buildlink3.mk"
.endif
# avoid having PERL5_SITELIB, PERL5_SITEARCH and PERL5_ARCHLIB set in
# the environment, which confuses the 'install' target of modules
# which use Inline, such as this one.
#
# XXX do these environment variables really need to be set in targets
# XXX other than 'install'?
do-build:
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_TARGET}
.include "../../lang/perl5/module.mk"
.include "../../mail/clamav/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"