- Updating packages for p5 module of Mail::ClamAV from 0.22 to 0.29 - Adjusting dependencies Upstream changes: 0.29 Wed Apr 29 18:02:17 CDT 2009 - Makefile.PL dies with 'No support for OS' when OS is unsupported, per recommended solution at http://wiki.cpantesters.org/wiki/CPANAuthorNotes 0.28 Mon Apr 27 03:18:53 CDT 2009 - META.yml contained wrong version number (0.26). 0.27 Mon Apr 27 03:13:03 CDT 2009 - &main returns zero on success of WriteMakefile(). 0.26 Fri Apr 24 15:11:22 CDT 2009 - Added 'no_index' for directory Inline to META.yml to hide from indexer. 0.25 Fri Apr 24 14:11:10 CDT 2009 - Added 'provides' mapping to META.yml to conceal private copy of Inline::MakeMaker from indexers. FAILED. 0.24 Wed Apr 22 13:33:06 CDT 2009 - Update to work with clamav-0.95.1 API. clamav libs version 0.95.1 or greater required. - Modified Makefile.PL to exit zero instead of dying if clamav version too old. 0.23 Wed Sep 3 20:33:40 EDT 2008 - removed CL_EFSYNC CL_ELOCKDB to work with clamav-0.94
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2009/05/01 09:03:24 sno Exp $
|
|
|
|
DISTNAME= Mail-ClamAV-0.29
|
|
PKGNAME= p5-${DISTNAME}
|
|
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.44:../../devel/p5-Inline
|
|
|
|
# this version needs clamav>=0.90
|
|
BUILDLINK_API_DEPENDS.clamav+= clamav>=0.95.1
|
|
|
|
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"
|