1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/security/p5-Digest-MD5/Makefile
2008-05-26 15:32:09 +00:00

31 lines
656 B
Makefile

# New ports collection makefile for: p5-Digest-MD5
# Date created: 1999/04/07
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= Digest-MD5
PORTVERSION= 2.36
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 interface to the MD5 algorithm
BUILD_DEPENDS= ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Digest::MD5.3
.include <bsd.port.pre.mk>
post-patch:
${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/MD5.pm
${PERL} -pi -e '$$_ = "" if m{5.006}' ${WRKSRC}/Makefile.PL
.include <bsd.port.post.mk>