aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Digest-DMAC/Makefile
blob: c8e4216025c8b5ada068991c4efc699a7c4252cd (plain) (blame)
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
# Ports collection Makefile for:    p5-Digest-DMAC
# Date created:             17 Dec 2005
# Whom:                 Gabor Kovesdan
# $FreeBSD$

PORTNAME=   Digest-DMAC
PORTVERSION=    1.1.4
CATEGORIES= security perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Digest
PKGNAMEPREFIX=  p5-

MAINTAINER= gabor@FreeBSD.org
COMMENT=    Perl5 interface to DMAC Double Message-Digest Algorithms

BUILD_DEPENDS=  ${SITE_PERL}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC \
        ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=   Digest::DMAC.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
post-patch:
    ${PERL} -pi -e '$$_ = "" if m{warnings}' ${WRKSRC}/DMAC.pm ${WRKSRC}/t/*.t
.endif

.include <bsd.port.post.mk>