freebsd-ports/security/p5-Digest-JHash/Makefile
Yen-Ming Lee 4838c3041b - unbreak on old perl
Submitted by:	leeym
Approved by:	maintainer via email
2005-12-23 18:12:05 +00:00

27 lines
591 B
Makefile

# 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= gkovesdan@t-hosting.hu
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>