blob: 3e73c2036fafb0278137472611b66b047b18a7d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.19 2006/04/06 06:22:19 reed Exp $
DISTNAME= Mail-ClamAV-0.17
PKGNAME= p5-${DISTNAME}
PKGREVISION= 2
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Perl5 module for mail/clamav virus scanner
DEPENDS+= p5-Inline>=0.40:../../devel/p5-Inline
# this version needs clamav>=0.80
BUILDLINK_API_DEPENDS.clamav+= clamav>=0.80
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"
|