[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mail / p5-Mail-ClamAV

File: [cvs.NetBSD.org] / pkgsrc / mail / p5-Mail-ClamAV / Makefile (download)

Revision 1.48, Sun Jan 1 16:06:26 2017 UTC (2 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.47: +2 -2 lines

Revbump after boost update

# $NetBSD: Makefile,v 1.48 2017/01/01 16:06:26 adam Exp $

DISTNAME=	Mail-ClamAV-0.29
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	19
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 security/clamav virus scanner
LICENSE=	${PERL5_LICENSE}

DEPENDS+=	p5-Inline-C>=0.75:../../devel/p5-Inline-C

# 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.p5-Mail-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 "../../security/clamav/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"