summaryrefslogtreecommitdiff
path: root/security/p5-Digest-JHash/Makefile
blob: 30a7f9e17b2e557f27df75f0b75a1c70b61ebee2 (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
# Ports collection Makefile for:	p5-Digest-JHash
# Date created:				17 Dec 2005
# Whom:					Gabor Kovesdan
# $FreeBSD$

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

MAINTAINER=	gabor@FreeBSD.org
COMMENT=	Perl extension for JHash hash algorithm

PERL_CONFIGURE=	yes

MAN3=	Digest::JHash.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
post-patch:
	${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/JHash.pm
.endif

.include <bsd.port.post.mk>