1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/security/p5-Digest-Elf/Makefile
2005-12-23 17:57:30 +00:00

29 lines
647 B
Makefile

# Ports collection Makefile for: p5-Digest-Elf
# Date created: 17 Dec 2005
# Whom: Gabor Kovesdan
# $FreeBSD$
PORTNAME= Digest-Elf
PORTVERSION= 1.4
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Digest
PKGNAMEPREFIX= p5-
MAINTAINER= gkovesdan@t-hosting.hu
COMMENT= Perl extension for ElfHash hash algorithm
PERL_CONFIGURE= yes
MAN3= Digest::Elf.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}/Elf.pm
${PERL} -pi -e '$$_="" if m{5.006|warnings}' ${WRKSRC}/Elf.pm
.endif
.include <bsd.port.post.mk>