2017-06-05 16:23:47 +02:00
|
|
|
# $NetBSD: Makefile,v 1.50 2017/06/05 14:24:06 ryoon Exp $
|
2003-12-08 16:39:57 +01:00
|
|
|
|
2009-05-01 11:03:24 +02:00
|
|
|
DISTNAME= Mail-ClamAV-0.29
|
2003-12-08 16:39:57 +01:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2017-06-05 16:23:47 +02:00
|
|
|
PKGREVISION= 21
|
2003-12-08 16:39:57 +01:00
|
|
|
CATEGORIES= mail perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-02-21 23:10:47 +01:00
|
|
|
HOMEPAGE= http://search.cpan.org/dist/Mail-ClamAV/
|
2010-12-24 08:14:22 +01:00
|
|
|
COMMENT= Perl5 module for security/clamav virus scanner
|
2009-07-07 18:09:45 +02:00
|
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
|
2015-04-03 03:10:52 +02:00
|
|
|
DEPENDS+= p5-Inline-C>=0.75:../../devel/p5-Inline-C
|
2003-12-08 16:39:57 +01:00
|
|
|
|
2007-02-21 23:10:47 +01:00
|
|
|
# this version needs clamav>=0.90
|
2009-05-01 11:03:24 +02:00
|
|
|
BUILDLINK_API_DEPENDS.clamav+= clamav>=0.95.1
|
2004-10-20 08:29:50 +02:00
|
|
|
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/Mail/ClamAV/.packlist
|
2004-11-06 20:16:44 +01:00
|
|
|
PTHREAD_OPTS+= require
|
2003-12-08 16:39:57 +01:00
|
|
|
|
2013-05-14 18:14:55 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Mail-ClamAV
|
2005-05-31 12:01:36 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= curl
|
|
|
|
PKG_SUGGESTED_OPTIONS= curl
|
2005-02-17 05:11:52 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mcurl)
|
|
|
|
. include "../../www/curl/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
2003-12-08 16:39:57 +01:00
|
|
|
# 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} && \
|
2004-12-03 16:14:50 +01:00
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_TARGET}
|
2003-12-08 16:39:57 +01:00
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
2010-12-24 08:14:22 +01:00
|
|
|
.include "../../security/clamav/buildlink3.mk"
|
2004-11-06 20:16:44 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2003-12-08 16:39:57 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|